+2020-01-25 Niels Möller <nisse@lysator.liu.se>
+
+ * examples/hogweed-benchmark.c (bench_curve_init): Pass correct
+ sizes to knuth_lfib_random. Patch contributed by Dmitry Baryshkov.
+
2020-01-15 Niels Möller <nisse@lysator.liu.se>
* Makefile.in: Replace suffix rules by pattern rules. Move .asm
case 255:
ctx->mul = curve25519_mul;
ctx->mul_g = curve25519_mul_g;
- knuth_lfib_random (&lfib, sizeof(CURVE25519_SIZE), ctx->s);
+ knuth_lfib_random (&lfib, CURVE25519_SIZE, ctx->s);
break;
case 448:
ctx->mul = curve448_mul;
ctx->mul_g = curve448_mul_g;
- knuth_lfib_random (&lfib, sizeof(CURVE448_SIZE), ctx->s);
+ knuth_lfib_random (&lfib, CURVE448_SIZE, ctx->s);
break;
default:
abort ();