Home
last modified time | relevance | path

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

/hal_espressif-latest/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-latest/components/mbedtls/port/aes/
Desp_aes_gcm.c402 memset(ctx->ghash, 0, sizeof(ctx->ghash)); in esp_aes_gcm_starts()
480 esp_gcm_ghash(ctx, ctx->aad, ctx->aad_len, ctx->ghash); in esp_aes_gcm_update_ad()
539 esp_gcm_ghash(ctx, input, input_length, ctx->ghash); in esp_aes_gcm_update()
556 esp_gcm_ghash(ctx, output, input_length, ctx->ghash); in esp_aes_gcm_update()
584 esp_gcm_ghash(ctx, len_block, AES_BLOCK_BYTES, ctx->ghash); in esp_aes_gcm_finish()
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()
717 memset(ctx->ghash, 0, sizeof(ctx->ghash)); in esp_aes_gcm_crypt_and_tag()
/hal_espressif-latest/components/mbedtls/port/include/aes/
Desp_aes_gcm.h32 uint8_t ghash[16]; /*!< GHASH value. */ member