Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c30 static int rk_aes_setkey(struct crypto_ablkcipher *cipher, in rk_aes_setkey()
46 static int rk_des_setkey(struct crypto_ablkcipher *cipher, in rk_des_setkey()
61 static int rk_tdes_setkey(struct crypto_ablkcipher *cipher, in rk_tdes_setkey()
78 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_encrypt()
88 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_decrypt()
98 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_encrypt()
108 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_decrypt()
118 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_encrypt()
128 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_decrypt()
138 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_cbc_encrypt()
[all …]
/Linux-v5.4/include/linux/
Dcrypto.h142 struct crypto_ablkcipher;
233 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key,
719 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key,
724 struct crypto_ablkcipher *base;
779 struct crypto_ablkcipher { struct
897 static inline struct crypto_ablkcipher *__crypto_ablkcipher_cast( in __crypto_ablkcipher_cast()
900 return (struct crypto_ablkcipher *)tfm; in __crypto_ablkcipher_cast()
948 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_tfm()
957 static inline void crypto_free_ablkcipher(struct crypto_ablkcipher *tfm) in crypto_free_ablkcipher()
980 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_crt()
[all …]
/Linux-v5.4/drivers/crypto/cavium/cpt/
Dcptvf_algs.c98 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in create_ctx_hdr()
194 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in cvm_enc_dec()
230 static int cvm_xts_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_xts_setkey()
287 static int cvm_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_setkey()
304 static int cvm_cbc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cbc_aes_setkey()
310 static int cvm_ecb_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_ecb_aes_setkey()
316 static int cvm_cfb_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cfb_aes_setkey()
322 static int cvm_cbc_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cbc_des3_setkey()
329 static int cvm_ecb_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_ecb_des3_setkey()
/Linux-v5.4/include/crypto/internal/
Ddes.h120 static inline int verify_ablkcipher_des_key(struct crypto_ablkcipher *tfm, in verify_ablkcipher_des_key()
126 static inline int verify_ablkcipher_des3_key(struct crypto_ablkcipher *tfm, in verify_ablkcipher_des3_key()
/Linux-v5.4/drivers/crypto/qce/
Dablkcipher.c56 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in qce_ablkcipher_async_req_handle()
152 static int qce_ablkcipher_setkey(struct crypto_ablkcipher *ablk, const u8 *key, in qce_ablkcipher_setkey()
180 static int qce_des_setkey(struct crypto_ablkcipher *ablk, const u8 *key, in qce_des_setkey()
195 static int qce_des3_setkey(struct crypto_ablkcipher *ablk, const u8 *key, in qce_des3_setkey()
/Linux-v5.4/include/crypto/
Dalgapi.h274 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_alg()
279 static inline void *crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm) in crypto_ablkcipher_ctx()
284 static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher *tfm) in crypto_ablkcipher_ctx_aligned()
/Linux-v5.4/drivers/crypto/virtio/
Dvirtio_crypto_algs.c302 static int virtio_crypto_ablkcipher_setkey(struct crypto_ablkcipher *tfm, in virtio_crypto_ablkcipher_setkey()
348 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in __virtio_crypto_ablkcipher_do_req()
478 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in virtio_crypto_ablkcipher_encrypt()
498 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in virtio_crypto_ablkcipher_decrypt()
/Linux-v5.4/crypto/
Dskcipher.c587 return sizeof(struct crypto_ablkcipher *); in crypto_skcipher_extsize()
700 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_setkey_ablkcipher()
701 struct crypto_ablkcipher *ablkcipher = *ctx; in skcipher_setkey_ablkcipher()
725 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_crypt_ablkcipher()
757 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_exit_skcipher_ops_ablkcipher()
766 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_skcipher_ops_ablkcipher()
767 struct crypto_ablkcipher *ablkcipher; in crypto_init_skcipher_ops_ablkcipher()
Dablkcipher.c295 static int setkey_unaligned(struct crypto_ablkcipher *tfm, const u8 *key, in setkey_unaligned()
317 static int setkey(struct crypto_ablkcipher *tfm, const u8 *key, in setkey()
Dblkcipher.c406 static int async_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in async_setkey()
/Linux-v5.4/drivers/crypto/ux500/cryp/
Dcryp_core.c833 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_dma_crypt()
891 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_crypt()
951 static int aes_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in aes_ablkcipher_setkey()
986 static int des_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des_ablkcipher_setkey()
1005 static int des3_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des3_ablkcipher_setkey()
1026 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_encrypt()
1044 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_decrypt()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes.c37 static int ccp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_setkey()
151 static int ccp_aes_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_rfc3686_setkey()
Dccp-crypto-des3.c36 static int ccp_des3_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_des3_setkey()
Dccp-crypto-aes-xts.c75 static int ccp_aes_xts_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_xts_setkey()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_algs.c1015 static int qat_alg_ablkcipher_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_setkey()
1027 static int qat_alg_ablkcipher_cbc_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_cbc_setkey()
1034 static int qat_alg_ablkcipher_ctr_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_ctr_setkey()
1041 static int qat_alg_ablkcipher_xts_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_xts_setkey()
1050 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_encrypt()
1110 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_decrypt()
/Linux-v5.4/drivers/crypto/
Dpicoxcell_crypto.c736 static int spacc_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_des_setkey()
756 static int spacc_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_des3_setkey()
776 static int spacc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_aes_setkey()
825 static int spacc_kasumi_f8_setkey(struct crypto_ablkcipher *cipher, in spacc_kasumi_f8_setkey()
1047 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_encrypt()
1056 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_decrypt()
Dixp4xx_crypto.c812 static int ablk_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_setkey()
848 static int ablk_des3_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_des3_setkey()
855 static int ablk_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_rfc3686_setkey()
873 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_perform()
956 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_rfc3686_crypt()
Dtalitos.c1493 static int ablkcipher_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_setkey()
1510 static int ablkcipher_des_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_des_setkey()
1517 static int ablkcipher_des3_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_des3_setkey()
1524 static int ablkcipher_aes_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_aes_setkey()
1555 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_done()
1576 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in common_nonsnoop()
1644 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_edesc_alloc()
1655 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_encrypt()
1680 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_decrypt()
Dn2_core.c728 static int n2_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_aes_setkey()
757 static int n2_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_des_setkey()
776 static int n2_3des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_3des_setkey()
795 static int n2_arc4_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_arc4_setkey()
Dmxs-dcp.c427 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in mxs_dcp_block_fallback()
491 static int mxs_dcp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in mxs_dcp_aes_setkey()
Domap-des.c649 static int omap_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in omap_des_setkey()
667 static int omap_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in omap_des3_setkey()
Datmel-aes.c507 struct crypto_ablkcipher *ablkcipher = in atmel_aes_complete()
1092 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in atmel_aes_crypt()
1137 static int atmel_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in atmel_aes_setkey()
1918 static int atmel_aes_xts_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in atmel_aes_xts_setkey()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_crypto.h163 static inline struct chcr_context *c_ctx(struct crypto_ablkcipher *tfm) in c_ctx()
Dchcr_algo.c760 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(wrparam->req); in create_cipher_wr()
869 static int chcr_cipher_fallback_setkey(struct crypto_ablkcipher *cipher, in chcr_cipher_fallback_setkey()
889 static int chcr_aes_cbc_setkey(struct crypto_ablkcipher *cipher, in chcr_aes_cbc_setkey()
921 static int chcr_aes_ctr_setkey(struct crypto_ablkcipher *cipher, in chcr_aes_ctr_setkey()
952 static int chcr_aes_rfc3686_setkey(struct crypto_ablkcipher *cipher, in chcr_aes_rfc3686_setkey()
1023 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_update_tweak()
1057 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_update_cipher_iv()
1091 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_final_cipher_iv()
1114 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in chcr_handle_cipher_resp()
1193 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in process_cipher()
[all …]
/Linux-v5.4/drivers/crypto/stm32/
Dstm32-cryp.c746 static int stm32_cryp_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_setkey()
757 static int stm32_cryp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_aes_setkey()
767 static int stm32_cryp_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_des_setkey()
774 static int stm32_cryp_tdes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in stm32_cryp_tdes_setkey()

12