Home
last modified time | relevance | path

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

/hal_espressif-latest/components/mbedtls/port/aes/
Desp_aes_gcm.c290 ctx->aes_ctx.key_bytes = keybits / 8; in esp_aes_gcm_setkey()
292 memcpy(ctx->aes_ctx.key, key, ctx->aes_ctx.key_bytes); in esp_aes_gcm_setkey()
416 … ctx->aes_ctx.key_in_hardware = aes_hal_setkey(ctx->aes_ctx.key, ctx->aes_ctx.key_bytes, mode); in esp_aes_gcm_starts()
424 int ret = esp_aes_crypt_ecb(&ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, ctx->H, ctx->H); in esp_aes_gcm_starts()
543 …int ret = esp_aes_crypt_ctr(&ctx->aes_ctx, input_length, &nc_off, nonce_counter, stream, input, ou… in esp_aes_gcm_update()
587 return esp_aes_crypt_ctr(&ctx->aes_ctx, tag_len, &nc_off, ctx->ori_j0, stream, ctx->ghash, tag); in esp_aes_gcm_finish()
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()
765 ret = esp_aes_process_dma_gcm(&ctx->aes_ctx, input, output, length, aad_head_desc, aad_len); in esp_aes_gcm_crypt_and_tag()
/hal_espressif-latest/components/mbedtls/port/include/aes/
Desp_aes_gcm.h43 esp_aes_context aes_ctx; member