From 4d969d2850210c856d1818178aad61cc28aab5c9 Mon Sep 17 00:00:00 2001 From: toddouska Date: Thu, 10 Jul 2014 11:47:05 -0700 Subject: [PATCH] reduce ntru benchmark stack use --- ctaocrypt/benchmark/benchmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctaocrypt/benchmark/benchmark.c b/ctaocrypt/benchmark/benchmark.c index 00ac9d220..b2517f084 100644 --- a/ctaocrypt/benchmark/benchmark.c +++ b/ctaocrypt/benchmark/benchmark.c @@ -1061,9 +1061,9 @@ void bench_ntruKeyGen(void) double start, total, each, milliEach; int i; - byte public_key[5951]; /* 2048 key equivalent to rsa */ + byte public_key[557]; /* 2048 key equivalent to rsa */ word16 public_key_len = sizeof(public_key); - byte private_key[5951]; + byte private_key[607]; word16 private_key_len = sizeof(private_key); DRBG_HANDLE drbg;