mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'test/fix_inplace_ctr_psram_test_sw_aes' into 'master'
test(mbedtls): fix in-place AES-CTR PSRAM test on targets without AES hardware See merge request espressif/esp-idf!51921
This commit is contained in:
@@ -1952,7 +1952,11 @@ void aes_psram_one_buf_ctr_test(void)
|
||||
uint8_t nonce[16];
|
||||
uint8_t key[16];
|
||||
psa_status_t status;
|
||||
#if CONFIG_MBEDTLS_HARDWARE_AES
|
||||
size_t SZ = TEST_AES_CTR_DATA_LEN;
|
||||
#else
|
||||
size_t SZ = TEST_AES_CTR_DATA_LEN - (TEST_AES_CTR_DATA_LEN % 16);
|
||||
#endif
|
||||
size_t ALIGNMENT_SIZE_BYTES = 32;
|
||||
memset(nonce, 0x2F, 16);
|
||||
memset(key, 0x1E, 16);
|
||||
|
||||
Reference in New Issue
Block a user