Home
last modified time | relevance | path

Searched refs:ghash (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/arm64/crypto/
H A Dsm4-ce-gcm-glue.c23 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[]) in gcm_calculate_auth_mac() argument
110 pmull_ghash_update(ctx->ghash_table, ghash, in gcm_calculate_auth_mac()
116 pmull_ghash_update(ctx->ghash_table, ghash, in gcm_calculate_auth_mac()
133 pmull_ghash_update(ctx->ghash_table, ghash, buffer, 1); in gcm_calculate_auth_mac()
138 u8 ghash[], int err, in gcm_crypt() argument
141 unsigned int nbytes, u8 *ghash, in gcm_crypt() argument
149 memset(ghash, 0, SM4_BLOCK_SIZE); in gcm_crypt()
[all …]
H A DMakefile41 obj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o
42 ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
/openbmc/linux/lib/crypto/
H A Daesgcm.c64 static void aesgcm_ghash(be128 *ghash, const be128 *key, const void *src, in aesgcm_ghash() argument
68 crypto_xor((u8 *)ghash, src, min(len, GHASH_BLOCK_SIZE)); in aesgcm_ghash()
69 gf128mul_lle(ghash, key); in aesgcm_ghash()
81 be128 ghash = {}; in aesgcm_mac() local
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()
89 crypto_xor_cpy(authtag, buf, (u8 *)&ghash, ctx->authsize); in aesgcm_mac()
91 memzero_explicit(&ghash, sizeof(ghash)); in aesgcm_mac()
/openbmc/linux/crypto/
H A Dgcm.c24 struct crypto_ahash_spawn ghash; member
29 struct crypto_ahash *ghash; member
96 struct crypto_ahash *ghash = ctx->ghash; in crypto_gcm_setkey() local
137 crypto_ahash_clear_flags(ghash, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
138 crypto_ahash_set_flags(ghash, crypto_aead_get_flags(aead) & in crypto_gcm_setkey()
140 err = crypto_ahash_setkey(ghash, (u8 *)&data->hash, sizeof(be128)); in crypto_gcm_setkey()
402 ahash_request_set_tfm(ahreq, ctx->ghash); in gcm_hash()
525 struct crypto_ahash *ghash; in crypto_gcm_init_tfm() local
529 ghash = crypto_spawn_ahash(&ictx->ghash); in crypto_gcm_init_tfm()
530 if (IS_ERR(ghash)) in crypto_gcm_init_tfm()
[all …]
H A DMakefile177 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
/openbmc/linux/arch/arm/crypto/
H A DMakefile22 obj-$(CONFIG_CRYPTO_GHASH_ARM_CE) += ghash-arm-ce.o
39 ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o
/openbmc/linux/arch/x86/crypto/
H A DMakefile67 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 Daesni-intel_avx-x86_64.S965 ## 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
/openbmc/linux/drivers/crypto/vmx/
H A DMakefile3 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nss/nss/
H A D0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch57 SECStatus gcm_HashInit_hw(gcmHashContext *ghash);
/openbmc/linux/arch/powerpc/crypto/
H A Daes-gcm-p10.S289 # Combine two 4x ghash
791 # ghash here
1341 # ghash here
/openbmc/linux/drivers/crypto/
H A Datmel-aes.c134 __be32 ghash[AES_BLOCK_SIZE / sizeof(u32)]; member
1664 atmel_aes_read_block(dd, AES_GHASHR(0), ctx->ghash); in atmel_aes_gcm_tag_init()
1670 ctx->ghash, ctx->ghash, atmel_aes_gcm_tag); in atmel_aes_gcm_tag_init()
1688 atmel_aes_write_block(dd, AES_IDATAR(0), ctx->ghash); in atmel_aes_gcm_tag()
/openbmc/linux/Documentation/crypto/
H A Darchitecture.rst258 generic C implementations (gcm.c, aes-generic.c, ctr.c, ghash-generic.c,
305 | (ctr) | ---+ | (ghash) |
/openbmc/openbmc/poky/meta/recipes-core/gettext/
H A Dgettext_0.23.1.bb14 …utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=e3159f5ac38d…
/openbmc/openbmc/meta-security/recipes-ids/suricata/
H A Dsuricata-crates.inc43 crate://crates.io/ghash/0.4.4 \
165 SRC_URI[ghash-0.4.4.sha256sum] = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99"
/openbmc/qemu/target/s390x/
H A Dcpu_features_def.h.inc247 DEF_FEAT(KIMD_GHASH, "kimd-ghash", KIMD, 65, "KIMD GHASH")
/openbmc/openbmc/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist2.txt3063 -rw-r--r-- root root 7886 ./usr/include/glib-2.0/glib/ghash.h
H A Dbuildhistory_filelist1.txt3062 -rw-r--r-- root root 7886 ./usr/include/glib-2.0/glib/ghash.h
/openbmc/linux/
H A DMAINTAINERS10092 F: drivers/crypto/vmx/ghash*
H A Dopengrok0.0.log2027 2024-12-28 20:09:06.335-0600 FINEST t1098 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/arch/x86/crypto/ghash-clmulni-intel_glue.c.gz'
[all...]
H A Dopengrok2.0.log[all...]
H A Dopengrok1.0.log[all...]