/linux/crypto/ |
H A D | hmac.c | 37 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 D | cmac.c | 53 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 D | xxhash_generic.c | 23 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 D | crc32_generic.c | 39 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()
|
H A 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() 117 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest()
|
H A D | ghash-generic.c | 58 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 D | polyval-generic.c | 122 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 D | xcbc.c | 54 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 D | nhpoly1305.c | 128 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 D | michael_mic.c | 50 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()
|
/linux/arch/x86/crypto/ |
H A D | crc32c-intel_glue.c | 86 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()
|
H A D | crc32-pclmul_glue.c | 95 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()
|
H A D | ghash-clmulni-intel_glue.c | 57 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()
|
/linux/arch/sparc/crypto/ |
H A D | crc32c_glue.c | 35 u32 *mctx = crypto_shash_ctx(hash); in crc32c_sparc64_setkey() 45 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_sparc64_init() 110 return __crc32c_sparc64_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_sparc64_digest()
|
/linux/drivers/crypto/xilinx/ |
H A D | zynqmp-sha.c | 49 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_init_tfm() 71 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_exit_tfm() 84 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_init() 114 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_import()
|
/linux/arch/powerpc/crypto/ |
H A D | crc32c-vpmsum_glue.c | 74 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/arch/riscv/crypto/ |
H A D | ghash-riscv64-glue.c | 36 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 D | polyval-ce-glue.c | 75 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 D | sm4-ce-glue.c | 510 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()
|
/linux/arch/s390/crypto/ |
H A D | crc32-vx.c | 97 struct crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in crc32_vx_init() 107 struct crc_ctx *mctx = crypto_shash_ctx(tfm); in crc32_vx_setkey() 118 struct crc_ctx *mctx = crypto_shash_ctx(tfm); in crc32be_vx_setkey() 196 return __ ## alg ## _vx_finup(crypto_shash_ctx(desc->tfm), \
|
H A 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/arch/loongarch/crypto/ |
H A D | crc32-loongarch.c | 113 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_init() 127 struct chksum_ctx *mctx = crypto_shash_ctx(tfm); in chksum_setkey() 197 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest() 204 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksumc_digest()
|
/linux/arch/mips/crypto/ |
H A D | crc32-mips.c | 168 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/include/crypto/internal/ |
H A D | blake2b.h | 75 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/drivers/crypto/stm32/ |
H A D | stm32-crc32.c | 93 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()
|