ecdh: Make generator_basepoint test depend on global iteration count

Co-authored-by: Elliott Jin <elliott.jin@gmail.com>
This commit is contained in:
Tim Ruffing 2022-02-09 11:35:45 +01:00
parent c881dd49bd
commit 3531a43b5b
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ void test_ecdh_generator_basepoint(void) {
s_one[31] = 1;
/* Check against pubkey creation when the basepoint is the generator */
for (i = 0; i < 100; ++i) {
for (i = 0; i < 2 * count; ++i) {
secp256k1_sha256 sha;
unsigned char s_b32[32];
unsigned char output_ecdh[65];