Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/mbedtls/port/aes/
Desp_aes_gcm.c367 memset(ctx->ghash, 0, sizeof(ctx->ghash)); in esp_aes_gcm_starts()
401 esp_gcm_ghash(ctx, ctx->aad, ctx->aad_len, ctx->ghash); in esp_aes_gcm_starts()
447 esp_gcm_ghash(ctx, input, length, ctx->ghash); in esp_aes_gcm_update()
461 esp_gcm_ghash(ctx, output, length, ctx->ghash); in esp_aes_gcm_update()
482 esp_gcm_ghash(ctx, len_block, AES_BLOCK_BYTES, ctx->ghash); in esp_aes_gcm_finish()
485 esp_aes_crypt_ctr(&ctx->aes_ctx, tag_len, &nc_off, ctx->ori_j0, 0, ctx->ghash, tag); in esp_aes_gcm_finish()
604 memset(ctx->ghash, 0, sizeof(ctx->ghash)); in esp_aes_gcm_crypt_and_tag()
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Daes-gcm.c103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
207 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
210 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
241 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
242 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
245 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/hal_espressif-3.6.0/components/mbedtls/port/include/aes/
Desp_aes_gcm.h49 uint8_t ghash[16]; /*!< GHASH value. */ member