aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/templates/mult.c
diff options
context:
space:
mode:
authorJ08nY2025-10-02 14:20:32 +0200
committerJ08nY2025-10-02 14:20:32 +0200
commitbb51b7890448201679878fe7df1bb79df8e336e0 (patch)
tree6abd6c911732981d137bc15f522fe0ce616d6670 /pyecsca/codegen/templates/mult.c
parentdc1241a76f5658a481613817a71c62fbb9234250 (diff)
downloadpyecsca-codegen-bb51b7890448201679878fe7df1bb79df8e336e0.tar.gz
pyecsca-codegen-bb51b7890448201679878fe7df1bb79df8e336e0.tar.zst
pyecsca-codegen-bb51b7890448201679878fe7df1bb79df8e336e0.zip
Use bn clear functions.
Diffstat (limited to 'pyecsca/codegen/templates/mult.c')
-rw-r--r--pyecsca/codegen/templates/mult.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyecsca/codegen/templates/mult.c b/pyecsca/codegen/templates/mult.c
index 0144e36..4070952 100644
--- a/pyecsca/codegen/templates/mult.c
+++ b/pyecsca/codegen/templates/mult.c
@@ -31,6 +31,10 @@
{% include "mult_wnaf.c" %}
+{%- elif isinstance(scalarmult, WindowBoothMultiplier) -%}
+
+ {% include "mult_booth.c" %}
+
{%- elif isinstance(scalarmult, SlidingWindowMultiplier) -%}
{% include "mult_sliding_w.c" %}