| /linux/drivers/crypto/allwinner/sun4i-ss/ |
| H A D | sun4i-ss-cipher.c | 18 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_opti_poll() 151 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cipher_poll_fallback() 179 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cipher_poll() 400 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cbc_aes_encrypt() 411 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cbc_aes_decrypt() 423 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_ecb_aes_encrypt() 434 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_ecb_aes_decrypt() 446 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cbc_des_encrypt() 457 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cbc_des_decrypt() 469 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_ecb_des_encrypt() [all …]
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-neon-glue.c | 31 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_setkey() 64 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_encrypt() 72 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_decrypt() 80 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_encrypt() 112 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_decrypt() 140 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ctr_crypt()
|
| H A D | aes-neonbs-glue.c | 78 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_setkey() 99 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in __ecb_crypt() 135 struct aesbs_cbc_ctr_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_cbc_ctr_setkey() 157 struct aesbs_cbc_ctr_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt() 180 struct aesbs_cbc_ctr_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt() 207 struct aesbs_cbc_ctr_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_encrypt() 253 struct aesbs_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_xts_setkey() 280 struct aesbs_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in __xts_crypt()
|
| H A D | aes-glue.c | 140 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in skcipher_aes_setkey() 148 struct crypto_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_set_key() 166 struct crypto_aes_essiv_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in essiv_cbc_set_key() 182 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt() 201 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() 221 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk() 249 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt_walk() 276 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cts_cbc_encrypt() 332 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cts_cbc_decrypt() 388 struct crypto_aes_essiv_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in essiv_cbc_encrypt() [all …]
|
| H A D | sm4-ce-glue.c | 72 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_setkey() 86 struct sm4_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_xts_setkey() 136 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_encrypt() 144 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_decrypt() 186 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_encrypt() 194 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_decrypt() 202 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_cts_crypt() 272 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ctr_crypt() 313 struct sm4_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_xts_crypt()
|
| /linux/drivers/crypto/ti/ |
| H A D | dthev2-aes.c | 94 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in dthe_cipher_init_tfm() 105 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in dthe_cipher_xts_init_tfm() 123 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in dthe_cipher_xts_exit_tfm() 130 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in dthe_aes_setkey() 143 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in dthe_aes_ecb_setkey() 152 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in dthe_aes_cbc_setkey() 161 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in dthe_aes_xts_setkey() 265 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(crypto_skcipher_reqtfm(req)); in dthe_aes_run() 402 struct dthe_tfm_ctx *ctx = crypto_skcipher_ctx(crypto_skcipher_reqtfm(req)); in dthe_aes_crypt()
|
| /linux/drivers/crypto/gemini/ |
| H A D | sl3516-ce-cipher.c | 28 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_need_fallback() 106 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_cipher_fallback() 130 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_cipher() 281 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_skdecrypt() 299 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_skencrypt() 365 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_aes_setkey()
|
| /linux/crypto/ |
| H A D | chacha.c | 23 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_setkey() 77 const struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_chacha_crypt() 85 const struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_xchacha_crypt()
|
| H A D | hctr2.c | 99 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_setkey() 137 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_hash_tweak() 181 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_finish() 212 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_crypt() 277 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_init_tfm() 310 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_exit_tfm()
|
| H A D | simd.c | 53 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_setkey() 65 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_encrypt() 86 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_decrypt() 106 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_exit() 113 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_init()
|
| H A D | essiv.c | 69 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_setkey() 144 const struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_crypt() 299 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_init_tfm() 355 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_exit_tfm()
|
| /linux/arch/powerpc/crypto/ |
| H A D | aes-spe-glue.c | 128 struct ppc_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in ppc_xts_setkey() 183 struct ppc_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ppc_ecb_crypt() 222 struct ppc_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ppc_cbc_crypt() 263 struct ppc_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ppc_ctr_crypt() 289 struct ppc_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in ppc_xts_crypt() 323 struct ppc_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in ppc_xts_encrypt() 361 struct ppc_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in ppc_xts_decrypt()
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_skcipher.c | 110 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_skcipher_init() 137 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_cbc_init() 149 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_skcipher_exit() 250 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); in nitrox_skcipher_crypt() 340 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); in nitrox_aes_xts_setkey() 364 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); in nitrox_aes_ctr_rfc3686_setkey()
|
| /linux/arch/riscv/crypto/ |
| H A D | aes-riscv64-glue.c | 100 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_setkey_skcipher() 138 const struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_ecb_crypt() 176 const struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_cbc_crypt() 216 const struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_cbc_cts_crypt() 280 const struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_ctr_crypt() 347 struct riscv64_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_xts_setkey() 357 const struct riscv64_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_xts_crypt()
|
| /linux/drivers/crypto/amlogic/ |
| H A D | amlogic-gxl-cipher.c | 61 struct meson_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in meson_cipher_do_fallback() 87 struct meson_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in meson_cipher() 277 struct meson_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in meson_skdecrypt() 295 struct meson_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in meson_skencrypt() 347 struct meson_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in meson_aes_setkey()
|
| /linux/arch/x86/crypto/ |
| H A D | aria_aesni_avx_glue.c | 65 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx_ecb_encrypt() 73 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx_ecb_decrypt() 88 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx_ctr_encrypt()
|
| H A D | aria_aesni_avx2_glue.c | 67 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx2_ecb_encrypt() 75 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx2_ecb_decrypt() 90 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); in aria_avx2_ctr_encrypt()
|
| H A D | aesni-intel_glue.c | 95 return aes_align_addr(crypto_skcipher_ctx(tfm)); in aes_xts_ctx() 152 return aes_set_key_common(aes_ctx(crypto_skcipher_ctx(tfm)), key, len); in aesni_skcipher_setkey() 158 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt() 180 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_decrypt() 202 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_encrypt() 224 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_decrypt() 246 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cts_cbc_encrypt() 302 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cts_cbc_decrypt() 360 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt_aesni() 661 const struct crypto_aes_ctx *key = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt() [all …]
|
| H A D | ecb_cbc_helpers.h | 15 void *ctx = crypto_skcipher_ctx(crypto_skcipher_reqtfm(req)); \
|
| /linux/drivers/crypto/ |
| H A D | geode-aes.c | 139 struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_setkey_skcipher() 241 struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_init_skcipher() 258 struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_exit_skcipher() 266 const struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_skcipher_crypt()
|
| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_skcipher.c | 71 struct rk_cipher_ctx *op = crypto_skcipher_ctx(tfm); in rk_cipher_fallback() 126 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_des_setkey() 142 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_tdes_setkey() 257 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_cipher_hw_init() 435 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_cipher_tfm_init() 455 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_cipher_tfm_exit()
|
| /linux/include/crypto/internal/ |
| H A D | skcipher.h | 230 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) in crypto_skcipher_ctx() function 272 struct skcipher_ctx_simple *ctx = crypto_skcipher_ctx(tfm); in skcipher_cipher_simple()
|
| /linux/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.c | 99 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(tfm); in create_ctx_hdr() 235 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(cipher); in cvm_xts_setkey() 291 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(cipher); in cvm_setkey()
|
| /linux/arch/s390/crypto/ |
| H A D | des_s390.c | 92 struct s390_des_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_desall_crypt() 111 struct s390_des_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_desall_crypt() 321 struct s390_des_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_desall_crypt()
|
| /linux/drivers/crypto/axis/ |
| H A D | artpec6_crypto.c | 1089 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher); in artpec6_crypto_encrypt() 1135 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher); in artpec6_crypto_decrypt() 1180 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher); in artpec6_crypto_ctr_crypt() 1536 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm); in artpec6_crypto_aes_ecb_init() 1547 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm); in artpec6_crypto_aes_ctr_init() 1564 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm); in artpec6_crypto_aes_cbc_init() 1575 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm); in artpec6_crypto_aes_xts_init() 1586 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm); in artpec6_crypto_aes_exit() 1593 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm); in artpec6_crypto_aes_ctr_exit() 1604 crypto_skcipher_ctx(cipher); in artpec6_crypto_cipher_set_key() [all …]
|