fuzz: extend fuzzing coverage

This commit is contained in:
Nardi Ivan
2023-10-15 12:00:26 +02:00
committed by Ivan Nardi
parent b6179467eb
commit 16b4913be6
10 changed files with 131 additions and 5 deletions
-1
View File
@@ -37,7 +37,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
aes_e_ctx = (mbedtls_aes_context *)malloc(sizeof(mbedtls_aes_context));
aes_d_ctx = (mbedtls_aes_context *)malloc(sizeof(mbedtls_aes_context));
/* Not sure if it is really necessary... */
force_no_aesni = 0;
if(fuzzed_data.ConsumeBool())
force_no_aesni = 1;