Home
last modified time | relevance | path

Searched refs:ghash_key (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/arm64/crypto/
H A Dghash-ce-glue.c35 struct ghash_key { struct
49 struct ghash_key ghash_key; argument
100 struct ghash_key *key, const char *head, in ghash_do_simd_update()
249 ghash_reflect(ctx->ghash_key.h[0], &ctx->ghash_key.k); in gcm_aes_setkey()
251 h = ctx->ghash_key.k; in gcm_aes_setkey()
252 gf128mul_lle(&h, &ctx->ghash_key.k); in gcm_aes_setkey()
253 ghash_reflect(ctx->ghash_key.h[1], &h); in gcm_aes_setkey()
255 gf128mul_lle(&h, &ctx->ghash_key.k); in gcm_aes_setkey()
256 ghash_reflect(ctx->ghash_key.h[2], &h); in gcm_aes_setkey()
258 gf128mul_lle(&h, &ctx->ghash_key.k); in gcm_aes_setkey()
[all …]
/openbmc/linux/lib/crypto/
H A Daesgcm.c58 aesgcm_encrypt_block(&ctx->aes_ctx, &ctx->ghash_key, kin); in aesgcm_expandkey()
83 aesgcm_ghash(&ghash, &ctx->ghash_key, assoc, assoc_len); in aesgcm_mac()
84 aesgcm_ghash(&ghash, &ctx->ghash_key, src, src_len); in aesgcm_mac()
85 aesgcm_ghash(&ghash, &ctx->ghash_key, &tail, sizeof(tail)); in aesgcm_mac()
/openbmc/linux/include/crypto/
H A Dgcm.h68 be128 ghash_key; member
/openbmc/linux/arch/arm/crypto/
H A Dghash-ce-glue.c40 struct ghash_key { struct
79 struct ghash_key *key, const char *head) in ghash_do_update()
120 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
150 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
176 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
212 .base.cra_ctxsize = sizeof(struct ghash_key) + sizeof(u64[2]),