Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/mbedtls/port/aes/block/
Desp_aes.c88 if (ctx->key_in_hardware != ctx->key_bytes) { in esp_aes_block()
138 ctx->key_in_hardware = 0; in esp_internal_aes_encrypt()
139 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_ENCRYPT); in esp_internal_aes_encrypt()
167 ctx->key_in_hardware = 0; in esp_internal_aes_decrypt()
168 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_DECRYPT); in esp_internal_aes_decrypt()
189 ctx->key_in_hardware = 0; in esp_aes_crypt_ecb()
190 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_ecb()
222 ctx->key_in_hardware = 0; in esp_aes_crypt_cbc()
223 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_cbc()
283 ctx->key_in_hardware = 0; in esp_aes_crypt_cfb128()
[all …]
/hal_espressif-3.6.0/components/mbedtls/port/aes/dma/
Desp_aes.c333 if (ctx->key_in_hardware != ctx->key_bytes) { in esp_aes_process_dma()
482 if (ctx->key_in_hardware != ctx->key_bytes) { in esp_aes_process_dma_gcm()
613 ctx->key_in_hardware = 0; in esp_internal_aes_encrypt()
614 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_ENCRYPT); in esp_internal_aes_encrypt()
647 ctx->key_in_hardware = 0; in esp_internal_aes_decrypt()
648 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_DECRYPT); in esp_internal_aes_decrypt()
683 ctx->key_in_hardware = 0; in esp_aes_crypt_ecb()
684 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_ecb()
724 ctx->key_in_hardware = 0; in esp_aes_crypt_cbc()
725 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_cbc()
[all …]
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Daes_ll.h48 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
54 key_in_hardware += 4; in aes_ll_write_key()
56 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Daes_ll.h48 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
54 key_in_hardware += 4; in aes_ll_write_key()
56 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Daes_ll.h48 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
54 key_in_hardware += 4; in aes_ll_write_key()
56 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Daes_ll.h49 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
55 key_in_hardware += 4; in aes_ll_write_key()
57 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-3.6.0/components/mbedtls/port/aes/
Desp_aes_common.c85 ctx->key_in_hardware = 0; in esp_aes_setkey()
Desp_aes_gcm.c380 … ctx->aes_ctx.key_in_hardware = aes_hal_setkey(ctx->aes_ctx.key, ctx->aes_ctx.key_bytes, mode); in esp_aes_gcm_starts()
614 ctx->aes_ctx.key_in_hardware = 0; in esp_aes_gcm_crypt_and_tag()
615 ctx->aes_ctx.key_in_hardware = aes_hal_setkey(ctx->aes_ctx.key, ctx->aes_ctx.key_bytes, mode); in esp_aes_gcm_crypt_and_tag()
/hal_espressif-3.6.0/components/mbedtls/port/include/aes/
Desp_aes.h44 …volatile uint8_t key_in_hardware; /* This variable is used for fault injection checks, so marked v… member