diff options
| -rw-r--r-- | codegen.ipynb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/codegen.ipynb b/codegen.ipynb index 54fe0c9..a54b42d 100644 --- a/codegen.ipynb +++ b/codegen.ipynb @@ -94,6 +94,7 @@ "mult = Multiplication.BASE\n", "sqr = Squaring.BASE\n", "red = Reduction.BASE\n", + "inv = Inversion.GCD\n", "\n", "model = ShortWeierstrassModel()\n", "coords = model.coordinates[\"projective\"]\n", @@ -105,7 +106,7 @@ "\n", "config = DeviceConfiguration(model, coords, formulas, scalarmult, \n", "\t\t\t\t\t\t\t hash_type, mod_rand, mult, sqr, red,\n", - "\t\t\t\t\t\t\t platform, True, True, True)\n", + "\t\t\t\t\t\t\t inv, platform, True, True, True)\n", "\n", "config" ] @@ -270,7 +271,7 @@ "source": [ "config = DeviceConfiguration(model, coords, formulas, scalarmult, \n", "\t\t\t\t\t\t\t hash_type, mod_rand, mult, sqr, red,\n", - "\t\t\t\t\t\t\t Platform.HOST, True, True, True)\n", + "\t\t\t\t\t\t\t inv, Platform.HOST, True, True, True)\n", "\n", "directory, elf_name, hex_name = render(config)\n", "res = run([\"make\"], cwd=directory, capture_output=True)\n", @@ -317,21 +318,21 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", - "version": 2 + "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", - "pygments_lexer": "ipython2", - "version": "2.7.6" + "pygments_lexer": "ipython3", + "version": "3.10.8" }, "pycharm": { "stem_cell": { |
