Home
last modified time | relevance | path

Searched refs:crypto_ablkcipher (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v4.19/include/linux/
Dcrypto.h155 struct crypto_ablkcipher;
266 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key,
551 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key,
556 struct crypto_ablkcipher *base;
611 struct crypto_ablkcipher { struct
729 static inline struct crypto_ablkcipher *__crypto_ablkcipher_cast( in __crypto_ablkcipher_cast()
732 return (struct crypto_ablkcipher *)tfm; in __crypto_ablkcipher_cast()
780 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_tfm()
789 static inline void crypto_free_ablkcipher(struct crypto_ablkcipher *tfm) in crypto_free_ablkcipher()
812 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_crt()
[all …]
/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c33 static int rk_aes_setkey(struct crypto_ablkcipher *cipher, in rk_aes_setkey()
49 static int rk_tdes_setkey(struct crypto_ablkcipher *cipher, in rk_tdes_setkey()
76 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_encrypt()
86 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_decrypt()
96 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_encrypt()
106 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_decrypt()
116 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_encrypt()
126 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_decrypt()
136 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_cbc_encrypt()
146 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_cbc_decrypt()
[all …]
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_algs.c103 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in create_ctx_hdr()
199 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in cvm_enc_dec()
235 static int cvm_xts_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_xts_setkey()
292 static int cvm_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_setkey()
309 static int cvm_cbc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cbc_aes_setkey()
315 static int cvm_ecb_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_ecb_aes_setkey()
321 static int cvm_cfb_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cfb_aes_setkey()
327 static int cvm_cbc_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cbc_des3_setkey()
333 static int cvm_ecb_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_ecb_des3_setkey()
/Linux-v4.19/include/crypto/
Dcryptd.h22 struct crypto_ablkcipher base;
26 struct crypto_ablkcipher *tfm) in __cryptd_ablkcipher_cast()
Dalgapi.h278 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_alg()
283 static inline void *crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm) in crypto_ablkcipher_ctx()
288 static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher *tfm) in crypto_ablkcipher_ctx_aligned()
378 struct crypto_ablkcipher *tfm) in ablkcipher_tfm_in_queue()
/Linux-v4.19/crypto/
Dskcipher.c582 return sizeof(struct crypto_ablkcipher *); in crypto_skcipher_extsize()
688 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_setkey_ablkcipher()
689 struct crypto_ablkcipher *ablkcipher = *ctx; in skcipher_setkey_ablkcipher()
711 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_crypt_ablkcipher()
743 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_exit_skcipher_ops_ablkcipher()
752 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_skcipher_ops_ablkcipher()
753 struct crypto_ablkcipher *ablkcipher; in crypto_init_skcipher_ops_ablkcipher()
Dablkcipher.c300 static int setkey_unaligned(struct crypto_ablkcipher *tfm, const u8 *key, in setkey_unaligned()
322 static int setkey(struct crypto_ablkcipher *tfm, const u8 *key, in setkey()
Dcryptd.c219 static int cryptd_blkcipher_setkey(struct crypto_ablkcipher *parent, in cryptd_blkcipher_setkey()
245 struct crypto_ablkcipher *tfm; in cryptd_blkcipher_crypt()
297 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in cryptd_blkcipher_enqueue()
/Linux-v4.19/drivers/crypto/virtio/
Dvirtio_crypto_algs.c316 static int virtio_crypto_ablkcipher_setkey(struct crypto_ablkcipher *tfm, in virtio_crypto_ablkcipher_setkey()
362 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in __virtio_crypto_ablkcipher_do_req()
492 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in virtio_crypto_ablkcipher_encrypt()
512 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in virtio_crypto_ablkcipher_decrypt()
/Linux-v4.19/drivers/crypto/
Dmxc-scc.c452 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in mxc_scc_ecb_des_encrypt()
462 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in mxc_scc_ecb_des_decrypt()
473 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in mxc_scc_cbc_des_encrypt()
484 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in mxc_scc_cbc_des_decrypt()
Dpicoxcell_crypto.c749 static int spacc_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_des_setkey()
777 static int spacc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_aes_setkey()
826 static int spacc_kasumi_f8_setkey(struct crypto_ablkcipher *cipher, in spacc_kasumi_f8_setkey()
1049 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_encrypt()
1058 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_decrypt()
Dixp4xx_crypto.c826 static int ablk_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_setkey()
862 static int ablk_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_rfc3686_setkey()
880 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_perform()
963 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_rfc3686_crypt()
Dmxs-dcp.c381 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in mxs_dcp_block_fallback()
445 static int mxs_dcp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in mxs_dcp_aes_setkey()
Dn2_core.c729 static int n2_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_aes_setkey()
758 static int n2_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_des_setkey()
785 static int n2_3des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_3des_setkey()
803 static int n2_arc4_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_arc4_setkey()
/Linux-v4.19/drivers/crypto/ux500/cryp/
Dcryp_core.c827 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_dma_crypt()
885 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_crypt()
945 static int aes_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in aes_ablkcipher_setkey()
980 static int des_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des_ablkcipher_setkey()
1011 static int des3_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des3_ablkcipher_setkey()
1056 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_encrypt()
1074 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_decrypt()
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes.c40 static int ccp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_setkey()
155 static int ccp_aes_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_rfc3686_setkey()
Dccp-crypto-des3.c39 static int ccp_des3_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_des3_setkey()
Dccp-crypto-aes-xts.c78 static int ccp_aes_xts_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_xts_setkey()
/Linux-v4.19/drivers/crypto/caam/
Dcaamalg.c651 static int ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in ablkcipher_setkey()
716 static int xts_ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in xts_ablkcipher_setkey()
825 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_unmap()
889 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_encrypt_done()
942 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_decrypt_done()
1112 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in init_ablkcipher_job()
1158 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in init_ablkcipher_giv_job()
1484 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_edesc_alloc()
1605 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_encrypt()
1639 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_decrypt()
[all …]
Dcaamalg_qi.c592 static int ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in ablkcipher_setkey()
674 static int xts_ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in xts_ablkcipher_setkey()
842 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_unmap()
1145 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_done()
1196 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_edesc_alloc()
1338 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_giv_edesc_alloc()
1475 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_crypt()
1521 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_givencrypt()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_algs.c907 static int qat_alg_ablkcipher_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_setkey()
968 static int qat_alg_ablkcipher_cbc_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_cbc_setkey()
975 static int qat_alg_ablkcipher_ctr_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_ctr_setkey()
982 static int qat_alg_ablkcipher_xts_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_xts_setkey()
991 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_encrypt()
1028 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_decrypt()
/Linux-v4.19/drivers/crypto/qce/
Dablkcipher.c64 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in qce_ablkcipher_async_req_handle()
160 static int qce_ablkcipher_setkey(struct crypto_ablkcipher *ablk, const u8 *key, in qce_ablkcipher_setkey()
/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_crypto.h162 static inline struct chcr_context *c_ctx(struct crypto_ablkcipher *tfm) in c_ctx()
Dchcr_algo.c742 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(wrparam->req); in create_cipher_wr()
851 static int chcr_cipher_fallback_setkey(struct crypto_ablkcipher *cipher, in chcr_cipher_fallback_setkey()
870 static int chcr_aes_cbc_setkey(struct crypto_ablkcipher *cipher, in chcr_aes_cbc_setkey()
902 static int chcr_aes_ctr_setkey(struct crypto_ablkcipher *cipher, in chcr_aes_ctr_setkey()
933 static int chcr_aes_rfc3686_setkey(struct crypto_ablkcipher *cipher, in chcr_aes_rfc3686_setkey()
1004 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_update_tweak()
1038 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_update_cipher_iv()
1072 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_final_cipher_iv()
1095 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_handle_cipher_resp()
1172 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in process_cipher()
[all …]
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-cryp.c732 static int stm32_cryp_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_setkey()
743 static int stm32_cryp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_aes_setkey()
753 static int stm32_cryp_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_des_setkey()
762 static int stm32_cryp_tdes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_tdes_setkey()

12