Home
last modified time | relevance | path

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

/linux/crypto/
H A Dhmac.c37 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_setkey()
86 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_import()
95 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_init()
113 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_final()
129 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_finup()
143 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_init_tfm()
158 struct hmac_ctx *sctx = crypto_shash_ctx(src); in hmac_clone_tfm()
159 struct hmac_ctx *dctx = crypto_shash_ctx(dst); in hmac_clone_tfm()
172 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_exit_tfm()
H A Dcmac.c53 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cmac_digest_setkey()
119 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update()
164 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_final()
197 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_init_tfm()
213 struct cmac_tfm_ctx *octx = crypto_shash_ctx(otfm); in cmac_clone_tfm()
214 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_clone_tfm()
228 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_exit_tfm()
H A Dcrc32_generic.c39 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey()
49 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init()
113 return __crc32_finup(crypto_shash_ctx(desc->tfm), data, len, out); in crc32_digest()
119 return __crc32_finup_arch(crypto_shash_ctx(desc->tfm), data, len, out); in crc32_digest_arch()
H A 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()
H A 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()
141 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest()
149 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest_arch()
H A 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()
H A Dpolyval-generic.c122 struct polyval_tfm_ctx *ctx = crypto_shash_ctx(tfm); in polyval_setkey()
156 const struct polyval_tfm_ctx *ctx = crypto_shash_ctx(desc->tfm); in polyval_update()
196 const struct polyval_tfm_ctx *ctx = crypto_shash_ctx(desc->tfm); in polyval_final()
H A Dxcbc.c54 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_setkey()
87 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update()
132 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_final()
H A 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()
H A 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()
H A Dccm.c779 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_setkey()
799 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_update()
824 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_final()
/linux/arch/riscv/crypto/
H A Dghash-riscv64-glue.c36 struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(tfm); in riscv64_ghash_setkey()
79 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_update()
115 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_final()
/linux/arch/arm64/crypto/
H A Dpolyval-ce-glue.c75 struct polyval_tfm_ctx *tctx = crypto_shash_ctx(tfm); in polyval_arm64_setkey()
105 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_update()
146 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_final()
H A Dsm4-ce-glue.c510 struct sm4_mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in sm4_cbcmac_setkey()
526 struct sm4_mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in sm4_cmac_setkey()
562 struct sm4_mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in sm4_xcbc_setkey()
602 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_mac_update()
652 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cmac_final()
673 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cbcmac_final()
H A Daes-glue.c803 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cbcmac_setkey()
820 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_setkey()
850 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in xcbc_setkey()
910 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in mac_update()
950 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cbcmac_final()
962 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cmac_final()
H A Dghash-ce-glue.c127 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
164 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
192 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
/linux/include/crypto/internal/
H A 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/arch/s390/crypto/
H A 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()
H A Dhmac_s390.c157 struct s390_hmac_ctx *tfm_ctx = crypto_shash_ctx(tfm); in s390_hmac_sha2_setkey()
172 struct s390_hmac_ctx *tfm_ctx = crypto_shash_ctx(desc->tfm); in s390_hmac_sha2_init()
/linux/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c57 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey()
99 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update()
152 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
H A Dpolyval-clmulni_glue.c54 return PTR_ALIGN(crypto_shash_ctx(tfm), POLYVAL_ALIGN); in polyval_tfm_ctx()
/linux/drivers/crypto/
H A 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/arch/arm/crypto/
H A Dghash-ce-glue.c120 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
150 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
176 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
/linux/drivers/crypto/nx/
H A Dnx-aes-xcbc.c32 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); in nx_xcbc_set_key()