/linux-master/security/keys/encrypted-keys/ |
H A D | encrypted.c | 88 struct crypto_skcipher *tfm; local 335 struct crypto_shash *tfm; local 387 struct crypto_skcipher *tfm; local 458 struct crypto_skcipher *tfm; local 560 struct crypto_skcipher *tfm; local [all...] |
/linux-master/security/apparmor/ |
H A D | crypto.c | 104 struct crypto_shash *tfm; local
|
/linux-master/fs/ubifs/ |
H A D | auth.c | 89 ubifs_get_desc(const struct ubifs_info *c, struct crypto_shash *tfm) argument
|
/linux-master/fs/smb/server/ |
H A D | auth.c | 1117 struct crypto_aead *tfm; local
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 3133 struct crypto_shash *tfm; local 3169 static int ath11k_dp_rx_h_michael_mic(struct crypto_shash *tfm, u8 *key, argument [all...] |
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | utils.c | 1353 struct crypto_shash *tfm; local
|
/linux-master/security/integrity/ima/ |
H A D | ima_crypto.c | 61 struct crypto_shash *tfm; member in struct:ima_algo_desc 93 struct crypto_shash *tfm = ima_shash_tfm; local 214 ima_free_tfm(struct crypto_shash *tfm) argument 292 struct crypto_ahash *tfm = ima_ahash_tfm; local 312 ima_free_atfm(struct crypto_ahash *tfm) argument 329 ima_calc_file_hash_atfm(struct file *file, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument 442 struct crypto_ahash *tfm; local 456 ima_calc_file_hash_tfm(struct file *file, struct ima_digest_data *hash, struct crypto_shash *tfm) argument 509 struct crypto_shash *tfm; local 663 calc_buffer_ahash_atfm(const void *buf, loff_t len, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument 706 struct crypto_ahash *tfm; local 720 calc_buffer_shash_tfm(const void *buf, loff_t size, struct ima_digest_data *hash, struct crypto_shash *tfm) argument 753 struct crypto_shash *tfm; local 800 ima_calc_boot_aggregate_tfm(char *digest, u16 alg_id, struct crypto_shash *tfm) argument 846 struct crypto_shash *tfm; local [all...] |
/linux-master/include/crypto/ |
H A D | skcipher.h | 283 __crypto_skcipher_cast( struct crypto_tfm *tfm) argument 327 crypto_skcipher_tfm( struct crypto_skcipher *tfm) argument 333 crypto_lskcipher_tfm( struct crypto_lskcipher *tfm) argument 345 crypto_free_skcipher(struct crypto_skcipher *tfm) argument 350 crypto_free_sync_skcipher(struct crypto_sync_skcipher *tfm) argument 361 crypto_free_lskcipher(struct crypto_lskcipher *tfm) argument 378 crypto_skcipher_driver_name( struct crypto_skcipher *tfm) argument 384 crypto_lskcipher_driver_name( struct crypto_lskcipher *tfm) argument 390 crypto_skcipher_alg_common( struct crypto_skcipher *tfm) argument 397 crypto_skcipher_alg( struct crypto_skcipher *tfm) argument 404 crypto_lskcipher_alg( struct crypto_lskcipher *tfm) argument 420 crypto_skcipher_ivsize(struct crypto_skcipher *tfm) argument 425 crypto_sync_skcipher_ivsize( struct crypto_sync_skcipher *tfm) argument 440 crypto_lskcipher_ivsize( struct crypto_lskcipher *tfm) argument 456 crypto_skcipher_blocksize( struct crypto_skcipher *tfm) argument 472 crypto_lskcipher_blocksize( struct crypto_lskcipher *tfm) argument 489 crypto_skcipher_chunksize( struct crypto_skcipher *tfm) argument 506 crypto_lskcipher_chunksize( struct crypto_lskcipher *tfm) argument 523 crypto_skcipher_statesize( struct crypto_skcipher *tfm) argument 540 crypto_lskcipher_statesize( struct crypto_lskcipher *tfm) argument 546 crypto_sync_skcipher_blocksize( struct crypto_sync_skcipher *tfm) argument 552 crypto_skcipher_alignmask( struct crypto_skcipher *tfm) argument 558 crypto_lskcipher_alignmask( struct crypto_lskcipher *tfm) argument 564 crypto_skcipher_get_flags(struct crypto_skcipher *tfm) argument 569 crypto_skcipher_set_flags(struct crypto_skcipher *tfm, u32 flags) argument 575 crypto_skcipher_clear_flags(struct crypto_skcipher *tfm, u32 flags) argument 581 crypto_sync_skcipher_get_flags( struct crypto_sync_skcipher *tfm) argument 587 crypto_sync_skcipher_set_flags( struct crypto_sync_skcipher *tfm, u32 flags) argument 593 crypto_sync_skcipher_clear_flags( struct crypto_sync_skcipher *tfm, u32 flags) argument 599 crypto_lskcipher_get_flags(struct crypto_lskcipher *tfm) argument 604 crypto_lskcipher_set_flags(struct crypto_lskcipher *tfm, u32 flags) argument 610 crypto_lskcipher_clear_flags(struct crypto_lskcipher *tfm, u32 flags) argument 635 crypto_sync_skcipher_setkey(struct crypto_sync_skcipher *tfm, const u8 *key, unsigned int keylen) argument 660 crypto_skcipher_min_keysize( struct crypto_skcipher *tfm) argument 666 crypto_skcipher_max_keysize( struct crypto_skcipher *tfm) argument 672 crypto_lskcipher_min_keysize( struct crypto_lskcipher *tfm) argument 678 crypto_lskcipher_max_keysize( struct crypto_lskcipher *tfm) argument 702 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 822 crypto_skcipher_reqsize(struct crypto_skcipher *tfm) argument 835 skcipher_request_set_tfm(struct skcipher_request *req, struct crypto_skcipher *tfm) argument 841 skcipher_request_set_sync_tfm(struct skcipher_request *req, struct crypto_sync_skcipher *tfm) argument 864 skcipher_request_alloc( struct crypto_skcipher *tfm, gfp_t gfp) argument 889 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
H A D | hash.h | 176 struct crypto_shash *tfm; member in struct:shash_desc 270 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) argument 294 crypto_ahash_tfm(struct crypto_ahash *tfm) argument 305 crypto_free_ahash(struct crypto_ahash *tfm) argument 322 crypto_ahash_alg_name(struct crypto_ahash *tfm) argument 327 crypto_ahash_driver_name(struct crypto_ahash *tfm) argument 341 crypto_ahash_blocksize(struct crypto_ahash *tfm) argument 352 crypto_hash_alg_common( struct crypto_ahash *tfm) argument 368 crypto_ahash_digestsize(struct crypto_ahash *tfm) argument 383 crypto_ahash_statesize(struct crypto_ahash *tfm) argument 388 crypto_ahash_get_flags(struct crypto_ahash *tfm) argument 393 crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) argument 398 crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) argument 425 crypto_ahash_reqsize(struct crypto_ahash *tfm) argument 563 ahash_request_set_tfm(struct ahash_request *req, struct crypto_ahash *tfm) argument 581 ahash_request_alloc( struct crypto_ahash *tfm, gfp_t gfp) argument 707 crypto_shash_tfm(struct crypto_shash *tfm) argument 718 crypto_free_shash(struct crypto_shash *tfm) argument 723 crypto_shash_alg_name(struct crypto_shash *tfm) argument 728 crypto_shash_driver_name(struct crypto_shash *tfm) argument 742 crypto_shash_blocksize(struct crypto_shash *tfm) argument 752 crypto_shash_alg(struct crypto_shash *tfm) argument 766 crypto_shash_digestsize(struct crypto_shash *tfm) argument 771 crypto_shash_statesize(struct crypto_shash *tfm) argument 776 crypto_shash_get_flags(struct crypto_shash *tfm) argument 781 crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags) argument 786 crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags) argument 806 crypto_shash_descsize(struct crypto_shash *tfm) argument 911 struct crypto_shash *tfm = desc->tfm; local [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4recover.c | 113 struct crypto_shash *tfm; local 1149 struct crypto_shash *tfm = cn->cn_tfm; local 1341 struct crypto_shash *tfm = cn->cn_tfm; local 1581 struct crypto_shash *tfm; local [all...] |
/linux-master/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 830 static int stm32_cryp_init_tfm(struct crypto_skcipher *tfm) argument 839 static int stm32_cryp_aes_aead_init(struct crypto_aead *tfm) argument 875 static int stm32_cryp_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 886 static int stm32_cryp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 896 static int stm32_cryp_des_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 903 stm32_cryp_tdes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 910 stm32_cryp_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 925 stm32_cryp_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 944 stm32_cryp_aes_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument [all...] |
H A D | stm32-crc32.c | 72 static int stm32_crc32_cra_init(struct crypto_tfm *tfm) argument 81 static int stm32_crc32c_cra_init(struct crypto_tfm *tfm) argument 90 static int stm32_crc_setkey(struct crypto_shash *tfm, const u8 *key, argument
|
/linux-master/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 282 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 314 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 446 static int starfive_rsa_setkey(struct crypto_akcipher *tfm, const void *key, argument 497 static int starfive_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 510 starfive_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument 523 starfive_rsa_max_size(struct crypto_akcipher *tfm) argument 533 starfive_rsa_init_tfm(struct crypto_akcipher *tfm) argument 553 starfive_rsa_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
H A D | jh7110-aes.c | 544 static int starfive_aes_init_tfm(struct crypto_skcipher *tfm) argument 616 static int starfive_aes_aead_init_tfm(struct crypto_aead *tfm) argument 642 static void starfive_aes_aead_exit_tfm(struct crypto_aead *tfm) argument 651 struct crypto_skcipher *tfm local 693 starfive_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 712 starfive_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 734 starfive_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 740 starfive_aes_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument [all...] |
/linux-master/drivers/crypto/ |
H A D | sahara.c | 619 static int sahara_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 708 static int sahara_aes_init_tfm(struct crypto_skcipher *tfm) argument 726 static void sahara_aes_exit_tfm(struct crypto_skcipher *tfm) argument 873 struct crypto_ahash *tfm local 1025 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1090 sahara_sha_cra_init(struct crypto_tfm *tfm) argument [all...] |
H A D | sa2ul.c | 833 static void sa_cipher_cra_exit(struct crypto_skcipher *tfm) argument 848 static int sa_cipher_cra_init(struct crypto_skcipher *tfm) argument 885 static int sa_cipher_setkey(struct crypto_skcipher *tfm, cons argument 947 sa_aes_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 967 sa_aes_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 985 sa_3des_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 999 sa_3des_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 1357 struct crypto_ahash *tfm; local 1382 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1492 sa_sha_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) argument 1541 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1557 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1572 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1586 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1604 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1617 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1627 sa_sha1_cra_init(struct crypto_tfm *tfm) argument 1643 sa_sha256_cra_init(struct crypto_tfm *tfm) argument 1659 sa_sha512_cra_init(struct crypto_tfm *tfm) argument 1675 sa_sha_cra_exit(struct crypto_tfm *tfm) argument 1695 struct crypto_aead *tfm; local 1730 sa_cra_init_aead(struct crypto_aead *tfm, const char *hash, const char *fallback) argument 1775 sa_cra_init_aead_sha1(struct crypto_aead *tfm) argument 1781 sa_cra_init_aead_sha256(struct crypto_aead *tfm) argument 1787 sa_exit_tfm_aead(struct crypto_aead *tfm) argument 1876 sa_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 1911 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local [all...] |
H A D | hifn_795x.c | 2252 static int hifn_init_tfm(struct crypto_skcipher *tfm) argument
|
/linux-master/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_skcipher.c | 25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 70 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 111 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); local 255 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); local 302 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 434 rk_cipher_tfm_init(struct crypto_skcipher *tfm) argument 454 rk_cipher_tfm_exit(struct crypto_skcipher *tfm) argument [all...] |
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 87 struct crypto_aead *tfm; local 411 static int otx2_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, argument 443 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 460 static int cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 491 otx2_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 497 otx2_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 503 otx2_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 509 otx2_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 535 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); local 562 otx2_cpt_skcipher_exit(struct crypto_skcipher *tfm) argument 593 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); local 665 otx2_cpt_aead_cbc_aes_sha1_init(struct crypto_aead *tfm) argument 670 otx2_cpt_aead_cbc_aes_sha256_init(struct crypto_aead *tfm) argument 675 otx2_cpt_aead_cbc_aes_sha384_init(struct crypto_aead *tfm) argument 680 otx2_cpt_aead_cbc_aes_sha512_init(struct crypto_aead *tfm) argument 685 otx2_cpt_aead_ecb_null_sha1_init(struct crypto_aead *tfm) argument 690 otx2_cpt_aead_ecb_null_sha256_init(struct crypto_aead *tfm) argument 695 otx2_cpt_aead_ecb_null_sha384_init(struct crypto_aead *tfm) argument 700 otx2_cpt_aead_ecb_null_sha512_init(struct crypto_aead *tfm) argument 705 otx2_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) argument 710 otx2_cpt_aead_exit(struct crypto_aead *tfm) argument 727 otx2_cpt_aead_gcm_set_authsize(struct crypto_aead *tfm, unsigned int authsize) argument 743 otx2_cpt_aead_set_authsize(struct crypto_aead *tfm, unsigned int authsize) argument 751 otx2_cpt_aead_null_set_authsize(struct crypto_aead *tfm, unsigned int authsize) argument 1045 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1136 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1315 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local [all...] |
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 102 struct crypto_aead *tfm; local 238 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); local 393 static int otx_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, argument 422 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 438 cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen, u8 cipher_type) argument 464 otx_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 470 otx_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 476 otx_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 482 otx_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) argument 488 otx_cpt_enc_dec_init(struct crypto_skcipher *tfm) argument 505 cpt_aead_init(struct crypto_aead *tfm, u8 cipher_type, u8 mac_type) argument 554 otx_cpt_aead_cbc_aes_sha1_init(struct crypto_aead *tfm) argument 559 otx_cpt_aead_cbc_aes_sha256_init(struct crypto_aead *tfm) argument 564 otx_cpt_aead_cbc_aes_sha384_init(struct crypto_aead *tfm) argument 569 otx_cpt_aead_cbc_aes_sha512_init(struct crypto_aead *tfm) argument 574 otx_cpt_aead_ecb_null_sha1_init(struct crypto_aead *tfm) argument 579 otx_cpt_aead_ecb_null_sha256_init(struct crypto_aead *tfm) argument 584 otx_cpt_aead_ecb_null_sha384_init(struct crypto_aead *tfm) argument 589 otx_cpt_aead_ecb_null_sha512_init(struct crypto_aead *tfm) argument 594 otx_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) argument 599 otx_cpt_aead_exit(struct crypto_aead *tfm) argument 614 otx_cpt_aead_set_authsize(struct crypto_aead *tfm, unsigned int authsize) argument 964 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1049 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1217 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local [all...] |
/linux-master/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); local 405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); local 1004 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1075 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1094 safexcel_cipher_exit_inv(struct crypto_tfm *tfm, struct crypto_async_request *base, struct safexcel_cipher_req *sreq, struct crypto_wait *result) argument 1127 safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) argument 1142 safexcel_aead_exit_inv(struct crypto_tfm *tfm) argument 1206 safexcel_skcipher_cra_init(struct crypto_tfm *tfm) argument 1225 safexcel_cipher_cra_exit(struct crypto_tfm *tfm) argument 1239 safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) argument 1259 safexcel_aead_cra_exit(struct crypto_tfm *tfm) argument 1279 safexcel_skcipher_aes_ecb_cra_init(struct crypto_tfm *tfm) argument 1317 safexcel_skcipher_aes_cbc_cra_init(struct crypto_tfm *tfm) argument 1358 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); local 1391 safexcel_skcipher_aes_ctr_cra_init(struct crypto_tfm *tfm) argument 1452 safexcel_skcipher_des_cbc_cra_init(struct crypto_tfm *tfm) argument 1491 safexcel_skcipher_des_ecb_cra_init(struct crypto_tfm *tfm) argument 1551 safexcel_skcipher_des3_cbc_cra_init(struct crypto_tfm *tfm) argument 1590 safexcel_skcipher_des3_ecb_cra_init(struct crypto_tfm *tfm) argument 1642 safexcel_aead_cra_init(struct crypto_tfm *tfm) argument 1665 safexcel_aead_sha1_cra_init(struct crypto_tfm *tfm) argument 1701 safexcel_aead_sha256_cra_init(struct crypto_tfm *tfm) argument 1737 safexcel_aead_sha224_cra_init(struct crypto_tfm *tfm) argument 1773 safexcel_aead_sha512_cra_init(struct crypto_tfm *tfm) argument 1809 safexcel_aead_sha384_cra_init(struct crypto_tfm *tfm) argument 1845 safexcel_aead_sha1_des3_cra_init(struct crypto_tfm *tfm) argument 1882 safexcel_aead_sha256_des3_cra_init(struct crypto_tfm *tfm) argument 1919 safexcel_aead_sha224_des3_cra_init(struct crypto_tfm *tfm) argument 1956 safexcel_aead_sha512_des3_cra_init(struct crypto_tfm *tfm) argument 1993 safexcel_aead_sha384_des3_cra_init(struct crypto_tfm *tfm) argument 2030 safexcel_aead_sha1_des_cra_init(struct crypto_tfm *tfm) argument 2067 safexcel_aead_sha256_des_cra_init(struct crypto_tfm *tfm) argument 2104 safexcel_aead_sha224_des_cra_init(struct crypto_tfm *tfm) argument 2141 safexcel_aead_sha512_des_cra_init(struct crypto_tfm *tfm) argument 2178 safexcel_aead_sha384_des_cra_init(struct crypto_tfm *tfm) argument 2215 safexcel_aead_sha1_ctr_cra_init(struct crypto_tfm *tfm) argument 2250 safexcel_aead_sha256_ctr_cra_init(struct crypto_tfm *tfm) argument 2285 safexcel_aead_sha224_ctr_cra_init(struct crypto_tfm *tfm) argument 2320 safexcel_aead_sha512_ctr_cra_init(struct crypto_tfm *tfm) argument 2355 safexcel_aead_sha384_ctr_cra_init(struct crypto_tfm *tfm) argument 2393 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); local 2448 safexcel_skcipher_aes_xts_cra_init(struct crypto_tfm *tfm) argument 2507 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); local 2555 safexcel_aead_gcm_cra_init(struct crypto_tfm *tfm) argument 2568 safexcel_aead_gcm_cra_exit(struct crypto_tfm *tfm) argument 2573 safexcel_aead_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 2609 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); local 2650 safexcel_aead_ccm_cra_init(struct crypto_tfm *tfm) argument 2663 safexcel_aead_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 2756 safexcel_skcipher_chacha20_cra_init(struct crypto_tfm *tfm) argument 2813 safexcel_aead_chachapoly_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 2826 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local 2884 safexcel_aead_fallback_cra_init(struct crypto_tfm *tfm) argument 2906 safexcel_aead_chachapoly_cra_init(struct crypto_tfm *tfm) argument 2920 safexcel_aead_fallback_cra_exit(struct crypto_tfm *tfm) argument 2957 safexcel_aead_chachapolyesp_cra_init(struct crypto_tfm *tfm) argument 3000 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); local 3037 safexcel_skcipher_sm4_ecb_cra_init(struct crypto_tfm *tfm) argument 3075 safexcel_skcipher_sm4_cbc_cra_init(struct crypto_tfm *tfm) argument 3116 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); local 3127 safexcel_skcipher_sm4_ctr_cra_init(struct crypto_tfm *tfm) argument 3178 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 3188 safexcel_aead_sm4cbc_sha1_cra_init(struct crypto_tfm *tfm) argument 3229 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); local 3240 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); local 3251 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local 3284 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 3297 safexcel_aead_sm4cbc_sm3_cra_init(struct crypto_tfm *tfm) argument 3337 safexcel_aead_sm4ctr_sha1_cra_init(struct crypto_tfm *tfm) argument 3372 safexcel_aead_sm4ctr_sm3_cra_init(struct crypto_tfm *tfm) argument 3410 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); local 3420 safexcel_rfc4106_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 3438 safexcel_rfc4106_gcm_cra_init(struct crypto_tfm *tfm) argument 3475 safexcel_rfc4543_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 3484 safexcel_rfc4543_gcm_cra_init(struct crypto_tfm *tfm) argument 3523 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); local 3537 safexcel_rfc4309_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 3575 safexcel_rfc4309_ccm_cra_init(struct crypto_tfm *tfm) argument [all...] |
/linux-master/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 64 static inline enum cc_key_type cc_key_type(struct crypto_tfm *tfm) argument 154 static int cc_cipher_init(struct crypto_tfm *tfm) argument 232 cc_cipher_exit(struct crypto_tfm *tfm) argument 304 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); local 404 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); local 510 cc_setup_readiv_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int ivsize, struct cc_hw_desc desc[], unsigned int *seq_size) argument 566 cc_setup_state_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int ivsize, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument 610 cc_setup_xex_state_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int ivsize, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument 688 cc_setup_key_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument 770 cc_setup_mlli_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, void *areq, struct cc_hw_desc desc[], unsigned int *seq_size) argument 797 cc_setup_flow_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument 881 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); local [all...] |
H A D | cc_aead.c | 64 static void cc_aead_exit(struct crypto_aead *tfm) argument 118 static unsigned int cc_get_aead_hash_len(struct crypto_aead *tfm) argument 125 static int cc_aead_init(struct crypto_aead *tfm) argument 212 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); local 410 cc_get_plain_hmac_key(struct crypto_aead *tfm, const u8 *authkey, unsigned int keylen) argument 541 cc_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 655 cc_rfc4309_ccm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 724 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); local 768 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); local 832 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); local 874 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 924 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 991 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1024 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1100 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1162 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1213 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1266 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1412 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1533 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1592 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1616 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1694 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1731 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1831 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1880 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 1897 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 2107 cc_rfc4106_gcm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 2124 cc_rfc4543_gcm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/crypto/gemini/ |
H A D | sl3516-ce-cipher.c | 27 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 105 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 129 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 280 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 298 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 314 sl3516_ce_cipher_init(struct crypto_tfm *tfm) argument 353 sl3516_ce_cipher_exit(struct crypto_tfm *tfm) argument 362 sl3516_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes.c | 38 static int ccp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 120 static int ccp_aes_init_tfm(struct crypto_skcipher *tfm) argument 144 static int ccp_aes_rfc3686_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 160 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 192 ccp_aes_rfc3686_init_tfm(struct crypto_skcipher *tfm) argument [all...] |