diff options
| author | J08nY | 2023-10-05 17:11:29 +0200 |
|---|---|---|
| committer | J08nY | 2023-10-05 17:11:29 +0200 |
| commit | 5752f4da62f638d2e8a713f1ac03eab2d4bc3147 (patch) | |
| tree | 954bb126b093899fbf0e21378df0b7ffe738f414 /pyecsca/codegen | |
| parent | 44e49254cdef200528205464b00701433d788a75 (diff) | |
| download | pyecsca-codegen-5752f4da62f638d2e8a713f1ac03eab2d4bc3147.tar.gz pyecsca-codegen-5752f4da62f638d2e8a713f1ac03eab2d4bc3147.tar.zst pyecsca-codegen-5752f4da62f638d2e8a713f1ac03eab2d4bc3147.zip | |
Run config under valgrind.
Diffstat (limited to 'pyecsca/codegen')
| -rw-r--r-- | pyecsca/codegen/templates/mult_sliding_w.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyecsca/codegen/templates/mult_sliding_w.c b/pyecsca/codegen/templates/mult_sliding_w.c index 7321292..1b670e9 100644 --- a/pyecsca/codegen/templates/mult_sliding_w.c +++ b/pyecsca/codegen/templates/mult_sliding_w.c @@ -20,15 +20,15 @@ static void scalar_mult_inner(bn_t *scalar, point_t *point, curve_t *curve, poin {% elif scalarmult.recoding_direction == ProcessingDirection.RTL %} wsliding_t *ws = bn_wsliding_rtl(scalar, {{ scalarmult.width }}); {% endif %} - printf("ws %p\n", ws); - printf("len = %li\n", ws->length); + //printf("ws %p\n", ws); + //printf("len = %li\n", ws->length); for (long i = 0; i < ws->length; i++) { point_dbl(q, curve, q); uint8_t val = ws->data[i]; - printf("i = %li, val = %i\n", i, val); + //printf("i = %li, val = %i\n", i, val); if (val) { - printf("adding %i\n", (val - 1) / 2); + //printf("adding %i\n", (val - 1) / 2); point_accumulate(q, points[(val - 1) / 2], curve, q); } } |
