mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Merge bitcoin/bitcoin#30725: fuzz: fix timeout in crypto_fschacha20poly1305
8dec4e1294
fuzz: fix timeout in `crypto_fschacha20poly1305` (brunoerg) Pull request description: Fixes #30505 This PR fixes a timeout in `crypto_fschacha20poly1305` by reducing the number of iterations. I left it running for a while and noticed it speeds up the target and do not impact coverage. ACKs for top commit: maflcko: lgtm ACK8dec4e1294
stratospher: ACK8dec4e1
. saw similar coverage stats (these are from different machines, saw more similar from same machine). Tree-SHA512: 66cd689f10f09cf880c1f2c77aa481336a95a7e10b655d156b2dc9cd38165670000019a6fb3775485ccb5cce248939a52a31ebd755a6befed6274cc841d21d97
This commit is contained in:
commit
128ade02e4
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ FUZZ_TARGET(crypto_fschacha20poly1305)
|
|||
// data).
|
||||
InsecureRandomContext rng(provider.ConsumeIntegral<uint64_t>());
|
||||
|
||||
LIMITED_WHILE(provider.ConsumeBool(), 10000)
|
||||
LIMITED_WHILE(provider.ConsumeBool(), 100)
|
||||
{
|
||||
// Mode:
|
||||
// - Bit 0: whether to use single-plain Encrypt/Decrypt; otherwise use a split at prefix.
|
||||
|
|
Loading…
Add table
Reference in a new issue