Found by oss-fuzz
clusterfuzz-testcase-crypter-4690510954954752.bin.not.txt
0FUZZ=crypter perf record -g --call-graph dwarf ./src/test/fuzz/fuzz ./clusterfuzz-testcase-crypter-4690510954954752
1... half a minute ...
2hotspot ./perf.data
Found by oss-fuzz
clusterfuzz-testcase-crypter-4690510954954752.bin.not.txt
0FUZZ=crypter perf record -g --call-graph dwarf ./src/test/fuzz/fuzz ./clusterfuzz-testcase-crypter-4690510954954752
1... half a minute ...
2hotspot ./perf.data
My recommendation would be to limit the number of iterations to something reasonable, but still enough to cover all cases.
Agreed, I just reproduced it and it executes 9176 ones. No need for this number.
edit: besides executing 9176, it seems to call only SetKeyFromPassphrase
which is an expensive function.