Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
404 ahash_request_set_tfm(ahreq, ctx->ghash); in gcm_hash()
527 struct crypto_ahash *ghash; in crypto_gcm_init_tfm() local
531 ghash = crypto_spawn_ahash(&ictx->ghash); in crypto_gcm_init_tfm()
532 if (IS_ERR(ghash)) in crypto_gcm_init_tfm()
[all …]
H A DMakefile167 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/crypto/
H A Daes-gcm.c103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
207 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
210 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
241 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
242 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
245 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/crypto/
H A Daes-gcm.c103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
207 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
210 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
241 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
242 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
245 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/crypto/
H A Daes-gcm.c102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function
206 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
209 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
240 ghash(H, aad, aad_len, S); in aes_gcm_ghash()
241 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A DKbuild.fips14010 ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
20 crypto-arm64-fips-modules := sha1-ce.o sha2-ce.o sha512-ce.o ghash-ce.o \
H A DMakefile26 obj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o
27 ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A DMakefile23 obj-$(CONFIG_CRYPTO_GHASH_ARM_CE) += ghash-arm-ce.o
41 ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A DMakefile73 obj-$(CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL) += ghash-clmulni-intel.o
74 ghash-clmulni-intel-y := ghash-clmulni-intel_asm.o ghash-clmulni-intel_glue.o
H A Daesni-intel_avx-x86_64.S997 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext
1233 # ghash the 8 previously encrypted ciphertext blocks
1945 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext
2188 # ghash the 8 previously encrypted ciphertext blocks
/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Daes_gcm.c64 void (*ghash)(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len); member
708 ctx->ghash = gcm_ghash_clmul;
720 ctx->ghash = gcm_ghash_4bit_mmx;
723 ctx->ghash = gcm_ghash_4bit_x86;
727 ctx->ghash = gcm_ghash_4bit;
732 ctx->ghash = gcm_ghash_neon;
736 ctx->ghash = gcm_ghash_4bit;
824 const u8 *inp,size_t len) = ctx->ghash;
886 const u8 *inp,size_t len) = ctx->ghash;
1041 const u8 *inp,size_t len) = ctx->ghash;
[all …]
H A Dsm4_gcm.c58 void (*ghash)(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len); member
702 ctx->ghash = gcm_ghash_clmul;
714 ctx->ghash = gcm_ghash_4bit_mmx;
717 ctx->ghash = gcm_ghash_4bit_x86;
721 ctx->ghash = gcm_ghash_4bit;
726 ctx->ghash = gcm_ghash_neon;
730 ctx->ghash = gcm_ghash_4bit;
818 const u8 *inp,size_t len) = ctx->ghash;
880 const u8 *inp,size_t len) = ctx->ghash;
1035 const u8 *inp,size_t len) = ctx->ghash;
[all …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/nss/nss/
H A D0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch57 SECStatus gcm_HashInit_hw(gcmHashContext *ghash);
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Datmel-aes.c134 __be32 ghash[AES_BLOCK_SIZE / sizeof(u32)]; member
1633 atmel_aes_read_block(dd, AES_GHASHR(0), ctx->ghash); in atmel_aes_gcm_tag_init()
1639 ctx->ghash, ctx->ghash, atmel_aes_gcm_tag); in atmel_aes_gcm_tag_init()
1657 atmel_aes_write_block(dd, AES_IDATAR(0), ctx->ghash); in atmel_aes_gcm_tag()
/OK3568_Linux_fs/kernel/Documentation/crypto/
H A Darchitecture.rst258 generic C implementations (gcm.c, aes-generic.c, ctr.c, ghash-generic.c,
305 | (ctr) | ---+ | (ghash) |
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/gettext/
H A Dgettext_0.21.bb17 …utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=af89a160226e…
/OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/
H A Dmodules.builtin

12