Searched refs:ghash_key (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/arm64/crypto/ |
| H A D | ghash-ce-glue.c | 33 struct ghash_key { struct 45 struct ghash_key ghash_key; member 72 struct ghash_key *key, const char *head, in ghash_do_simd_update() 89 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update() 130 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_finup() 157 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey() 175 .base.cra_ctxsize = sizeof(struct ghash_key) + sizeof(u64[2]), 204 memcpy(&ctx->ghash_key.k, key, GHASH_BLOCK_SIZE); in gcm_aes_setkey() 206 ghash_reflect(ctx->ghash_key.h[0], &ctx->ghash_key.k); in gcm_aes_setkey() 208 h = ctx->ghash_key.k; in gcm_aes_setkey() [all …]
|
| /linux/lib/crypto/ |
| H A D | aesgcm.c | 57 aesgcm_encrypt_block(&ctx->aes_key, &ctx->ghash_key, kin); in aesgcm_expandkey() 95 aesgcm_ghash(&ghash, &ctx->ghash_key, assoc, assoc_len); in aesgcm_mac() 96 aesgcm_ghash(&ghash, &ctx->ghash_key, src, src_len); in aesgcm_mac() 97 aesgcm_ghash(&ghash, &ctx->ghash_key, &tail, sizeof(tail)); in aesgcm_mac()
|
| /linux/arch/arm/crypto/ |
| H A D | ghash-ce-glue.c | 37 struct ghash_key { struct 70 struct ghash_key *key, const char *head) in ghash_do_update() 83 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update() 115 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_finup() 142 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey() 182 .base.cra_ctxsize = sizeof(struct ghash_key) + sizeof(u64[2]),
|
| /linux/include/crypto/ |
| H A D | gcm.h | 68 be128 ghash_key; member
|