Home
last modified time | relevance | path

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

12

/linux-5.19.10/crypto/
Dxxhash_generic.c23 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(tfm); in xxhash64_setkey()
33 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_init()
63 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_digest()
Dcrc32_generic.c39 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey()
49 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init()
91 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()
117 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()
82 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update()
134 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
Dnhpoly1305.c128 struct nhpoly1305_key *ctx = crypto_shash_ctx(tfm); in crypto_nhpoly1305_setkey()
160 const struct nhpoly1305_key *key = crypto_shash_ctx(desc->tfm); in crypto_nhpoly1305_update_helper()
201 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()
132 struct michael_mic_ctx *mctx = crypto_shash_ctx(tfm); in michael_setkey()
Dxcbc.c55 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_setkey()
90 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update()
136 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_final()
Dcmac.c54 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cmac_digest_setkey()
123 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update()
169 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_final()
Dvmac.c433 struct vmac_tfm_ctx *tctx = crypto_shash_ctx(tfm); in vmac_setkey()
482 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_init()
494 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_update()
564 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_final()
/linux-5.19.10/arch/x86/crypto/
Dcrc32c-intel_glue.c86 u32 *mctx = crypto_shash_ctx(hash); in crc32c_intel_setkey()
96 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_intel_init()
137 return __crc32c_intel_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_intel_digest()
191 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()
105 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_pclmul_init()
147 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()
80 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update()
133 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
/linux-5.19.10/arch/sparc/crypto/
Dcrc32c_glue.c34 u32 *mctx = crypto_shash_ctx(hash); in crc32c_sparc64_setkey()
44 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_sparc64_init()
106 return __crc32c_sparc64_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_sparc64_digest()
/linux-5.19.10/drivers/crypto/xilinx/
Dzynqmp-sha.c50 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_init_tfm()
72 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_exit_tfm()
85 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_init()
115 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_import()
/linux-5.19.10/arch/powerpc/crypto/
Dcrc32c-vpmsum_glue.c74 u32 *mctx = crypto_shash_ctx(hash); in crc32c_vpmsum_setkey()
84 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_vpmsum_init()
128 return __crc32c_vpmsum_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_vpmsum_digest()
/linux-5.19.10/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()
123 struct crc_ctx *mctx = crypto_shash_ctx(tfm); in crc32be_vx_setkey()
201 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-5.19.10/arch/mips/crypto/
Dcrc32-mips.c168 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
184 struct chksum_ctx *mctx = crypto_shash_ctx(tfm);
257 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
265 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
/linux-5.19.10/include/crypto/internal/
Dblake2b.h75 struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(tfm); in crypto_blake2b_setkey()
88 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_init()
/linux-5.19.10/drivers/crypto/stm32/
Dstm32-crc32.c93 struct stm32_crc_ctx *mctx = crypto_shash_ctx(tfm); in stm32_crc_setkey()
118 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in stm32_crc_init()
151 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in burst_update()
245 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in stm32_crc_final()
/linux-5.19.10/drivers/crypto/
Dpadlock-sha.c35 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_init()
59 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_import()
197 struct padlock_sha_ctx *ctx = crypto_shash_ctx(hash); in padlock_init_tfm()
216 struct padlock_sha_ctx *ctx = crypto_shash_ctx(hash); in padlock_exit_tfm()
/linux-5.19.10/arch/arm/crypto/
Dghash-ce-glue.c103 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
133 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
159 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
Dcrc32-ce-glue.c55 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey()
65 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init()
/linux-5.19.10/arch/arm64/crypto/
Daes-glue.c727 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cbcmac_setkey()
744 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_setkey()
774 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in xcbc_setkey()
834 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in mac_update()
874 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cbcmac_final()
886 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cmac_final()
Dghash-ce-glue.c124 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
161 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
189 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()

12