Home
last modified time | relevance | path

Searched refs:ALIGNMENT_SIZE_BYTES (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.7.0/components/mbedtls/test_apps/main/
Dtest_aes.c856 size_t ALIGNMENT_SIZE_BYTES = 64; in aes_ctr_alignment_test() local
861 uint8_t *chipertext = heap_caps_malloc(SZ + ALIGNMENT_SIZE_BYTES, output_buf_caps); in aes_ctr_alignment_test()
862 uint8_t *plaintext = heap_caps_malloc(SZ + ALIGNMENT_SIZE_BYTES, input_buf_caps); in aes_ctr_alignment_test()
871 memset(plaintext, 0x26, SZ + ALIGNMENT_SIZE_BYTES); in aes_ctr_alignment_test()
876 for (int i = 0; i < ALIGNMENT_SIZE_BYTES; i++ ) { in aes_ctr_alignment_test()
915 size_t ALIGNMENT_SIZE_BYTES = 32; in aes_psram_one_buf_ctr_test() local
920 uint8_t *buf = heap_caps_malloc(SZ + ALIGNMENT_SIZE_BYTES, MALLOC_CAP_8BIT | MALLOC_CAP_SPIRAM); in aes_psram_one_buf_ctr_test()
926 memset(buf, 0x26, SZ + ALIGNMENT_SIZE_BYTES); in aes_psram_one_buf_ctr_test()
931 for (int i = 0; i < ALIGNMENT_SIZE_BYTES; i++ ) { in aes_psram_one_buf_ctr_test()
934 memset(buf, 0x26, SZ + ALIGNMENT_SIZE_BYTES); in aes_psram_one_buf_ctr_test()