Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Dcrc32_generic.c61 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey()
73 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init()
115 return __crc32_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32_digest()
Dcrc32c_generic.c64 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_init()
80 struct chksum_ctx *mctx = crypto_shash_ctx(tfm); in chksum_setkey()
124 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest()
Dghash-generic.c36 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey()
56 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update()
108 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
Dxcbc.c64 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_setkey()
99 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update()
145 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_final()
Dmichael_mic.c53 struct michael_mic_ctx *ctx = crypto_shash_ctx(desc->tfm); in michael_init()
139 struct michael_mic_ctx *mctx = crypto_shash_ctx(tfm); in michael_setkey()
Dcmac.c58 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cmac_digest_setkey()
127 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update()
173 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_final()
Dvmac.c432 struct vmac_tfm_ctx *tctx = crypto_shash_ctx(tfm); in vmac_setkey()
483 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_init()
495 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_update()
565 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_final()
Dccm.c863 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_setkey()
884 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_update()
910 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_final()
/Linux-v4.19/arch/x86/crypto/
Dcrc32c-intel_glue.c104 u32 *mctx = crypto_shash_ctx(hash); in crc32c_intel_setkey()
116 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_intel_init()
157 return __crc32c_intel_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_intel_digest()
211 return __crc32c_pcl_intel_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_pcl_intel_digest()
Dcrc32-pclmul_glue.c94 u32 *mctx = crypto_shash_ctx(hash); in crc32_pclmul_setkey()
106 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_pclmul_init()
148 return __crc32_pclmul_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32_pclmul_digest()
Dghash-clmulni-intel_glue.c58 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey()
84 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update()
137 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
/Linux-v4.19/arch/sparc/crypto/
Dcrc32c_glue.c33 u32 *mctx = crypto_shash_ctx(hash); in crc32c_sparc64_setkey()
45 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_sparc64_init()
107 return __crc32c_sparc64_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_sparc64_digest()
/Linux-v4.19/arch/powerpc/crypto/
Dcrc32c-vpmsum_glue.c71 u32 *mctx = crypto_shash_ctx(hash); in crc32c_vpmsum_setkey()
83 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_vpmsum_init()
127 return __crc32c_vpmsum_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_vpmsum_digest()
/Linux-v4.19/arch/s390/crypto/
Dcrc32-vx.c102 struct crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in crc32_vx_init()
112 struct crc_ctx *mctx = crypto_shash_ctx(tfm); in crc32_vx_setkey()
125 struct crc_ctx *mctx = crypto_shash_ctx(tfm); in crc32be_vx_setkey()
205 return __ ## alg ## _vx_finup(crypto_shash_ctx(desc->tfm), \
Dghash_s390.c33 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_init()
44 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey()
/Linux-v4.19/arch/mips/crypto/
Dcrc32-mips.c162 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
178 struct chksum_ctx *mctx = crypto_shash_ctx(tfm);
253 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
261 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
/Linux-v4.19/arch/arm/crypto/
Dghash-ce-glue.c74 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
106 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
123 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
Dcrc32-ce-glue.c57 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey()
69 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init()
/Linux-v4.19/drivers/crypto/stm32/
Dstm32_crc32.c86 struct stm32_crc_ctx *mctx = crypto_shash_ctx(tfm); in stm32_crc_setkey()
100 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in stm32_crc_init()
185 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in stm32_crc_final()
/Linux-v4.19/arch/arm64/crypto/
Daes-glue.c391 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cbcmac_setkey()
413 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_setkey()
443 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in xcbc_setkey()
498 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in mac_update()
538 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cbcmac_final()
550 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cmac_final()
Dcrc32-ce-glue.c57 u32 *mctx = crypto_shash_ctx(hash); in crc32_pmull_setkey()
69 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_pmull_init()
Dghash-ce-glue.c131 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
167 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
217 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
/Linux-v4.19/include/crypto/internal/
Dhash.h210 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() function
/Linux-v4.19/drivers/crypto/
Dpadlock-sha.c39 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_init()
65 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_import()
/Linux-v4.19/drivers/crypto/nx/
Dnx-aes-xcbc.c44 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); in nx_xcbc_set_key()