Searched refs:key_in_hardware (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-3.6.0/components/mbedtls/port/aes/block/ |
D | esp_aes.c | 88 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/ |
D | esp_aes.c | 333 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/ |
D | aes_ll.h | 48 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/ |
D | aes_ll.h | 48 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/ |
D | aes_ll.h | 48 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/ |
D | aes_ll.h | 49 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/ |
D | esp_aes_common.c | 85 ctx->key_in_hardware = 0; in esp_aes_setkey()
|
D | esp_aes_gcm.c | 380 … 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/ |
D | esp_aes.h | 44 …volatile uint8_t key_in_hardware; /* This variable is used for fault injection checks, so marked v… member
|