| /linux/crypto/ ! |
| H A D | cmac.c | 40 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cmac_digest_setkey() 103 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update() 121 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_finup() 140 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_init_tfm() 156 struct cmac_tfm_ctx *octx = crypto_shash_ctx(otfm); in cmac_clone_tfm() 157 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_clone_tfm() 171 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.c | 39 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey() 49 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init() 90 return __crc32_finup(crypto_shash_ctx(desc->tfm), data, len, out); in crc32_digest()
|
| H A D | hmac.c | 41 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_setkey() 92 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_import() 108 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_import_core() 117 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_init() 137 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_finup() 151 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_init_tfm() 163 struct hmac_ctx *sctx = crypto_shash_ctx(src); in hmac_clone_tfm() 164 struct hmac_ctx *dctx = crypto_shash_ctx(dst); in hmac_clone_tfm() 177 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_exit_tfm()
|
| H A D | blake2b.c | 20 struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(tfm); in crypto_blake2b_setkey() 33 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_init() 57 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_digest()
|
| H A D | crc32c.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() 98 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_flush()
|
| H A D | xcbc.c | 41 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_setkey() 71 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update() 89 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_finup()
|
| 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()
|
| H A D | sha256.c | 184 #define HMAC_SHA224_KEY(tfm) ((struct hmac_sha224_key *)crypto_shash_ctx(tfm)) 251 #define HMAC_SHA256_KEY(tfm) ((struct hmac_sha256_key *)crypto_shash_ctx(tfm))
|
| H A D | sha512.c | 190 #define HMAC_SHA384_KEY(tfm) ((struct hmac_sha384_key *)crypto_shash_ctx(tfm)) 257 #define HMAC_SHA512_KEY(tfm) ((struct hmac_sha512_key *)crypto_shash_ctx(tfm))
|
| /linux/drivers/crypto/xilinx/ ! |
| H A D | zynqmp-sha.c | 47 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_init_tfm() 74 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_exit_tfm() 89 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_init() 101 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_update() 114 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_finup()
|
| /linux/arch/riscv/crypto/ ! |
| H A D | ghash-riscv64-glue.c | 39 struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(tfm); in riscv64_ghash_setkey() 82 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_update() 93 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_finup()
|
| /linux/arch/x86/crypto/ ! |
| H A D | ghash-clmulni-intel_glue.c | 43 struct x86_ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey() 84 struct x86_ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update() 111 struct x86_ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_finup()
|
| /linux/arch/s390/crypto/ ! |
| H A D | ghash_s390.c | 31 struct s390_ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_init() 43 struct s390_ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey() 96 struct s390_ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_import()
|
| H A D | hmac_s390.c | 169 struct s390_hmac_ctx *tfm_ctx = crypto_shash_ctx(tfm); in s390_hmac_sha2_setkey() 184 struct s390_hmac_ctx *tfm_ctx = crypto_shash_ctx(desc->tfm); in s390_hmac_sha2_init() 277 ctx = crypto_shash_ctx(tfm); in s390_hmac_export_zero()
|
| /linux/drivers/crypto/nx/ ! |
| H A D | nx-aes-xcbc.c | 31 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); in nx_xcbc_set_key() 60 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_xcbc_empty() 139 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(tfm); in nx_crypto_ctx_aes_xcbc_init2() 168 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_xcbc_update() 247 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_xcbc_finup()
|
| H A D | nx-sha512.c | 29 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(tfm); in nx_crypto_ctx_sha512_init() 66 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha512_update() 148 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha512_finup()
|
| H A D | nx-sha256.c | 29 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(tfm); in nx_crypto_ctx_sha256_init() 65 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha256_update() 144 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha256_finup()
|
| H A D | nx.c | 705 return nx_crypto_ctx_init(crypto_shash_ctx(tfm), NX_FC_SHA, NX_MODE_SHA); in nx_crypto_ctx_sha_init() 710 return nx_crypto_ctx_init(crypto_shash_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_xcbc_init() 747 nx_crypto_ctx_exit(crypto_shash_ctx(tfm)); in nx_crypto_ctx_shash_exit()
|
| /linux/drivers/crypto/ ! |
| H A D | padlock-sha.c | 60 struct padlock_sha_ctx *ctx = crypto_shash_ctx(tfm); in padlock_sha_update() 105 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); in padlock_sha_finup() 161 struct padlock_sha_ctx *ctx = crypto_shash_ctx(hash); in padlock_init_tfm() 187 struct padlock_sha_ctx *ctx = crypto_shash_ctx(hash); in padlock_exit_tfm()
|
| /linux/arch/arm64/crypto/ ! |
| H A D | sm4-ce-glue.c | 493 struct sm4_mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in sm4_cbcmac_setkey() 507 struct sm4_mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in sm4_cmac_setkey() 541 struct sm4_mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in sm4_xcbc_setkey() 577 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_mac_update() 591 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cmac_finup() 610 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cbcmac_finup()
|
| H A D | aes-glue.c | 768 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cbcmac_setkey() 785 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in cmac_setkey() 814 struct mac_tfm_ctx *ctx = crypto_shash_ctx(tfm); in xcbc_setkey() 856 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in mac_update() 868 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cbcmac_finup() 882 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cmac_finup()
|
| H A D | ghash-ce-glue.c | 89 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update() 130 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_finup() 157 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
|
| /linux/arch/arm/crypto/ ! |
| H A D | ghash-ce-glue.c | 83 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update() 115 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_finup() 142 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
|