Searched refs:ghash_key (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/arm64/crypto/ |
H A D | ghash-ce-glue.c | 35 struct ghash_key { struct 49 struct ghash_key ghash_key; argument 75 struct ghash_key *key, const char *head) in ghash_do_update() 100 struct ghash_key *key, const char *head, in ghash_do_simd_update() 127 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update() 164 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final() 192 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey() 209 .base.cra_ctxsize = sizeof(struct ghash_key) + sizeof(u64[2]), 247 memcpy(&ctx->ghash_key.k, key, GHASH_BLOCK_SIZE); in gcm_aes_setkey() 249 ghash_reflect(ctx->ghash_key.h[0], &ctx->ghash_key.k); in gcm_aes_setkey() [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | aesgcm.c | 58 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/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 40 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]),
|
/openbmc/linux/include/crypto/ |
H A D | gcm.h | 68 be128 ghash_key; member
|