ecdh: Make generator_basepoint test depend on global iteration count
Co-authored-by: Elliott Jin <elliott.jin@gmail.com>
This commit is contained in:
parent
c881dd49bd
commit
3531a43b5b
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue