Remove unit test workaround for qemu (#743)

This commit is contained in:
Erik Olof Gunnar Andersson 2025-03-08 23:15:59 +01:00 committed by GitHub
parent c267789dbd
commit 6e1205f30a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 7 deletions

View File

@ -222,12 +222,7 @@ void midstate_sha256_bin(const uint8_t *data, const size_t data_len, uint8_t *de
mbedtls_sha256_update(&midstate, data, 64);
// memcpy(dest, midstate.state, 32);
#ifdef CONFIG_MBEDTLS_HARDWARE_SHA
flip32bytes(dest, midstate.state);
#else
memcpy(dest, midstate.MBEDTLS_PRIVATE(state), 32);
#endif
}
void swap_endian_words(const char *hex_words, uint8_t *output)

View File

@ -1,3 +1,2 @@
CONFIG_ESP_INT_WDT=n
CONFIG_ESP_TASK_WDT=n
CONFIG_MBEDTLS_HARDWARE_SHA=n
CONFIG_ESP_TASK_WDT=n