From 3d5a6e492d94651a4c0379f846dcfe5089aa1a8c Mon Sep 17 00:00:00 2001 From: vojtechsu Date: Tue, 15 Jul 2025 14:35:06 +0200 Subject: Add comments to results processing --- analysis/countermeasures/results.ipynb | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'analysis') diff --git a/analysis/countermeasures/results.ipynb b/analysis/countermeasures/results.ipynb index 1bbb97e..7c81feb 100644 --- a/analysis/countermeasures/results.ipynb +++ b/analysis/countermeasures/results.ipynb @@ -131,6 +131,9 @@ "metadata": {}, "outputs": [], "source": [ + "# For some cards, multiple measurements were done (e.g., with fixed private key)\n", + "# There is an optional prefix argument to process only files with the specified prefix.\n", + "\n", "testinverse.print_ecdsa(\"N1\",\"ecdsa_fixed_11\")" ] }, @@ -204,8 +207,8 @@ "# that permit input parameters, including\n", "\n", "# ecdh: N6, N8, I1\n", - "# ecdsa: N1, N2, NN6, N8, N9, I2\n", - "# keygen: N1, N2 N6, N9, I2" + "# ecdsa: N1, N2, N6, N8, N9, I2\n", + "# keygen: N1, N2, N6, N9, I2" ] }, { @@ -311,6 +314,7 @@ "metadata": {}, "outputs": [], "source": [ + "# At first, we can approximate the bitsizes of the used masks\n", "testepsilon.recover_ecdh_plain_size(\"N10\")" ] }, @@ -321,6 +325,7 @@ "metadata": {}, "outputs": [], "source": [ + "# Second, we list the number of candidates with bitsizes in the specified range\n", "testepsilon.compute_candidates(61,65)" ] }, @@ -338,9 +343,9 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "env", "language": "python", - "name": "python3" + "name": "env" }, "language_info": { "codemirror_mode": { @@ -352,7 +357,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.13.5" + "version": "3.10.12" } }, "nbformat": 4, -- cgit v1.2.3-70-g09d2