mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
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.
This commit is contained in:
parent
d661e2b1b7
commit
f482d0e366
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ FUZZ_TARGET(crypto_aeadchacha20poly1305)
|
||||||
// data).
|
// data).
|
||||||
InsecureRandomContext rng(provider.ConsumeIntegral<uint64_t>());
|
InsecureRandomContext rng(provider.ConsumeIntegral<uint64_t>());
|
||||||
|
|
||||||
LIMITED_WHILE(provider.ConsumeBool(), 10000)
|
LIMITED_WHILE(provider.ConsumeBool(), 100)
|
||||||
{
|
{
|
||||||
// Mode:
|
// Mode:
|
||||||
// - Bit 0: whether to use single-plain Encrypt/Decrypt; otherwise use a split at prefix.
|
// - Bit 0: whether to use single-plain Encrypt/Decrypt; otherwise use a split at prefix.
|
||||||
|
|
Loading…
Add table
Reference in a new issue