/linux-master/arch/riscv/crypto/ |
H A D | Makefile | 10 obj-$(CONFIG_CRYPTO_GHASH_RISCV64) += ghash-riscv64.o 11 ghash-riscv64-y := ghash-riscv64-glue.o ghash-riscv64-zvkg.o
|
H A D | ghash-riscv64-glue.c | 14 #include <crypto/ghash.h> 142 .cra_name = "ghash", 143 .cra_driver_name = "ghash-riscv64-zvkg", 168 MODULE_ALIAS_CRYPTO("ghash");
|
/linux-master/arch/arm64/crypto/ |
H A D | sm4-ce-gcm-glue.c | 23 asmlinkage void pmull_ghash_update(const u8 *ghash_table, u8 *ghash, 27 unsigned int nbytes, u8 *ghash, 31 unsigned int nbytes, u8 *ghash, 73 static void gcm_calculate_auth_mac(struct aead_request *req, u8 ghash[]) argument 110 pmull_ghash_update(ctx->ghash_table, ghash, 116 pmull_ghash_update(ctx->ghash_table, ghash, 133 pmull_ghash_update(ctx->ghash_table, ghash, buffer, 1); 138 u8 ghash[], int err, 141 unsigned int nbytes, u8 *ghash, 149 memset(ghash, 137 gcm_crypt(struct aead_request *req, struct skcipher_walk *walk, u8 ghash[], int err, void (*sm4_ce_pmull_gcm_crypt)(const u32 *rkey_enc, u8 *dst, const u8 *src, u8 *iv, unsigned int nbytes, u8 *ghash, const u8 *ghash_table, const u8 *lengths)) argument [all...] |
H A D | Makefile | 41 obj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o 42 ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
|
/linux-master/lib/crypto/ |
H A D | aesgcm.c | 12 #include <crypto/ghash.h> 64 static void aesgcm_ghash(be128 *ghash, const be128 *key, const void *src, argument 68 crypto_xor((u8 *)ghash, src, min(len, GHASH_BLOCK_SIZE)); 69 gf128mul_lle(ghash, key); 94 be128 ghash = {}; local 96 aesgcm_ghash(&ghash, &ctx->ghash_key, assoc, assoc_len); 97 aesgcm_ghash(&ghash, &ctx->ghash_key, src, src_len); 98 aesgcm_ghash(&ghash, &ctx->ghash_key, &tail, sizeof(tail)); 102 crypto_xor_cpy(authtag, buf, (u8 *)&ghash, ctx->authsize); 104 memzero_explicit(&ghash, sizeo [all...] |
/linux-master/crypto/ |
H A D | gcm.c | 24 struct crypto_ahash_spawn ghash; member in struct:gcm_instance_ctx 29 struct crypto_ahash *ghash; member in struct:crypto_gcm_ctx 96 struct crypto_ahash *ghash = ctx->ghash; local 137 crypto_ahash_clear_flags(ghash, CRYPTO_TFM_REQ_MASK); 138 crypto_ahash_set_flags(ghash, crypto_aead_get_flags(aead) & 140 err = crypto_ahash_setkey(ghash, (u8 *)&data->hash, sizeof(be128)); 402 ahash_request_set_tfm(ahreq, ctx->ghash); 525 struct crypto_ahash *ghash; local 529 ghash 583 struct hash_alg_common *ghash; local [all...] |
H A D | ghash-generic.c | 21 * "ghash" in the Linux crypto API uses the 'X' (pre-formatted) convention, 23 * formatting of 'A' and 'C' is done in the "gcm" template, not in "ghash". 25 * The reason "ghash" is separate from "gcm" is to allow "gcm" to use an 26 * accelerated "ghash" when a standalone accelerated "gcm(aes)" is unavailable. 27 * It is generally inappropriate to use "ghash" for other purposes, since it is 39 #include <crypto/ghash.h> 158 .cra_name = "ghash", 159 .cra_driver_name = "ghash-generic", 183 MODULE_ALIAS_CRYPTO("ghash"); 184 MODULE_ALIAS_CRYPTO("ghash [all...] |
H A D | Makefile | 180 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
|
/linux-master/arch/arm/crypto/ |
H A D | Makefile | 22 obj-$(CONFIG_CRYPTO_GHASH_ARM_CE) += ghash-arm-ce.o 39 ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o
|
/linux-master/arch/x86/crypto/ |
H A D | Makefile | 67 obj-$(CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL) += ghash-clmulni-intel.o 68 ghash-clmulni-intel-y := ghash-clmulni-intel_asm.o ghash-clmulni-intel_glue.o
|
H A D | aesni-intel_avx-x86_64.S | 965 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext 1201 # ghash the 8 previously encrypted ciphertext blocks 1913 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext 2156 # ghash the 8 previously encrypted ciphertext blocks
|
/linux-master/arch/powerpc/crypto/ |
H A D | Makefile | 31 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o
|
H A D | ghash.c | 21 #include <crypto/ghash.h> 178 .cra_name = "ghash",
|
H A D | aes-gcm-p10.S | 289 # Combine two 4x ghash 791 # ghash here 1341 # ghash here
|
/linux-master/drivers/crypto/ |
H A D | atmel-aes.c | 122 __be32 ghash[AES_BLOCK_SIZE / sizeof(u32)]; member in struct:atmel_aes_gcm_ctx 1471 atmel_aes_read_block(dd, AES_GHASHR(0), ctx->ghash); 1477 ctx->ghash, ctx->ghash, atmel_aes_gcm_tag); 1495 atmel_aes_write_block(dd, AES_IDATAR(0), ctx->ghash);
|
/linux-master/arch/s390/crypto/ |
H A D | aes_s390.c | 22 #include <crypto/ghash.h>
|
/linux-master/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 19 #include <crypto/ghash.h>
|