/linux/include/crypto/ |
A D | skcipher.h | 190 static inline struct crypto_tfm *crypto_skcipher_tfm( in crypto_skcipher_tfm() function 204 crypto_destroy_tfm(tfm, crypto_skcipher_tfm(tfm)); in crypto_free_skcipher() 227 return crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm)); in crypto_skcipher_driver_name() 233 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg() 275 return crypto_tfm_alg_blocksize(crypto_skcipher_tfm(tfm)); in crypto_skcipher_blocksize() 310 return crypto_tfm_alg_alignmask(crypto_skcipher_tfm(tfm)); in crypto_skcipher_alignmask() 315 return crypto_tfm_get_flags(crypto_skcipher_tfm(tfm)); in crypto_skcipher_get_flags() 321 crypto_tfm_set_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_set_flags() 327 crypto_tfm_clear_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_clear_flags() 467 req->base.tfm = crypto_skcipher_tfm(tfm); in skcipher_request_set_tfm()
|
/linux/include/crypto/internal/ |
A D | des.h | 102 return crypto_des_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des_key() 108 return crypto_des3_ede_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des3_key()
|
/linux/drivers/crypto/cavium/nitrox/ |
A D | nitrox_skcipher.c | 169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey() 340 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_xts_setkey() 365 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_ctr_rfc3686_setkey()
|
/linux/drivers/crypto/rockchip/ |
A D | rk3288_crypto_skcipher.c | 34 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_aes_setkey() 201 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_ablk_hw_init() 386 ctx->dev->align_size = crypto_tfm_alg_alignmask(crypto_skcipher_tfm(tfm)) + 1; in rk_ablk_init_tfm()
|
/linux/arch/sparc/crypto/ |
A D | des_glue.c | 68 return des_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des_set_key_skcipher() 217 return des3_ede_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des3_ede_set_key_skcipher()
|
A D | camellia_glue.c | 56 return camellia_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in camellia_set_key_skcipher()
|
A D | aes_glue.c | 202 return aes_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in aes_set_key_skcipher()
|
/linux/arch/s390/crypto/ |
A D | des_s390.c | 52 return des_setkey(crypto_skcipher_tfm(tfm), key, key_len); in des_setkey_skcipher() 217 return des3_setkey(crypto_skcipher_tfm(tfm), key, key_len); in des3_setkey_skcipher()
|
/linux/drivers/crypto/cavium/cpt/ |
A D | cptvf_algs.c | 235 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_xts_setkey() 292 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_setkey()
|
/linux/drivers/crypto/ |
A D | ixp4xx_crypto.c | 631 struct crypto_tfm *ctfm = crypto_skcipher_tfm(tfm); in init_tfm_ablk() 644 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(ctx->fallback_tfm)) in init_tfm_ablk() 648 return init_tfm(crypto_skcipher_tfm(tfm)); in init_tfm_ablk() 667 struct crypto_tfm *ctfm = crypto_skcipher_tfm(tfm); in exit_tfm_ablk() 671 exit_tfm(crypto_skcipher_tfm(tfm)); in exit_tfm_ablk()
|
A D | padlock-aes.c | 165 return aes_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in aes_set_key_skcipher()
|
A D | n2_core.c | 729 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_aes_setkey() 757 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_des_setkey() 776 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_3des_setkey()
|
/linux/arch/x86/crypto/ |
A D | aesni-intel_glue.c | 274 return aes_set_key_common(crypto_skcipher_tfm(tfm), in aesni_skcipher_setkey() 829 err = aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_crypt_ctx, in xts_aesni_setkey() 835 return aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_tweak_ctx, in xts_aesni_setkey()
|
/linux/drivers/crypto/ccree/ |
A D | cc_cipher.c | 304 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_sethkey() 404 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_setkey() 881 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_process()
|
/linux/drivers/crypto/gemini/ |
A D | sl3516-ce-cipher.c | 334 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm))); in sl3516_ce_cipher_init()
|
/linux/drivers/crypto/hisilicon/sec/ |
A D | sec_algs.c | 147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context() 711 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_crypto()
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
A D | sun8i-ss-cipher.c | 351 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm))); in sun8i_ss_cipher_init()
|
/linux/drivers/crypto/qce/ |
A D | skcipher.c | 173 struct crypto_tfm *tfm = crypto_skcipher_tfm(ablk); in qce_skcipher_setkey()
|
/linux/arch/powerpc/crypto/ |
A D | aes-spe-glue.c | 122 return ppc_aes_setkey(crypto_skcipher_tfm(tfm), in_key, key_len); in ppc_aes_setkey_skcipher()
|
/linux/drivers/crypto/inside-secure/ |
A D | safexcel_cipher.c | 375 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() 1415 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesctr_setkey() 2450 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesxts_setkey() 3068 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4_setkey() 3260 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4ctr_setkey()
|
/linux/drivers/crypto/allwinner/sun8i-ce/ |
A D | sun8i-ce-cipher.c | 401 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm))); in sun8i_ce_cipher_init()
|
/linux/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf_algs.c | 238 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr() 401 ret = xts_check_key(crypto_skcipher_tfm(tfm), key, keylen); in otx_cpt_skcipher_xts_setkey()
|
/linux/drivers/crypto/marvell/cesa/ |
A D | cipher.c | 263 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in mv_cesa_aes_setkey()
|
/linux/drivers/crypto/qat/qat_common/ |
A D | qat_algs.c | 1172 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_encrypt() 1241 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_decrypt()
|
/linux/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptvf_algs.c | 415 ret = xts_check_key(crypto_skcipher_tfm(tfm), key, keylen); in otx2_cpt_skcipher_xts_setkey() 531 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in otx2_cpt_enc_dec_init()
|