Home
last modified time | relevance | path

Searched refs:crypto_ablkcipher_tfm (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/include/crypto/internal/
Ddes.h123 return crypto_des_verify_key(crypto_ablkcipher_tfm(tfm), key); in verify_ablkcipher_des_key()
129 return crypto_des3_ede_verify_key(crypto_ablkcipher_tfm(tfm), key); in verify_ablkcipher_des3_key()
/Linux-v5.4/include/linux/
Dcrypto.h947 static inline struct crypto_tfm *crypto_ablkcipher_tfm( in crypto_ablkcipher_tfm() function
959 crypto_free_tfm(crypto_ablkcipher_tfm(tfm)); in crypto_free_ablkcipher()
982 return &crypto_ablkcipher_tfm(tfm)->crt_ablkcipher; in crypto_ablkcipher_crt()
1013 return crypto_tfm_alg_blocksize(crypto_ablkcipher_tfm(tfm)); in crypto_ablkcipher_blocksize()
1019 return crypto_tfm_alg_alignmask(crypto_ablkcipher_tfm(tfm)); in crypto_ablkcipher_alignmask()
1024 return crypto_tfm_get_flags(crypto_ablkcipher_tfm(tfm)); in crypto_ablkcipher_get_flags()
1030 crypto_tfm_set_flags(crypto_ablkcipher_tfm(tfm), flags); in crypto_ablkcipher_set_flags()
1036 crypto_tfm_clear_flags(crypto_ablkcipher_tfm(tfm), flags); in crypto_ablkcipher_clear_flags()
1162 req->base.tfm = crypto_ablkcipher_tfm(crypto_ablkcipher_crt(tfm)->base); in ablkcipher_request_set_tfm()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes.c40 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_setkey()
42 ccp_crypto_ablkcipher_alg(crypto_ablkcipher_tfm(tfm)); in ccp_aes_setkey()
154 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_rfc3686_setkey()
Dccp-crypto-des3.c39 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_des3_setkey()
41 ccp_crypto_ablkcipher_alg(crypto_ablkcipher_tfm(tfm)); in ccp_des3_setkey()
Dccp-crypto-aes-xts.c78 struct crypto_tfm *xfm = crypto_ablkcipher_tfm(tfm); in ccp_aes_xts_setkey()
/Linux-v5.4/drivers/crypto/qce/
Dablkcipher.c155 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablk); in qce_ablkcipher_setkey()
213 crypto_ablkcipher_tfm(crypto_ablkcipher_reqtfm(req)); in qce_ablkcipher_crypt()
/Linux-v5.4/drivers/crypto/cavium/cpt/
Dcptvf_algs.c233 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in cvm_xts_setkey()
290 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in cvm_setkey()
/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c33 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in rk_aes_setkey()
202 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in rk_ablk_hw_init()
/Linux-v5.4/drivers/crypto/
Dpicoxcell_crypto.c779 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_aes_setkey()
828 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_kasumi_f8_setkey()
914 crypto_ablkcipher_tfm(crypto_ablkcipher_reqtfm(req)); in spacc_ablk_do_fallback()
1048 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_ablk_encrypt()
1057 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_ablk_decrypt()
Dn2_core.c731 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in n2_aes_setkey()
760 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in n2_des_setkey()
779 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in n2_3des_setkey()
798 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in n2_arc4_setkey()
Domap-des.c459 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( in omap_des_crypt_dma_start()
Datmel-tdes.c505 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( in atmel_tdes_crypt_start()
Dtalitos.c1659 crypto_tfm_alg_blocksize(crypto_ablkcipher_tfm(cipher)); in ablkcipher_encrypt()
1684 crypto_tfm_alg_blocksize(crypto_ablkcipher_tfm(cipher)); in ablkcipher_decrypt()
Ds5p-sss.c2076 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in s5p_aes_setkey()
Datmel-aes.c1924 err = xts_check_key(crypto_ablkcipher_tfm(tfm), key, keylen); in atmel_aes_xts_setkey()
/Linux-v5.4/include/crypto/
Dalgapi.h276 return &crypto_ablkcipher_tfm(tfm)->__crt_alg->cra_ablkcipher; in crypto_ablkcipher_alg()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c810 (!(get_cryptoalg_subtype(crypto_ablkcipher_tfm(tfm)) == in create_cipher_wr()
812 (!(get_cryptoalg_subtype(crypto_ablkcipher_tfm(tfm)) == in create_cipher_wr()
873 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in chcr_cipher_fallback_setkey()
1059 int subtype = get_cryptoalg_subtype(crypto_ablkcipher_tfm(tfm)); in chcr_update_cipher_iv()
1093 int subtype = get_cryptoalg_subtype(crypto_ablkcipher_tfm(tfm)); in chcr_final_cipher_iv()
1162 if (get_cryptoalg_subtype(crypto_ablkcipher_tfm(tfm)) == in chcr_handle_cipher_resp()
1246 if (get_cryptoalg_subtype(crypto_ablkcipher_tfm(tfm)) == in process_cipher()
1250 if (get_cryptoalg_subtype(crypto_ablkcipher_tfm(tfm)) == in process_cipher()
/Linux-v5.4/crypto/
Dblkcipher.c409 return setkey(crypto_ablkcipher_tfm(tfm), key, keylen); in async_setkey()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_algs.c1051 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_encrypt()
1111 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_decrypt()