Home
last modified time | relevance | path

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

12

/Linux-v5.4/crypto/
Dxxhash_generic.c23 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(tfm); in xxhash64_setkey()
35 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_init()
65 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_digest()
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.c59 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_init()
75 struct chksum_ctx *mctx = crypto_shash_ctx(tfm); in chksum_setkey()
119 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest()
Dghash-generic.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()
136 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
Dxcbc.c54 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_setkey()
89 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update()
135 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_final()
Dnhpoly1305.c127 struct nhpoly1305_key *ctx = crypto_shash_ctx(tfm); in crypto_nhpoly1305_setkey()
159 const struct nhpoly1305_key *key = crypto_shash_ctx(desc->tfm); in crypto_nhpoly1305_update_helper()
200 const struct nhpoly1305_key *key = crypto_shash_ctx(desc->tfm); in crypto_nhpoly1305_final_helper()
Dmichael_mic.c50 struct michael_mic_ctx *ctx = crypto_shash_ctx(desc->tfm); in michael_init()
136 struct michael_mic_ctx *mctx = crypto_shash_ctx(tfm); in michael_setkey()
Dcmac.c53 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cmac_digest_setkey()
122 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update()
168 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.c835 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_setkey()
856 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_update()
882 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_final()
/Linux-v5.4/arch/x86/crypto/
Dcrc32c-intel_glue.c92 u32 *mctx = crypto_shash_ctx(hash); in crc32c_intel_setkey()
104 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_intel_init()
145 return __crc32c_intel_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_intel_digest()
199 return __crc32c_pcl_intel_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_pcl_intel_digest()
Dcrc32-pclmul_glue.c95 u32 *mctx = crypto_shash_ctx(hash); in crc32_pclmul_setkey()
107 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_pclmul_init()
149 return __crc32_pclmul_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32_pclmul_digest()
Dghash-clmulni-intel_glue.c56 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey()
82 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update()
135 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
/Linux-v5.4/arch/sparc/crypto/
Dcrc32c_glue.c34 u32 *mctx = crypto_shash_ctx(hash); in crc32c_sparc64_setkey()
46 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_sparc64_init()
108 return __crc32c_sparc64_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_sparc64_digest()
/Linux-v5.4/arch/powerpc/crypto/
Dcrc32c-vpmsum_glue.c74 u32 *mctx = crypto_shash_ctx(hash); in crc32c_vpmsum_setkey()
86 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_vpmsum_init()
130 return __crc32c_vpmsum_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_vpmsum_digest()
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/arch/arm/crypto/
Dghash-ce-glue.c107 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
137 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
163 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
Dcrc32-ce-glue.c55 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey()
67 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init()
/Linux-v5.4/arch/arm64/crypto/
Dghash-ce-glue.c131 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in __ghash_update()
180 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final_p8()
200 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final_p64()
251 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
Daes-glue.c793 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cbcmac_setkey()
815 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_setkey()
845 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in xcbc_setkey()
898 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in mac_update()
938 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cbcmac_final()
950 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cmac_final()
/Linux-v5.4/drivers/crypto/
Dpadlock-sha.c34 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_init()
58 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_import()
/Linux-v5.4/include/crypto/internal/
Dhash.h199 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() function

12