Skip to content

Commit f482d0e

Browse files
committed
fuzz: reduce number of iterations in crypto_aeadchacha20poly1305 target
By reducing the number of iterations we improve the performance of this target and may increase coverage.
1 parent d661e2b commit f482d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fuzz/crypto_chacha20poly1305.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ FUZZ_TARGET(crypto_aeadchacha20poly1305)
3939
// data).
4040
InsecureRandomContext rng(provider.ConsumeIntegral<uint64_t>());
4141

42-
LIMITED_WHILE(provider.ConsumeBool(), 10000)
42+
LIMITED_WHILE(provider.ConsumeBool(), 100)
4343
{
4444
// Mode:
4545
// - Bit 0: whether to use single-plain Encrypt/Decrypt; otherwise use a split at prefix.

0 commit comments

Comments
 (0)