aboutsummaryrefslogtreecommitdiff
path: root/epare/simulate.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'epare/simulate.ipynb')
-rw-r--r--epare/simulate.ipynb6
1 files changed, 4 insertions, 2 deletions
diff --git a/epare/simulate.ipynb b/epare/simulate.ipynb
index 68bf22b..67ed0e4 100644
--- a/epare/simulate.ipynb
+++ b/epare/simulate.ipynb
@@ -143,6 +143,8 @@
"category = \"secg\"\n",
"curve = \"secp256r1\"\n",
"kind = \"precomp+necessary\"\n",
+ "use_init = True\n",
+ "use_multiply = True\n",
"params = get_params(category, curve, \"projective\")\n",
"num_workers = 20\n",
"bits = params.order.bit_length()\n",
@@ -174,7 +176,7 @@
" mwc = mult.with_countermeasure(countermeasure)\n",
" pool.submit_task(mwc,\n",
" target,\n",
- " mwc, params, bits, samples, seed=chunk_id, kind=kind)\n",
+ " mwc, params, bits, samples, seed=chunk_id, kind=kind, use_init=use_init, use_multiply=use_multiply)\n",
" for mult, future in tqdm(pool.as_completed(), desc=\"Computing small scalar distributions.\", total=len(pool.tasks)):\n",
" print(f\"Got {mult}.\")\n",
" if error := future.exception():\n",
@@ -255,7 +257,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.13.1"
+ "version": "3.12.3"
}
},
"nbformat": 4,