Home
last modified time | relevance | path

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

/hal_espressif-latest/components/mbedtls/port/aes/block/
Desp_aes.c93 if (ctx->key_in_hardware != ctx->key_bytes) { in esp_aes_block()
167 ctx->key_in_hardware = 0; in esp_internal_aes_encrypt()
168 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_ENCRYPT); in esp_internal_aes_encrypt()
200 ctx->key_in_hardware = 0; in esp_internal_aes_decrypt()
201 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_DECRYPT); in esp_internal_aes_decrypt()
226 ctx->key_in_hardware = 0; in esp_aes_crypt_ecb()
227 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_ecb()
268 ctx->key_in_hardware = 0; in esp_aes_crypt_cbc()
269 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_cbc()
351 ctx->key_in_hardware = 0; in esp_aes_crypt_cfb128()
[all …]
/hal_espressif-latest/components/mbedtls/port/aes/dma/
Desp_aes.c356 if (ctx->key_in_hardware != ctx->key_bytes) { in esp_aes_process_dma()
518 if (ctx->key_in_hardware != ctx->key_bytes) { in esp_aes_process_dma_gcm()
661 ctx->key_in_hardware = 0; in esp_internal_aes_encrypt()
662 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_ENCRYPT); in esp_internal_aes_encrypt()
695 ctx->key_in_hardware = 0; in esp_internal_aes_decrypt()
696 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, ESP_AES_DECRYPT); in esp_internal_aes_decrypt()
731 ctx->key_in_hardware = 0; in esp_aes_crypt_ecb()
732 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_ecb()
772 ctx->key_in_hardware = 0; in esp_aes_crypt_cbc()
773 ctx->key_in_hardware = aes_hal_setkey(ctx->key, ctx->key_bytes, mode); in esp_aes_crypt_cbc()
[all …]
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Daes_ll.h40 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
46 key_in_hardware += 4; in aes_ll_write_key()
48 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Daes_ll.h40 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
46 key_in_hardware += 4; in aes_ll_write_key()
48 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Daes_ll.h40 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
46 key_in_hardware += 4; in aes_ll_write_key()
48 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Daes_ll.h40 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
46 key_in_hardware += 4; in aes_ll_write_key()
48 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Daes_ll.h41 volatile uint8_t key_in_hardware = 0; in aes_ll_write_key() local
47 key_in_hardware += 4; in aes_ll_write_key()
49 return key_in_hardware; in aes_ll_write_key()
/hal_espressif-latest/components/mbedtls/port/aes/
Desp_aes_common.c77 ctx->key_in_hardware = 0; in esp_aes_setkey()
Desp_aes_gcm.c416 … ctx->aes_ctx.key_in_hardware = aes_hal_setkey(ctx->aes_ctx.key, ctx->aes_ctx.key_bytes, mode); in esp_aes_gcm_starts()
727 ctx->aes_ctx.key_in_hardware = 0; in esp_aes_gcm_crypt_and_tag()
728 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-latest/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