Commit 7ee8b5bb authored by Niels Möller's avatar Niels Möller
Browse files

hogweed-benchmark: Pass correct sizes to knuth_lfib_random.

parent d1dbba1e
2020-01-25 Niels Möller <>
* 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 <>
* Replace suffix rules by pattern rules. Move .asm
......@@ -771,12 +771,12 @@ bench_curve_init (unsigned size)
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);
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);
abort ();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment