aboutsummaryrefslogtreecommitdiff
path: root/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'analysis')
-rw-r--r--analysis/countermeasures/results.ipynb15
1 files changed, 10 insertions, 5 deletions
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,