/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 375 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local 406 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local 984 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local 1055 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_send() local 1074 static int safexcel_cipher_exit_inv(struct crypto_tfm *tfm, in safexcel_cipher_exit_inv() 1108 static int safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) in safexcel_skcipher_exit_inv() 1123 static int safexcel_aead_exit_inv(struct crypto_tfm *tfm) in safexcel_aead_exit_inv() 1187 static int safexcel_skcipher_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_cra_init() 1206 static int safexcel_cipher_cra_exit(struct crypto_tfm *tfm) in safexcel_cipher_cra_exit() 1220 static void safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) in safexcel_skcipher_cra_exit() [all …]
|
D | safexcel_hash.c | 622 static int safexcel_ahash_exit_inv(struct crypto_tfm *tfm) in safexcel_ahash_exit_inv() 918 static int safexcel_ahash_cra_init(struct crypto_tfm *tfm) in safexcel_ahash_cra_init() 961 static void safexcel_ahash_cra_exit(struct crypto_tfm *tfm) in safexcel_ahash_cra_exit() 1147 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() local 1216 static int safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_alg_setkey() 1225 static int safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha1_setkey() 1378 static int safexcel_hmac_sha224_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha224_setkey() 1450 static int safexcel_hmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha256_setkey() 1636 static int safexcel_hmac_sha512_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha512_setkey() 1708 static int safexcel_hmac_sha384_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha384_setkey() [all …]
|
/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-cipher.c | 17 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local 153 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll_fallback() local 181 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local 405 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() local 416 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() local 428 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() local 439 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() local 451 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() local 462 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() local 474 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_des_encrypt() local [all …]
|
/drivers/crypto/rockchip/ |
D | rk3288_crypto_skcipher.c | 19 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_cipher_need_fallback() local 57 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in rk_cipher_fallback() local 88 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_aes_setkey() local 134 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_ecb_encrypt() local 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_ecb_decrypt() local 156 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_cbc_encrypt() local 167 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_cbc_decrypt() local 178 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_des_ecb_encrypt() local 189 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_des_ecb_decrypt() local 200 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_des_cbc_encrypt() local [all …]
|
D | rk3288_crypto_ahash.c | 40 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() local 56 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local 79 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_reg_init() local 114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() local 127 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() local 142 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() local 156 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() local 173 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() local 186 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() local 221 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_prepare() local [all …]
|
/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 22 int sun8i_ce_hash_crainit(struct crypto_tfm *tfm) in sun8i_ce_hash_crainit() 66 void sun8i_ce_hash_craexit(struct crypto_tfm *tfm) in sun8i_ce_hash_craexit() 77 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() local 91 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() local 103 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() local 115 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() local 138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() local 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() local 178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() local 220 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest() local [all …]
|
D | sun8i-ce-cipher.c | 26 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_need_fallback() local 55 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_fallback() local 82 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_prepare() local 279 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(breq); in sun8i_ce_cipher_run() local 296 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_unprepare() local 341 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skdecrypt() local 360 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skencrypt() local 377 int sun8i_ce_cipher_init(struct crypto_tfm *tfm) in sun8i_ce_cipher_init() 421 void sun8i_ce_cipher_exit(struct crypto_tfm *tfm) in sun8i_ce_cipher_exit() 430 int sun8i_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ce_aes_setkey() [all …]
|
/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 22 int sun8i_ss_hash_crainit(struct crypto_tfm *tfm) in sun8i_ss_hash_crainit() 66 void sun8i_ss_hash_craexit(struct crypto_tfm *tfm) in sun8i_ss_hash_craexit() 77 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() local 91 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() local 103 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() local 115 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() local 138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() local 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() local 178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() local 285 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest() local [all …]
|
D | sun8i-ss-cipher.c | 72 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_cipher_fallback() local 98 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_setup_ivs() local 161 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_cipher() local 327 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_skdecrypt() local 348 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_skencrypt() local 367 int sun8i_ss_cipher_init(struct crypto_tfm *tfm) in sun8i_ss_cipher_init() 412 void sun8i_ss_cipher_exit(struct crypto_tfm *tfm) in sun8i_ss_cipher_exit() 421 int sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ss_aes_setkey() 450 int sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ss_des3_setkey()
|
/drivers/crypto/caam/ |
D | caampkc.c | 59 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_pub_unmap() local 71 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() local 83 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() local 100 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() local 150 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f_done() local 246 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() local 374 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_do_one_req() local 402 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() local 448 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() local 495 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() local [all …]
|
/drivers/crypto/cavium/zip/ |
D | zip_crypto.c | 199 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_deflate() 209 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_lzs() 219 void zip_free_comp_ctx(struct crypto_tfm *tfm) in zip_free_comp_ctx() 226 int zip_comp_compress(struct crypto_tfm *tfm, in zip_comp_compress() 238 int zip_comp_decompress(struct crypto_tfm *tfm, in zip_comp_decompress() 251 void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_deflate() 270 void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_lzs() 289 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *ctx) in zip_free_scomp_ctx() 297 int zip_scomp_compress(struct crypto_scomp *tfm, in zip_scomp_compress() 309 int zip_scomp_decompress(struct crypto_scomp *tfm, in zip_scomp_decompress()
|
/drivers/crypto/keembay/ |
D | keembay-ocs-aes-core.c | 185 static int kmb_ocs_sk_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in kmb_ocs_sk_set_key() 207 static int kmb_ocs_aead_set_key(struct crypto_aead *tfm, const u8 *in_key, in kmb_ocs_aead_set_key() 258 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_validate_input() local 316 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_common() local 379 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_dma_cleanup() local 403 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_prepare_inplace() local 452 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_prepare_notinplace() local 519 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_run() local 601 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in kmb_ocs_aead_validate_input() local 953 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_aes_sk_do_one_request() local [all …]
|
D | keembay-ocs-hcu-core.c | 166 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_find_dev() local 378 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in prepare_ipad() local 416 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_do_one_request() local 565 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_init() local 654 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_fin_common() local 747 static int kmb_ocs_hcu_setkey(struct crypto_ahash *tfm, const u8 *key, in kmb_ocs_hcu_setkey() 823 static void __cra_init(struct crypto_tfm *tfm, struct ocs_hcu_ctx *ctx) in __cra_init() 834 static int kmb_ocs_hcu_sha_cra_init(struct crypto_tfm *tfm) in kmb_ocs_hcu_sha_cra_init() 843 static int kmb_ocs_hcu_sm3_cra_init(struct crypto_tfm *tfm) in kmb_ocs_hcu_sm3_cra_init() 854 static int kmb_ocs_hcu_hmac_sm3_cra_init(struct crypto_tfm *tfm) in kmb_ocs_hcu_hmac_sm3_cra_init() [all …]
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 102 struct crypto_aead *tfm; in validate_hmac_cipher_null() local 238 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr() local 393 static int otx_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_xts_setkey() 422 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_des_setkey() 438 static int cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_aes_setkey() 464 static int otx_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_cbc_aes_setkey() 470 static int otx_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_ecb_aes_setkey() 476 static int otx_cpt_skcipher_cfb_aes_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_cfb_aes_setkey() 482 static int otx_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_cbc_des3_setkey() 488 static int otx_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_ecb_des3_setkey() [all …]
|
/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.c | 86 struct crypto_aead *tfm; in validate_hmac_cipher_null() local 407 static int otx2_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, in otx2_cpt_skcipher_xts_setkey() 439 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_des_setkey() 456 static int cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_aes_setkey() 487 static int otx2_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, in otx2_cpt_skcipher_cbc_aes_setkey() 493 static int otx2_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, in otx2_cpt_skcipher_ecb_aes_setkey() 499 static int otx2_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, in otx2_cpt_skcipher_cbc_des3_setkey() 505 static int otx2_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, in otx2_cpt_skcipher_ecb_des3_setkey() 531 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in otx2_cpt_enc_dec_init() local 546 static void otx2_cpt_skcipher_exit(struct crypto_skcipher *tfm) in otx2_cpt_skcipher_exit() [all …]
|
/drivers/crypto/gemini/ |
D | sl3516-ce-cipher.c | 23 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_need_fallback() local 101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher_fallback() local 125 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher() local 276 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skdecrypt() local 294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skencrypt() local 310 int sl3516_ce_cipher_init(struct crypto_tfm *tfm) in sl3516_ce_cipher_init() 353 void sl3516_ce_cipher_exit(struct crypto_tfm *tfm) in sl3516_ce_cipher_exit() 362 int sl3516_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sl3516_ce_aes_setkey()
|
/drivers/crypto/ |
D | geode-aes.c | 110 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key, in geode_setkey_cip() 136 static int geode_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in geode_setkey_skcipher() 164 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_encrypt() 179 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_decrypt() 192 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 208 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 238 static int geode_init_skcipher(struct crypto_skcipher *tfm) in geode_init_skcipher() 256 static void geode_exit_skcipher(struct crypto_skcipher *tfm) in geode_exit_skcipher() 265 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in geode_skcipher_crypt() local
|
D | ixp4xx_crypto.c | 144 struct crypto_tfm *tfm; member 248 static inline u32 cipher_cfg_enc(struct crypto_tfm *tfm) in cipher_cfg_enc() 253 static inline u32 cipher_cfg_dec(struct crypto_tfm *tfm) in cipher_cfg_dec() 258 static inline const struct ix_hash_algo *ix_hash(struct crypto_tfm *tfm) in ix_hash() 354 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in finish_scattered_hmac() local 392 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in one_packet() local 613 static int init_tfm(struct crypto_tfm *tfm) in init_tfm() 629 static int init_tfm_ablk(struct crypto_skcipher *tfm) in init_tfm_ablk() 651 static int init_tfm_aead(struct crypto_aead *tfm) in init_tfm_aead() 657 static void exit_tfm(struct crypto_tfm *tfm) in exit_tfm() [all …]
|
/drivers/crypto/ccree/ |
D | cc_aead.c | 64 static void cc_aead_exit(struct crypto_aead *tfm) in cc_aead_exit() 118 static unsigned int cc_get_aead_hash_len(struct crypto_aead *tfm) in cc_get_aead_hash_len() 125 static int cc_aead_init(struct crypto_aead *tfm) in cc_aead_init() 212 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); in cc_aead_complete() local 410 static int cc_get_plain_hmac_key(struct crypto_aead *tfm, const u8 *authkey, in cc_get_plain_hmac_key() 541 static int cc_aead_setkey(struct crypto_aead *tfm, const u8 *key, in cc_aead_setkey() 655 static int cc_rfc4309_ccm_setkey(struct crypto_aead *tfm, const u8 *key, in cc_rfc4309_ccm_setkey() 724 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_set_assoc_desc() local 768 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_authen_desc() local 832 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_cipher_desc() local [all …]
|
/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context() local 227 static int sec_alg_skcipher_setkey(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey() 253 static int sec_alg_skcipher_setkey_aes_ecb(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_aes_ecb() 275 static int sec_alg_skcipher_setkey_aes_cbc(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_aes_cbc() 297 static int sec_alg_skcipher_setkey_aes_ctr(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_aes_ctr() 319 static int sec_alg_skcipher_setkey_aes_xts(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_aes_xts() 343 static int sec_alg_skcipher_setkey_des_ecb(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_des_ecb() 350 static int sec_alg_skcipher_setkey_des_cbc(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_des_cbc() 357 static int sec_alg_skcipher_setkey_3des_ecb(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_3des_ecb() 365 static int sec_alg_skcipher_setkey_3des_cbc(struct crypto_skcipher *tfm, in sec_alg_skcipher_setkey_3des_cbc() [all …]
|
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 174 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_verify_tag() local 214 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_handle_aead_resp() local 364 static inline int is_hmac(struct crypto_tfm *tfm) in is_hmac() 566 static inline int get_cryptoalg_subtype(struct crypto_skcipher *tfm) in get_cryptoalg_subtype() 713 struct crypto_tfm *tfm = req->tfm; in get_qidxs() local 800 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req); in create_cipher_wr() local 1057 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chcr_update_tweak() local 1098 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chcr_update_cipher_iv() local 1132 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chcr_final_cipher_iv() local 1160 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chcr_handle_cipher_resp() local [all …]
|
/drivers/crypto/vmx/ |
D | aes.c | 28 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init() 51 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() 61 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() 81 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() 98 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_decrypt()
|
/drivers/crypto/amlogic/ |
D | amlogic-gxl-cipher.c | 60 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_cipher_do_fallback() local 86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_cipher() local 277 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_skdecrypt() local 295 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_skencrypt() local 311 int meson_cipher_init(struct crypto_tfm *tfm) in meson_cipher_init() 341 void meson_cipher_exit(struct crypto_tfm *tfm) in meson_cipher_exit() 349 int meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in meson_aes_setkey()
|
/drivers/crypto/ccp/ |
D | ccp-crypto-rsa.c | 57 static unsigned int ccp_rsa_maxsize(struct crypto_akcipher *tfm) in ccp_rsa_maxsize() 66 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in ccp_rsa_crypt() local 126 static int ccp_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in ccp_rsa_setkey() 181 static int ccp_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, in ccp_rsa_setprivkey() 187 static int ccp_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, in ccp_rsa_setpubkey() 193 static int ccp_rsa_init_tfm(struct crypto_akcipher *tfm) in ccp_rsa_init_tfm() 203 static void ccp_rsa_exit_tfm(struct crypto_akcipher *tfm) in ccp_rsa_exit_tfm()
|
D | ccp-crypto-sha.c | 30 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_complete() local 61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_sha_update() local 184 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_init() local 272 static int ccp_sha_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_sha_setkey() 314 static int ccp_sha_cra_init(struct crypto_tfm *tfm) in ccp_sha_cra_init() 327 static void ccp_sha_cra_exit(struct crypto_tfm *tfm) in ccp_sha_cra_exit() 331 static int ccp_hmac_sha_cra_init(struct crypto_tfm *tfm) in ccp_hmac_sha_cra_init() 349 static void ccp_hmac_sha_cra_exit(struct crypto_tfm *tfm) in ccp_hmac_sha_cra_exit()
|