diff options
| author | J08nY | 2025-03-24 18:23:03 +0100 |
|---|---|---|
| committer | J08nY | 2025-04-16 12:25:06 +0200 |
| commit | b51d7a41141a47be39886eb4af61ad39714eaeef (patch) | |
| tree | 15fa16e7da274d1b803a3a65128ea2b899eb9992 | |
| parent | bd8dbf4c97b915a9432d457c390a07ab5fe466e3 (diff) | |
| download | ECTester-b51d7a41141a47be39886eb4af61ad39714eaeef.tar.gz ECTester-b51d7a41141a47be39886eb4af61ad39714eaeef.tar.zst ECTester-b51d7a41141a47be39886eb4af61ad39714eaeef.zip | |
| -rw-r--r-- | epare/simulate.ipynb | 6 |
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, |
