Searched refs:ghash (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/common/crypto/modes/ |
H A D | gcm.c | 258 uint8_t *ghash, *macp; in gcm_encrypt_final() local 266 ghash = (uint8_t *)ctx->gcm_ghash; in gcm_encrypt_final() 298 GHASH(ctx, macp, ghash); in gcm_encrypt_final() 305 GHASH(ctx, ctx->gcm_len_a_len_c, ghash); in gcm_encrypt_final() 308 xor_block((uint8_t *)ctx->gcm_J0, ghash); in gcm_encrypt_final() 317 rv = crypto_put_output_data(ghash, out, ctx->gcm_tag_len); in gcm_encrypt_final() 415 uint8_t *ghash; in gcm_decrypt_final() local 425 ghash = (uint8_t *)ctx->gcm_ghash; in gcm_decrypt_final() 443 GHASH(ctx, blockp, ghash); in gcm_decrypt_final() 466 GHASH(ctx, ctx->gcm_len_a_len_c, ghash); in gcm_decrypt_final() [all …]
|