mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Disable wc_scrypt tests that use high memory for BENCH_EMBEDDED.
This commit is contained in:
@@ -8932,6 +8932,8 @@ int scrypt_test(void)
|
||||
if (XMEMCMP(derived, verify2, sizeof(verify2)) != 0)
|
||||
return -6003;
|
||||
|
||||
/* Don't run these test on embedded, since they use large mallocs */
|
||||
#ifndef BENCH_EMBEDDED
|
||||
ret = wc_scrypt(derived, (byte*)"pleaseletmein", 13,
|
||||
(byte*)"SodiumChloride", 14, 14, 8, 1, sizeof(verify3));
|
||||
if (ret != 0)
|
||||
@@ -8947,6 +8949,7 @@ int scrypt_test(void)
|
||||
if (XMEMCMP(derived, verify4, sizeof(verify4)) != 0)
|
||||
return -6007;
|
||||
#endif
|
||||
#endif /* !BENCH_EMBEDDED */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user