| /Linux-v5.4/crypto/ |
| D | xxhash_generic.c | 23 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()
|
| D | crc32_generic.c | 61 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()
|
| D | crc32c_generic.c | 59 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()
|
| D | ghash-generic.c | 58 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()
|
| D | xcbc.c | 54 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()
|
| D | nhpoly1305.c | 127 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()
|
| D | michael_mic.c | 50 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()
|
| D | cmac.c | 53 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()
|
| D | vmac.c | 432 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()
|
| D | ccm.c | 835 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/ |
| D | crc32c-intel_glue.c | 92 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()
|
| D | crc32-pclmul_glue.c | 95 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()
|
| D | ghash-clmulni-intel_glue.c | 56 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/ |
| D | crc32c_glue.c | 34 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/ |
| D | crc32c-vpmsum_glue.c | 74 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/ |
| D | crc32-vx.c | 102 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), \
|
| D | ghash_s390.c | 33 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/ |
| D | crc32-mips.c | 162 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/ |
| D | stm32-crc32.c | 86 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/ |
| D | ghash-ce-glue.c | 107 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()
|
| D | crc32-ce-glue.c | 55 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/ |
| D | ghash-ce-glue.c | 131 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()
|
| D | aes-glue.c | 793 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/ |
| D | padlock-sha.c | 34 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/ |
| D | hash.h | 199 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() function
|