/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | atmel-sha.c | 427 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_init() local 1243 static int atmel_sha_cra_init(struct crypto_tfm *tfm) in atmel_sha_cra_init() argument 1689 struct crypto_ahash *tfm in atmel_sha_hmac_setup() local 1750 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_prehash_key_done() local 1767 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_compute_ipad_hash() local 1786 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_compute_opad_hash() local 1802 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_setup_done() local 1850 atmel_sha_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) atmel_sha_hmac_setkey() argument 1873 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_init_done() local 1890 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_final() local 1949 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_digest2() local 1997 atmel_sha_hmac_cra_init(struct crypto_tfm *tfm) atmel_sha_hmac_cra_init() argument 2009 atmel_sha_hmac_cra_exit(struct crypto_tfm *tfm) atmel_sha_hmac_cra_exit() argument 2083 struct crypto_ahash *tfm; global() member 2145 struct crypto_ahash *tfm; atmel_sha_authenc_spawn() local 2211 struct crypto_ahash *tfm = auth->tfm; atmel_sha_authenc_setkey() local 2226 struct crypto_ahash *tfm = auth->tfm; atmel_sha_authenc_schedule() local 2258 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_authenc_init() local 2281 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_authenc_init2() local [all...] |
H A D | sa2ul.c | 810 static void sa_cipher_cra_exit(struct crypto_skcipher *tfm) in sa_cipher_cra_exit() argument 825 static int sa_cipher_cra_init(struct crypto_skcipher *tfm) in sa_cipher_cra_init() argument 858 static int sa_cipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in sa_cipher_setkey() argument 921 sa_aes_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) sa_aes_cbc_setkey() argument 941 sa_aes_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) sa_aes_ecb_setkey() argument 959 sa_3des_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) sa_3des_cbc_setkey() argument 973 sa_3des_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) sa_3des_ecb_setkey() argument 1334 struct crypto_ahash *tfm; sa_sha_dma_in_callback() local 1359 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); zero_message_process() local 1468 sa_sha_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) sa_sha_cra_init_alg() argument 1517 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_init() local 1533 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_update() local 1548 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_final() local 1562 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_finup() local 1580 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_import() local 1593 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_export() local 1603 sa_sha1_cra_init(struct crypto_tfm *tfm) sa_sha1_cra_init() argument 1619 sa_sha256_cra_init(struct crypto_tfm *tfm) sa_sha256_cra_init() argument 1635 sa_sha512_cra_init(struct crypto_tfm *tfm) sa_sha512_cra_init() argument 1651 sa_sha_cra_exit(struct crypto_tfm *tfm) sa_sha_cra_exit() argument 1671 struct crypto_aead *tfm; sa_aead_dma_in_callback() local 1710 sa_cra_init_aead(struct crypto_aead *tfm, const char *hash, const char *fallback) sa_cra_init_aead() argument 1754 sa_cra_init_aead_sha1(struct crypto_aead *tfm) sa_cra_init_aead_sha1() argument 1760 sa_cra_init_aead_sha256(struct crypto_aead *tfm) sa_cra_init_aead_sha256() argument 1766 sa_exit_tfm_aead(struct crypto_aead *tfm) sa_exit_tfm_aead() argument 1855 sa_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) sa_aead_setauthsize() argument 1890 struct crypto_aead *tfm = crypto_aead_reqtfm(req); sa_aead_run() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | caamalg_qi2.c | 1599 static int caam_cra_init_skcipher(struct crypto_skcipher *tfm) in caam_cra_init_skcipher() argument 1635 static int caam_cra_init_aead(struct crypto_aead *tfm) in caam_cra_init_aead() argument 1653 caam_cra_exit(struct crypto_skcipher *tfm) caam_cra_exit() argument 1662 caam_cra_exit_aead(struct crypto_aead *tfm) caam_cra_exit_aead() argument 4538 caam_hash_cra_init(struct crypto_tfm *tfm) caam_hash_cra_init() argument 4605 caam_hash_cra_exit(struct crypto_tfm *tfm) caam_hash_cra_exit() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 178 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_verify_tag() local 218 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_handle_aead_resp() local 368 static inline int is_hmac(struct crypto_tfm *tfm) in is_hmac() argument 570 static inline int get_cryptoalg_subtype(struct crypto_skcipher *tfm) in get_cryptoalg_subtype() argument 717 struct crypto_tfm *tfm = req->tfm; get_qidxs() local 807 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req); create_cipher_wr() local 1064 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_update_tweak() local 1105 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_update_cipher_iv() local 1139 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_final_cipher_iv() local 1167 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_handle_cipher_resp() local 1255 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); process_cipher() local 1371 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_aes_encrypt() local 1416 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_aes_decrypt() local 1473 chcr_init_tfm(struct crypto_skcipher *tfm) chcr_init_tfm() argument 1492 chcr_rfc3686_init(struct crypto_skcipher *tfm) chcr_rfc3686_init() argument 1513 chcr_exit_tfm(struct crypto_skcipher *tfm) chcr_exit_tfm() argument 1570 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); create_hash_wr() local 2095 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); chcr_handle_ahash_resp() local 2151 struct crypto_tfm *tfm = req->tfm; chcr_handle_resp() local 2200 chcr_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) chcr_ahash_setkey() argument 2300 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); chcr_sha_init() local 2312 chcr_sha_cra_init(struct crypto_tfm *tfm) chcr_sha_cra_init() argument 2343 chcr_hmac_cra_init(struct crypto_tfm *tfm) chcr_hmac_cra_init() argument 2358 chcr_hmac_cra_exit(struct crypto_tfm *tfm) chcr_hmac_cra_exit() argument 2372 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_common_exit() local 2380 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_common_init() local 2424 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_fallback() local 2442 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_authenc_wr() local 2586 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_dma_map() local 2647 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_dma_unmap() local 2714 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_add_aead_dst_ent() local 2760 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req); chcr_add_cipher_dst_ent() local 2942 struct crypto_aead *tfm = crypto_aead_reqtfm(req); ccm_format_packet() local 2968 struct crypto_aead *tfm = crypto_aead_reqtfm(req); fill_sec_cpl_for_aead() local 3043 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_aead_ccm_wr() local 3140 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_gcm_wr() local 3254 chcr_aead_cra_init(struct crypto_aead *tfm) chcr_aead_cra_init() argument 3270 chcr_aead_cra_exit(struct crypto_aead *tfm) chcr_aead_cra_exit() argument 3277 chcr_authenc_null_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_authenc_null_setauthsize() argument 3286 chcr_authenc_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_authenc_setauthsize() argument 3325 chcr_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_gcm_setauthsize() argument 3361 chcr_4106_4309_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_4106_4309_setauthsize() argument 3385 chcr_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_ccm_setauthsize() argument 3743 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_op() local 3793 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_encrypt() local 3822 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_decrypt() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | macsec.c | 576 static struct aead_request *macsec_alloc_req(struct crypto_aead *tfm, in macsec_alloc_req() argument 1347 struct crypto_aead *tfm; in macsec_alloc_tfm() local [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | smp.c | 169 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac() argument
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | tcp.c | 1206 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvme_tcp_free_crypto() local 1215 struct crypto_ahash *tfm; in nvme_tcp_alloc_crypto() local
|
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target.c | 4417 struct crypto_ahash *tfm; in iscsit_close_connection() local
|
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_nl.c | 2312 alloc_shash(struct crypto_shash **tfm, char *tfm_name, int err_alg) in alloc_shash() argument
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | atmel-aes.c | 1155 static int atmel_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in atmel_aes_setkey() argument 1261 static int atmel_aes_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_init_tfm() argument 1277 static int atmel_aes_ctr_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_ctr_init_tfm() argument 1508 struct crypto_aead *tfm in atmel_aes_gcm_start() local 1545 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_gcm_process() local 1696 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_gcm_finalize() local 1736 atmel_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) atmel_aes_gcm_setkey() argument 1752 atmel_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) atmel_aes_gcm_setauthsize() argument 1768 atmel_aes_gcm_init(struct crypto_aead *tfm) atmel_aes_gcm_init() argument 1870 atmel_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) atmel_aes_xts_setkey() argument 1904 atmel_aes_xts_init_tfm(struct crypto_skcipher *tfm) atmel_aes_xts_init_tfm() argument 1927 atmel_aes_xts_exit_tfm(struct crypto_skcipher *tfm) atmel_aes_xts_exit_tfm() argument 1977 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_authenc_start() local 2072 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_authenc_final() local 2096 atmel_aes_authenc_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) atmel_aes_authenc_setkey() argument 2130 atmel_aes_authenc_init_tfm(struct crypto_aead *tfm, unsigned long auth_mode) atmel_aes_authenc_init_tfm() argument 2153 atmel_aes_authenc_hmac_sha1_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha1_init_tfm() argument 2158 atmel_aes_authenc_hmac_sha224_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha224_init_tfm() argument 2163 atmel_aes_authenc_hmac_sha256_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha256_init_tfm() argument 2168 atmel_aes_authenc_hmac_sha384_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha384_init_tfm() argument 2173 atmel_aes_authenc_hmac_sha512_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha512_init_tfm() argument 2178 atmel_aes_authenc_exit_tfm(struct crypto_aead *tfm) atmel_aes_authenc_exit_tfm() argument 2189 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_authenc_crypt() local [all...] |
H A D | atmel-sha.c | 428 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_init() local 1243 static int atmel_sha_cra_init(struct crypto_tfm *tfm) in atmel_sha_cra_init() argument 1689 struct crypto_ahash *tfm in atmel_sha_hmac_setup() local 1750 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_prehash_key_done() local 1767 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_compute_ipad_hash() local 1787 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_compute_opad_hash() local 1803 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_setup_done() local 1851 atmel_sha_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) atmel_sha_hmac_setkey() argument 1874 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_init_done() local 1891 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_final() local 1950 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_hmac_digest2() local 2024 atmel_sha_hmac_cra_init(struct crypto_tfm *tfm) atmel_sha_hmac_cra_init() argument 2036 atmel_sha_hmac_cra_exit(struct crypto_tfm *tfm) atmel_sha_hmac_cra_exit() argument 2110 struct crypto_ahash *tfm; global() member 2171 struct crypto_ahash *tfm; atmel_sha_authenc_spawn() local 2237 struct crypto_ahash *tfm = auth->tfm; atmel_sha_authenc_setkey() local 2252 struct crypto_ahash *tfm = auth->tfm; atmel_sha_authenc_schedule() local 2284 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_authenc_init() local 2307 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_authenc_init2() local [all...] |
H A D | omap-sham.c | 303 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_copy_hash_omap4() local 450 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_write_ctrl_omap4() local 940 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in omap_sham_init() local 1283 omap_sham_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) omap_sham_setkey() argument 1320 omap_sham_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) omap_sham_cra_init_alg() argument 1354 omap_sham_cra_init(struct crypto_tfm *tfm) omap_sham_cra_init() argument 1359 omap_sham_cra_sha1_init(struct crypto_tfm *tfm) omap_sham_cra_sha1_init() argument 1364 omap_sham_cra_sha224_init(struct crypto_tfm *tfm) omap_sham_cra_sha224_init() argument 1369 omap_sham_cra_sha256_init(struct crypto_tfm *tfm) omap_sham_cra_sha256_init() argument 1374 omap_sham_cra_md5_init(struct crypto_tfm *tfm) omap_sham_cra_md5_init() argument 1379 omap_sham_cra_sha384_init(struct crypto_tfm *tfm) omap_sham_cra_sha384_init() argument 1384 omap_sham_cra_sha512_init(struct crypto_tfm *tfm) omap_sham_cra_sha512_init() argument 1389 omap_sham_cra_exit(struct crypto_tfm *tfm) omap_sham_cra_exit() argument [all...] |
H A D | n2_core.c | 262 static inline struct n2_ahash_alg *n2_ahash_alg(struct crypto_tfm *tfm) in n2_ahash_alg() argument 277 static inline struct n2_hmac_alg *n2_hmac_alg(struct crypto_tfm *tfm) in n2_hmac_alg() argument 315 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init() local 327 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update() local 341 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final() local 354 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); n2_hash_async_finup() local 376 n2_hash_cra_init(struct crypto_tfm *tfm) n2_hash_cra_init() argument 403 n2_hash_cra_exit(struct crypto_tfm *tfm) n2_hash_cra_exit() argument 411 n2_hmac_cra_init(struct crypto_tfm *tfm) n2_hmac_cra_init() argument 452 n2_hmac_cra_exit(struct crypto_tfm *tfm) n2_hmac_cra_exit() argument 461 n2_hmac_async_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) n2_hmac_async_setkey() argument 525 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); n2_do_async_digest() local 631 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); n2_hmac_async_digest() local 716 n2_skcipher_alg(struct crypto_skcipher *tfm) n2_skcipher_alg() argument 730 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); n2_aes_setkey() local 758 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); n2_des_setkey() local 777 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); n2_3des_setkey() local 948 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); n2_do_ecb() local 1000 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); n2_do_chaining() local 1325 n2_skcipher_init_tfm(struct crypto_skcipher *tfm) n2_skcipher_init_tfm() argument [all...] |
H A D | sa2ul.c | 833 static void sa_cipher_cra_exit(struct crypto_skcipher *tfm) in sa_cipher_cra_exit() argument 848 static int sa_cipher_cra_init(struct crypto_skcipher *tfm) in sa_cipher_cra_init() 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) sa_aes_cbc_setkey() argument 967 sa_aes_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) sa_aes_ecb_setkey() argument 985 sa_3des_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) sa_3des_cbc_setkey() argument 999 sa_3des_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) sa_3des_ecb_setkey() argument 1357 struct crypto_ahash *tfm; sa_sha_dma_in_callback() local 1382 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); zero_message_process() local 1492 sa_sha_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) sa_sha_cra_init_alg() argument 1541 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_init() local 1557 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_update() local 1572 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_final() local 1586 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_finup() local 1604 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_import() local 1617 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sa_sha_export() local 1627 sa_sha1_cra_init(struct crypto_tfm *tfm) sa_sha1_cra_init() argument 1643 sa_sha256_cra_init(struct crypto_tfm *tfm) sa_sha256_cra_init() argument 1659 sa_sha512_cra_init(struct crypto_tfm *tfm) sa_sha512_cra_init() argument 1675 sa_sha_cra_exit(struct crypto_tfm *tfm) sa_sha_cra_exit() argument 1695 struct crypto_aead *tfm; sa_aead_dma_in_callback() local 1730 sa_cra_init_aead(struct crypto_aead *tfm, const char *hash, const char *fallback) sa_cra_init_aead() argument 1775 sa_cra_init_aead_sha1(struct crypto_aead *tfm) sa_cra_init_aead_sha1() argument 1781 sa_cra_init_aead_sha256(struct crypto_aead *tfm) sa_cra_init_aead_sha256() argument 1787 sa_exit_tfm_aead(struct crypto_aead *tfm) sa_exit_tfm_aead() argument 1876 sa_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) sa_aead_setauthsize() argument 1911 struct crypto_aead *tfm = crypto_aead_reqtfm(req); sa_aead_run() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | caamalg_qi2.c | 1604 static int caam_cra_init_skcipher(struct crypto_skcipher *tfm) in caam_cra_init_skcipher() argument 1642 static int caam_cra_init_aead(struct crypto_aead *tfm) in caam_cra_init_aead() argument 1660 caam_cra_exit(struct crypto_skcipher *tfm) caam_cra_exit() argument 1669 caam_cra_exit_aead(struct crypto_aead *tfm) caam_cra_exit_aead() argument 4551 caam_hash_cra_init(struct crypto_tfm *tfm) caam_hash_cra_init() argument 4617 caam_hash_cra_exit(struct crypto_tfm *tfm) caam_hash_cra_exit() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A 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() argument 566 static inline int get_cryptoalg_subtype(struct crypto_skcipher *tfm) in get_cryptoalg_subtype() argument 713 struct crypto_tfm *tfm = req->tfm; get_qidxs() local 800 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req); create_cipher_wr() local 1057 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_update_tweak() local 1098 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_update_cipher_iv() local 1132 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_final_cipher_iv() local 1160 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_handle_cipher_resp() local 1248 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); process_cipher() local 1364 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_aes_encrypt() local 1409 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); chcr_aes_decrypt() local 1466 chcr_init_tfm(struct crypto_skcipher *tfm) chcr_init_tfm() argument 1485 chcr_rfc3686_init(struct crypto_skcipher *tfm) chcr_rfc3686_init() argument 1506 chcr_exit_tfm(struct crypto_skcipher *tfm) chcr_exit_tfm() argument 1564 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); create_hash_wr() local 2089 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); chcr_handle_ahash_resp() local 2145 struct crypto_tfm *tfm = req->tfm; chcr_handle_resp() local 2194 chcr_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) chcr_ahash_setkey() argument 2295 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); chcr_sha_init() local 2307 chcr_sha_cra_init(struct crypto_tfm *tfm) chcr_sha_cra_init() argument 2338 chcr_hmac_cra_init(struct crypto_tfm *tfm) chcr_hmac_cra_init() argument 2353 chcr_hmac_cra_exit(struct crypto_tfm *tfm) chcr_hmac_cra_exit() argument 2367 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_common_exit() local 2375 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_common_init() local 2419 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_fallback() local 2437 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_authenc_wr() local 2581 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_dma_map() local 2642 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_dma_unmap() local 2709 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_add_aead_dst_ent() local 2755 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req); chcr_add_cipher_dst_ent() local 2937 struct crypto_aead *tfm = crypto_aead_reqtfm(req); ccm_format_packet() local 2963 struct crypto_aead *tfm = crypto_aead_reqtfm(req); fill_sec_cpl_for_aead() local 3038 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_aead_ccm_wr() local 3135 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_gcm_wr() local 3249 chcr_aead_cra_init(struct crypto_aead *tfm) chcr_aead_cra_init() argument 3266 chcr_aead_cra_exit(struct crypto_aead *tfm) chcr_aead_cra_exit() argument 3273 chcr_authenc_null_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_authenc_null_setauthsize() argument 3282 chcr_authenc_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_authenc_setauthsize() argument 3321 chcr_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_gcm_setauthsize() argument 3357 chcr_4106_4309_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_4106_4309_setauthsize() argument 3381 chcr_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) chcr_ccm_setauthsize() argument 3739 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_op() local 3789 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_encrypt() local 3818 struct crypto_aead *tfm = crypto_aead_reqtfm(req); chcr_aead_decrypt() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 683 static int sec_skcipher_fbtfm_init(struct crypto_skcipher *tfm) in sec_skcipher_fbtfm_init() argument 705 static int sec_skcipher_init(struct crypto_skcipher *tfm) in sec_skcipher_init() argument 739 sec_skcipher_uninit(struct crypto_skcipher *tfm) sec_skcipher_uninit() argument 750 sec_skcipher_3des_setkey(struct crypto_skcipher *tfm, const u8 *key, const u32 keylen, const enum sec_cmode c_mode) sec_skcipher_3des_setkey() argument 821 sec_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, const u32 keylen, const enum sec_calg c_alg, const enum sec_cmode c_mode) sec_skcipher_setkey() argument 900 struct crypto_aead *tfm; sec_cipher_pbuf_map() local 951 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); sec_aead_mac_init() local 1120 struct crypto_tfm *tfm = crypto_aead_tfm(aead); sec_aead_setauthsize() local 1130 sec_aead_fallback_setkey(struct sec_auth_ctx *a_ctx, struct crypto_aead *tfm, const u8 *key, unsigned int keylen) sec_aead_fallback_setkey() argument 1140 sec_aead_setkey(struct crypto_aead *tfm, const u8 *key, const u32 keylen, const enum sec_hash_alg a_alg, const enum sec_calg c_alg, const enum sec_mac_len mac_len, const enum sec_cmode c_mode) sec_aead_setkey() argument 1515 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); sec_aead_set_iv() local 1704 struct crypto_aead *tfm = crypto_aead_reqtfm(a_req); sec_aead_callback() local 1853 sec_skcipher_ctx_init(struct crypto_skcipher *tfm) sec_skcipher_ctx_init() argument 1873 sec_skcipher_ctx_exit(struct crypto_skcipher *tfm) sec_skcipher_ctx_exit() argument 1878 sec_aead_init(struct crypto_aead *tfm) sec_aead_init() argument 1920 sec_aead_exit(struct crypto_aead *tfm) sec_aead_exit() argument 1929 sec_aead_ctx_init(struct crypto_aead *tfm, const char *hash_name) sec_aead_ctx_init() argument 1951 sec_aead_ctx_exit(struct crypto_aead *tfm) sec_aead_ctx_exit() argument 1959 sec_aead_xcm_ctx_init(struct crypto_aead *tfm) sec_aead_xcm_ctx_init() argument 1986 sec_aead_xcm_ctx_exit(struct crypto_aead *tfm) sec_aead_xcm_ctx_exit() argument 1994 sec_aead_sha1_ctx_init(struct crypto_aead *tfm) sec_aead_sha1_ctx_init() argument 1999 sec_aead_sha256_ctx_init(struct crypto_aead *tfm) sec_aead_sha256_ctx_init() argument 2004 sec_aead_sha512_ctx_init(struct crypto_aead *tfm) sec_aead_sha512_ctx_init() argument 2111 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(sk_req); sec_skcipher_crypto() local 2261 struct crypto_aead *tfm = crypto_aead_reqtfm(req); sec_aead_spec_check() local 2309 struct crypto_aead *tfm = crypto_aead_reqtfm(req); sec_aead_param_check() local 2382 struct crypto_aead *tfm = crypto_aead_reqtfm(a_req); sec_aead_crypto() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 830 static int stm32_cryp_init_tfm(struct crypto_skcipher *tfm) in stm32_cryp_init_tfm() argument 839 static int stm32_cryp_aes_aead_init(struct crypto_aead *tfm) in stm32_cryp_aes_aead_init() argument 875 static int stm32_cryp_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_setkey() argument 886 static int stm32_cryp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_aes_setkey() argument 896 static int stm32_cryp_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_des_setkey() argument 903 stm32_cryp_tdes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) stm32_cryp_tdes_setkey() argument 910 stm32_cryp_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) stm32_cryp_aes_aead_setkey() argument 925 stm32_cryp_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) stm32_cryp_aes_gcm_setauthsize() argument 944 stm32_cryp_aes_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) stm32_cryp_aes_ccm_setauthsize() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | macsec.c | 548 static struct aead_request *macsec_alloc_req(struct crypto_aead *tfm, in macsec_alloc_req() argument 1330 struct crypto_aead *tfm; in macsec_alloc_tfm() local [all...] |
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | tcp.c | 1265 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvme_tcp_free_crypto() local 1274 struct crypto_ahash *tfm; in nvme_tcp_alloc_crypto() local
|
/kernel/linux/linux-6.6/crypto/ |
H A D | testmgr.c | 1277 struct crypto_shash *tfm = desc->tfm; in test_shash_vec_cfg() local 1461 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); test_ahash_vec_cfg() local 1740 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); test_hash_vs_generic_impl() local 1868 struct crypto_shash *tfm; alloc_shash() local 2035 struct crypto_aead *tfm = crypto_aead_reqtfm(req); test_aead_vec_cfg() local 2261 struct crypto_aead *tfm; global() member 2314 struct crypto_aead *tfm = crypto_aead_reqtfm(req); generate_aead_message() local 2384 struct crypto_aead *tfm = crypto_aead_reqtfm(req); generate_random_aead_testvec() local 2490 struct crypto_aead *tfm = ctx->tfm; test_aead_vs_generic_impl() local 2671 struct crypto_aead *tfm; alg_test_aead() local 2721 test_cipher(struct crypto_cipher *tfm, int enc, const struct cipher_testvec *template, unsigned int tcount) test_cipher() argument 2814 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); test_skcipher_vec_cfg() local 3027 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); generate_random_cipher_testvec() local 3081 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); test_skcipher_vs_generic_impl() local 3248 struct crypto_skcipher *tfm; alg_test_skcipher() local 3298 test_comp(struct crypto_comp *tfm, const struct comp_testvec *ctemplate, const struct comp_testvec *dtemplate, int ctcount, int dtcount) test_comp() argument 3404 test_acomp(struct crypto_acomp *tfm, const struct comp_testvec *ctemplate, const struct comp_testvec *dtemplate, int ctcount, int dtcount) test_acomp() argument 3602 test_cprng(struct crypto_rng *tfm, const struct cprng_testvec *template, unsigned int tcount) test_cprng() argument 3668 struct crypto_cipher *tfm; alg_test_cipher() local 3727 struct crypto_shash *tfm; alg_test_crc32c() local 3891 do_test_kpp(struct crypto_kpp *tfm, const struct kpp_testvec *vec, const char *alg) do_test_kpp() argument 4033 test_kpp(struct crypto_kpp *tfm, const char *alg, const struct kpp_testvec *vecs, unsigned int tcount) test_kpp() argument 4052 struct crypto_kpp *tfm; alg_test_kpp() local 4075 test_akcipher_one(struct crypto_akcipher *tfm, const struct akcipher_testvec *vecs) test_akcipher_one() argument 4257 test_akcipher(struct crypto_akcipher *tfm, const char *alg, const struct akcipher_testvec *vecs, unsigned int tcount) test_akcipher() argument 4280 struct crypto_akcipher *tfm; alg_test_akcipher() local [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | smp.c | 170 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac() argument
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | sm_make_chunk.c | 1718 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie() local 1786 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie() local
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_receiver.c | 3827 struct crypto_shash *tfm; in drbd_crypto_alloc_digest_safe() local
|
/kernel/linux/linux-5.10/drivers/crypto/axis/ |
H A D | artpec6_crypto.c | 1235 static int artpec6_crypto_aead_init(struct crypto_aead *tfm) in artpec6_crypto_aead_init() argument 1247 static int artpec6_crypto_aead_set_key(struct crypto_aead *tfm, const u8 *key, in artpec6_crypto_aead_set_key() argument 1533 static int artpec6_crypto_aes_ecb_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ecb_init() argument 1543 static int artpec6_crypto_aes_ctr_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ctr_init() argument 1559 artpec6_crypto_aes_cbc_init(struct crypto_skcipher *tfm) artpec6_crypto_aes_cbc_init() argument 1569 artpec6_crypto_aes_xts_init(struct crypto_skcipher *tfm) artpec6_crypto_aes_xts_init() argument 1579 artpec6_crypto_aes_exit(struct crypto_skcipher *tfm) artpec6_crypto_aes_exit() argument 1586 artpec6_crypto_aes_ctr_exit(struct crypto_skcipher *tfm) artpec6_crypto_aes_ctr_exit() argument 2224 artpec6_crypto_hash_set_key(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) artpec6_crypto_hash_set_key() argument 2387 artpec6_crypto_ahash_init_common(struct crypto_tfm *tfm, const char *base_hash_name) artpec6_crypto_ahash_init_common() argument 2411 artpec6_crypto_ahash_init(struct crypto_tfm *tfm) artpec6_crypto_ahash_init() argument 2416 artpec6_crypto_ahash_init_hmac_sha256(struct crypto_tfm *tfm) artpec6_crypto_ahash_init_hmac_sha256() argument 2421 artpec6_crypto_ahash_exit(struct crypto_tfm *tfm) artpec6_crypto_ahash_exit() argument [all...] |