/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4recover.c | 112 struct crypto_shash *tfm; in nfs4_make_rec_clidname() local 1140 struct crypto_shash *tfm = cn->cn_tfm; in nfsd4_cld_create_v2() local 1332 struct crypto_shash *tfm = cn->cn_tfm; nfsd4_cld_check_v2() local 1567 struct crypto_shash *tfm; nfsd4_cld_tracking_init() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/ks7010/ |
H A D | ks_hostif.c | 195 struct crypto_shash *tfm = NULL; in michael_mic() local
|
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_worker.c | 287 void drbd_csum_ee(struct crypto_shash *tfm, struct drbd_peer_request *peer_req, void *digest) in drbd_csum_ee() argument 316 void drbd_csum_bio(struct crypto_shash *tfm, struct bio *bio, void *digest) in drbd_csum_bio() argument
|
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | caamalg.c | 3620 static int caam_cra_init(struct crypto_skcipher *tfm) in caam_cra_init() argument 3655 static int caam_aead_init(struct crypto_aead *tfm) in caam_aead_init() argument 3676 caam_cra_exit(struct crypto_skcipher *tfm) caam_cra_exit() argument 3685 caam_aead_exit(struct crypto_aead *tfm) caam_aead_exit() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/bcm/ |
H A D | cipher.c | 658 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in handle_ahash_req() local 1905 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_enqueue() local 1962 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in __ahash_init() local 2018 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_init() local 2091 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_update() local 2146 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_final() local 2185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_finup() local 2419 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_hmac_init() local 2469 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_hmac_digest() local 2576 struct crypto_tfm *tfm = crypto_aead_tfm(aead); aead_do_fallback() local 2724 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); aead_authenc_setkey() local 2819 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); aead_gcm_ccm_setkey() local 4144 generic_cra_init(struct crypto_tfm *tfm, struct iproc_alg_s *cipher_alg) generic_cra_init() argument 4173 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher_init_tfm() local 4185 ahash_cra_init(struct crypto_tfm *tfm) ahash_cra_init() argument 4210 struct crypto_tfm *tfm = crypto_aead_tfm(aead); aead_cra_init() local 4255 generic_cra_exit(struct crypto_tfm *tfm) generic_cra_exit() argument 4260 skcipher_exit_tfm(struct crypto_skcipher *tfm) skcipher_exit_tfm() argument 4267 struct crypto_tfm *tfm = crypto_aead_tfm(aead); aead_cra_exit() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local 405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local 1004 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local 1075 struct crypto_aead *tfm = crypto_aead_reqtfm(req); safexcel_aead_send() local 1094 safexcel_cipher_exit_inv(struct crypto_tfm *tfm, struct crypto_async_request *base, struct safexcel_cipher_req *sreq, struct crypto_wait *result) safexcel_cipher_exit_inv() argument 1127 safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) safexcel_skcipher_exit_inv() argument 1142 safexcel_aead_exit_inv(struct crypto_tfm *tfm) safexcel_aead_exit_inv() argument 1206 safexcel_skcipher_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_cra_init() argument 1225 safexcel_cipher_cra_exit(struct crypto_tfm *tfm) safexcel_cipher_cra_exit() argument 1239 safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) safexcel_skcipher_cra_exit() argument 1259 safexcel_aead_cra_exit(struct crypto_tfm *tfm) safexcel_aead_cra_exit() argument 1279 safexcel_skcipher_aes_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_ecb_cra_init() argument 1317 safexcel_skcipher_aes_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_cbc_cra_init() argument 1355 safexcel_skcipher_aes_cfb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_cfb_cra_init() argument 1393 safexcel_skcipher_aes_ofb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_ofb_cra_init() argument 1434 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_aesctr_setkey() local 1467 safexcel_skcipher_aes_ctr_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_ctr_cra_init() argument 1528 safexcel_skcipher_des_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des_cbc_cra_init() argument 1567 safexcel_skcipher_des_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des_ecb_cra_init() argument 1627 safexcel_skcipher_des3_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des3_cbc_cra_init() argument 1666 safexcel_skcipher_des3_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des3_ecb_cra_init() argument 1718 safexcel_aead_cra_init(struct crypto_tfm *tfm) safexcel_aead_cra_init() argument 1741 safexcel_aead_sha1_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_cra_init() argument 1777 safexcel_aead_sha256_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_cra_init() argument 1813 safexcel_aead_sha224_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_cra_init() argument 1849 safexcel_aead_sha512_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_cra_init() argument 1885 safexcel_aead_sha384_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_cra_init() argument 1921 safexcel_aead_sha1_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_des3_cra_init() argument 1958 safexcel_aead_sha256_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_des3_cra_init() argument 1995 safexcel_aead_sha224_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_des3_cra_init() argument 2032 safexcel_aead_sha512_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_des3_cra_init() argument 2069 safexcel_aead_sha384_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_des3_cra_init() argument 2106 safexcel_aead_sha1_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_des_cra_init() argument 2143 safexcel_aead_sha256_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_des_cra_init() argument 2180 safexcel_aead_sha224_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_des_cra_init() argument 2217 safexcel_aead_sha512_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_des_cra_init() argument 2254 safexcel_aead_sha384_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_des_cra_init() argument 2291 safexcel_aead_sha1_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_ctr_cra_init() argument 2326 safexcel_aead_sha256_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_ctr_cra_init() argument 2361 safexcel_aead_sha224_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_ctr_cra_init() argument 2396 safexcel_aead_sha512_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_ctr_cra_init() argument 2431 safexcel_aead_sha384_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_ctr_cra_init() argument 2469 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_aesxts_setkey() local 2524 safexcel_skcipher_aes_xts_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_xts_cra_init() argument 2583 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_gcm_setkey() local 2631 safexcel_aead_gcm_cra_init(struct crypto_tfm *tfm) safexcel_aead_gcm_cra_init() argument 2644 safexcel_aead_gcm_cra_exit(struct crypto_tfm *tfm) safexcel_aead_gcm_cra_exit() argument 2649 safexcel_aead_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_aead_gcm_setauthsize() argument 2685 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_ccm_setkey() local 2726 safexcel_aead_ccm_cra_init(struct crypto_tfm *tfm) safexcel_aead_ccm_cra_init() argument 2739 safexcel_aead_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_aead_ccm_setauthsize() argument 2832 safexcel_skcipher_chacha20_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_chacha20_cra_init() argument 2889 safexcel_aead_chachapoly_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_aead_chachapoly_setauthsize() argument 2902 struct crypto_tfm *tfm = crypto_aead_tfm(aead); safexcel_aead_chachapoly_crypt() local 2960 safexcel_aead_fallback_cra_init(struct crypto_tfm *tfm) safexcel_aead_fallback_cra_init() argument 2982 safexcel_aead_chachapoly_cra_init(struct crypto_tfm *tfm) safexcel_aead_chachapoly_cra_init() argument 2996 safexcel_aead_fallback_cra_exit(struct crypto_tfm *tfm) safexcel_aead_fallback_cra_exit() argument 3033 safexcel_aead_chachapolyesp_cra_init(struct crypto_tfm *tfm) safexcel_aead_chachapolyesp_cra_init() argument 3076 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_sm4_setkey() local 3113 safexcel_skcipher_sm4_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_ecb_cra_init() argument 3151 safexcel_skcipher_sm4_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_cbc_cra_init() argument 3189 safexcel_skcipher_sm4_ofb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_ofb_cra_init() argument 3227 safexcel_skcipher_sm4_cfb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_cfb_cra_init() argument 3268 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_sm4ctr_setkey() local 3279 safexcel_skcipher_sm4_ctr_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_ctr_cra_init() argument 3330 struct crypto_aead *tfm = crypto_aead_reqtfm(req); safexcel_aead_sm4_blk_decrypt() local 3340 safexcel_aead_sm4cbc_sha1_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4cbc_sha1_cra_init() argument 3381 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_fallback_setkey() local 3392 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_fallback_setauthsize() local 3403 struct crypto_tfm *tfm = crypto_aead_tfm(aead); safexcel_aead_fallback_crypt() local 3436 struct crypto_aead *tfm = crypto_aead_reqtfm(req); safexcel_aead_sm4cbc_sm3_decrypt() local 3449 safexcel_aead_sm4cbc_sm3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4cbc_sm3_cra_init() argument 3489 safexcel_aead_sm4ctr_sha1_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4ctr_sha1_cra_init() argument 3524 safexcel_aead_sm4ctr_sm3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4ctr_sm3_cra_init() argument 3562 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_rfc4106_gcm_setkey() local 3572 safexcel_rfc4106_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_rfc4106_gcm_setauthsize() argument 3590 safexcel_rfc4106_gcm_cra_init(struct crypto_tfm *tfm) safexcel_rfc4106_gcm_cra_init() argument 3627 safexcel_rfc4543_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_rfc4543_gcm_setauthsize() argument 3636 safexcel_rfc4543_gcm_cra_init(struct crypto_tfm *tfm) safexcel_rfc4543_gcm_cra_init() argument 3675 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_rfc4309_ccm_setkey() local 3689 safexcel_rfc4309_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_rfc4309_ccm_setauthsize() argument 3727 safexcel_rfc4309_ccm_cra_init(struct crypto_tfm *tfm) safexcel_rfc4309_ccm_cra_init() argument [all...] |
H A D | safexcel_hash.c | 622 static int safexcel_ahash_exit_inv(struct crypto_tfm *tfm) in safexcel_ahash_exit_inv() argument 918 static int safexcel_ahash_cra_init(struct crypto_tfm *tfm) in safexcel_ahash_cra_init() argument 961 static void safexcel_ahash_cra_exit(struct crypto_tfm *tfm) in safexcel_ahash_cra_exit() argument 1121 struct crypto_ahash *tfm; __safexcel_hmac_setkey() local 1190 safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen, const char *alg, unsigned int state_sz) safexcel_hmac_alg_setkey() argument 1199 safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_sha1_setkey() argument 1352 safexcel_hmac_sha224_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_sha224_setkey() argument 1424 safexcel_hmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_sha256_setkey() argument 1610 safexcel_hmac_sha512_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_sha512_setkey() argument 1682 safexcel_hmac_sha384_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_sha384_setkey() argument 1835 safexcel_hmac_md5_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_md5_setkey() argument 1884 safexcel_crc32_cra_init(struct crypto_tfm *tfm) safexcel_crc32_cra_init() argument 1916 safexcel_crc32_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_crc32_setkey() argument 1988 safexcel_cbcmac_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int len) safexcel_cbcmac_setkey() argument 2056 safexcel_xcbcmac_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int len) safexcel_xcbcmac_setkey() argument 2090 safexcel_xcbcmac_cra_init(struct crypto_tfm *tfm) safexcel_xcbcmac_cra_init() argument 2099 safexcel_xcbcmac_cra_exit(struct crypto_tfm *tfm) safexcel_xcbcmac_cra_exit() argument 2139 safexcel_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int len) safexcel_cmac_setkey() argument 2283 safexcel_hmac_sm3_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_sm3_setkey() argument 2357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_sha3_224_init() local 2375 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); safexcel_sha3_fbcheck() local 2412 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); safexcel_sha3_update() local 2422 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); safexcel_sha3_final() local 2432 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); safexcel_sha3_finup() local 2447 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); safexcel_sha3_digest_fallback() local 2467 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); safexcel_sha3_export() local 2477 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); safexcel_sha3_import() local 2486 safexcel_sha3_cra_init(struct crypto_tfm *tfm) safexcel_sha3_cra_init() argument 2510 safexcel_sha3_cra_exit(struct crypto_tfm *tfm) safexcel_sha3_cra_exit() argument 2551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_sha3_256_init() local 2609 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_sha3_384_init() local 2667 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_sha3_512_init() local 2723 safexcel_hmac_sha3_cra_init(struct crypto_tfm *tfm, const char *alg) safexcel_hmac_sha3_cra_init() argument 2747 safexcel_hmac_sha3_cra_exit(struct crypto_tfm *tfm) safexcel_hmac_sha3_cra_exit() argument 2757 safexcel_hmac_sha3_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) safexcel_hmac_sha3_setkey() argument 2817 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_hmac_sha3_224_init() local 2849 safexcel_hmac_sha3_224_cra_init(struct crypto_tfm *tfm) safexcel_hmac_sha3_224_cra_init() argument 2888 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_hmac_sha3_256_init() local 2920 safexcel_hmac_sha3_256_cra_init(struct crypto_tfm *tfm) safexcel_hmac_sha3_256_cra_init() argument 2959 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_hmac_sha3_384_init() local 2991 safexcel_hmac_sha3_384_cra_init(struct crypto_tfm *tfm) safexcel_hmac_sha3_384_cra_init() argument 3030 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); safexcel_hmac_sha3_512_init() local 3062 safexcel_hmac_sha3_512_cra_init(struct crypto_tfm *tfm) safexcel_hmac_sha3_512_cra_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | mxs-dcp.c | 429 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in mxs_dcp_block_fallback() local 492 static int mxs_dcp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in mxs_dcp_aes_setkey() argument 519 static int mxs_dcp_aes_fallback_init_tfm(struct crypto_skcipher *tfm) in mxs_dcp_aes_fallback_init_tfm() argument 535 mxs_dcp_aes_fallback_exit_tfm(struct crypto_skcipher *tfm) mxs_dcp_aes_fallback_exit_tfm() argument 550 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); mxs_dcp_run_sha() local 620 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_req_to_buf() local 725 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_init() local 755 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_update_fx() local 817 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_import() local 832 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_export() local 842 dcp_sha_cra_init(struct crypto_tfm *tfm) dcp_sha_cra_init() argument 849 dcp_sha_cra_exit(struct crypto_tfm *tfm) dcp_sha_cra_exit() argument [all...] |
H A D | talitos.c | 1705 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash_unmap() local 1792 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash() local 1915 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_edesc_alloc() local 1930 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_init() local 1983 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); ahash_process_req() local 2135 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); ahash_export() local 2159 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); ahash_import() local 2186 keyhash(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen, u8 *hash) keyhash() argument 2217 ahash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) ahash_setkey() argument 3069 talitos_cra_init_aead(struct crypto_aead *tfm) talitos_cra_init_aead() argument 3081 talitos_cra_init_skcipher(struct crypto_skcipher *tfm) talitos_cra_init_skcipher() argument 3093 talitos_cra_init_ahash(struct crypto_tfm *tfm) talitos_cra_init_ahash() argument 3110 talitos_cra_exit(struct crypto_tfm *tfm) talitos_cra_exit() argument [all...] |
H A D | sahara.c | 627 static int sahara_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sahara_aes_setkey() argument 726 static int sahara_aes_init_tfm(struct crypto_skcipher *tfm) in sahara_aes_init_tfm() argument 744 static void sahara_aes_exit_tfm(struct crypto_skcipher *tfm) in sahara_aes_exit_tfm() argument 891 struct crypto_ahash *tfm in sahara_sha_prepare_request() local 1074 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sahara_sha_init() local 1139 sahara_sha_cra_init(struct crypto_tfm *tfm) sahara_sha_cra_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/stm32/ |
H A D | stm32-hash.c | 260 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_key() local 288 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_ctrl() local 589 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_hmac_dma_send() local 797 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in stm32_hash_init() local 929 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); stm32_hash_copy_hash() local 1144 stm32_hash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) stm32_hash_setkey() argument 1159 stm32_hash_init_fallback(struct crypto_tfm *tfm) stm32_hash_init_fallback() argument 1182 stm32_hash_cra_init_algs(struct crypto_tfm *tfm, u32 algs_flags) stm32_hash_cra_init_algs() argument 1197 stm32_hash_cra_init(struct crypto_tfm *tfm) stm32_hash_cra_init() argument 1202 stm32_hash_cra_hmac_init(struct crypto_tfm *tfm) stm32_hash_cra_hmac_init() argument 1207 stm32_hash_cra_sha3_init(struct crypto_tfm *tfm) stm32_hash_cra_sha3_init() argument 1212 stm32_hash_cra_sha3_hmac_init(struct crypto_tfm *tfm) stm32_hash_cra_sha3_hmac_init() argument 1219 stm32_hash_cra_exit(struct crypto_tfm *tfm) stm32_hash_cra_exit() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_crypto.h | 158 static inline struct chcr_context *a_ctx(struct crypto_aead *tfm) in a_ctx() argument 163 static inline struct chcr_context *c_ctx(struct crypto_skcipher *tfm) in c_ctx() argument 168 static inline struct chcr_context *h_ctx(struct crypto_ahash *tfm) in h_ctx() argument
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 592 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in hpre_dh_compute_value() local 715 static int hpre_dh_set_secret(struct crypto_kpp *tfm, const void *buf, in hpre_dh_set_secret() argument 742 static unsigned int hpre_dh_max_size(struct crypto_kpp *tfm) in hpre_dh_max_size() argument 749 static int hpre_dh_init_tfm(struct crypto_kpp *tfm) in hpre_dh_init_tfm() argument 758 static void hpre_dh_exit_tfm(struct crypto_kpp *tfm) in hpre_dh_exit_tfm() argument 795 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); hpre_rsa_enc() local 843 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); hpre_rsa_dec() local 1131 hpre_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) hpre_rsa_setpubkey() argument 1144 hpre_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) hpre_rsa_setprivkey() argument 1157 hpre_rsa_max_size(struct crypto_akcipher *tfm) hpre_rsa_max_size() argument 1169 hpre_rsa_init_tfm(struct crypto_akcipher *tfm) hpre_rsa_init_tfm() argument 1190 hpre_rsa_exit_tfm(struct crypto_akcipher *tfm) hpre_rsa_exit_tfm() argument 1391 hpre_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, unsigned int len) hpre_ecdh_set_secret() argument 1586 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); hpre_ecdh_compute_value() local 1627 hpre_ecdh_max_size(struct crypto_kpp *tfm) hpre_ecdh_max_size() argument 1635 hpre_ecdh_nist_p192_init_tfm(struct crypto_kpp *tfm) hpre_ecdh_nist_p192_init_tfm() argument 1646 hpre_ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm) hpre_ecdh_nist_p256_init_tfm() argument 1657 hpre_ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm) hpre_ecdh_nist_p384_init_tfm() argument 1668 hpre_ecdh_exit_tfm(struct crypto_kpp *tfm) hpre_ecdh_exit_tfm() argument 1730 hpre_curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, unsigned int len) hpre_curve25519_set_secret() argument 1938 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); hpre_curve25519_compute_value() local 1980 hpre_curve25519_max_size(struct crypto_kpp *tfm) hpre_curve25519_max_size() argument 1987 hpre_curve25519_init_tfm(struct crypto_kpp *tfm) hpre_curve25519_init_tfm() argument 1996 hpre_curve25519_exit_tfm(struct crypto_kpp *tfm) hpre_curve25519_exit_tfm() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/ixp4xx/ |
H A D | ixp4xx_crypto.c | 143 struct crypto_tfm *tfm; member 247 static inline u32 cipher_cfg_enc(struct crypto_tfm *tfm) in cipher_cfg_enc() argument 252 static inline u32 cipher_cfg_dec(struct crypto_tfm *tfm) in cipher_cfg_dec() argument 257 static inline const struct ix_hash_algo *ix_hash(struct crypto_tfm *tfm) in ix_hash() argument 355 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in finish_scattered_hmac() local 393 struct crypto_skcipher *tfm in one_packet() local 614 init_tfm(struct crypto_tfm *tfm) init_tfm() argument 630 init_tfm_ablk(struct crypto_skcipher *tfm) init_tfm_ablk() argument 652 init_tfm_aead(struct crypto_aead *tfm) init_tfm_aead() argument 658 exit_tfm(struct crypto_tfm *tfm) exit_tfm() argument 666 exit_tfm_ablk(struct crypto_skcipher *tfm) exit_tfm_ablk() argument 675 exit_tfm_aead(struct crypto_aead *tfm) exit_tfm_aead() argument 680 register_chain_var(struct crypto_tfm *tfm, u8 xpad, u32 target, int init_len, u32 ctx_addr, const u8 *key, int key_len) register_chain_var() argument 736 setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned int authsize, const u8 *key, int key_len, unsigned int digest_len) setup_auth() argument 783 gen_rev_aes_key(struct crypto_tfm *tfm) gen_rev_aes_key() argument 811 setup_cipher(struct crypto_tfm *tfm, int encrypt, const u8 *key, int key_len) setup_cipher() argument 901 ablk_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int key_len) ablk_setkey() argument 931 ablk_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int key_len) ablk_des3_setkey() argument 938 ablk_rfc3686_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int key_len) ablk_rfc3686_setkey() argument 956 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); ixp4xx_cipher_fallback() local 975 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); ablk_perform() local 1068 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); ablk_rfc3686_crypt() local 1091 struct crypto_aead *tfm = crypto_aead_reqtfm(req); aead_perform() local 1203 aead_setup(struct crypto_aead *tfm, unsigned int authsize) aead_setup() argument 1235 aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) aead_setauthsize() argument 1244 aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) aead_setkey() argument 1271 des3_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) des3_aead_setkey() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | utils.c | 1353 struct crypto_shash *tfm; in irdma_init_hash_desc() local
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | tcp.c | 831 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvmet_tcp_free_crypto() local 840 struct crypto_ahash *tfm; in nvmet_tcp_alloc_crypto() local
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/ |
H A D | rxe_verbs.h | 405 struct crypto_shash *tfm; member
|
/kernel/linux/linux-6.6/net/tipc/ |
H A D | crypto.c | 130 struct crypto_aead *tfm; member 491 struct crypto_aead *tfm; in tipc_aead_tfm_next() local 518 struct crypto_aead *tfm; in tipc_aead_init() local 685 tipc_aead_mem_alloc(struct crypto_aead *tfm, unsigned int crypto_ctx_size, u8 **iv, struct aead_request **req, struct scatterlist **sg, int nsg) tipc_aead_mem_alloc() argument 737 struct crypto_aead *tfm = tipc_aead_tfm_next(aead); tipc_aead_encrypt() local 882 struct crypto_aead *tfm; tipc_aead_decrypt() local [all...] |
/kernel/linux/linux-6.6/net/tls/ |
H A D | tls_sw.c | 2666 struct crypto_tfm *tfm; in tls_set_sw_offload() local
|
/kernel/linux/linux-5.10/crypto/ |
H A D | testmgr.c | 1182 struct crypto_shash *tfm = desc->tfm; in test_shash_vec_cfg() local 1366 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); test_ahash_vec_cfg() local 1644 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); test_hash_vs_generic_impl() local 1768 struct crypto_shash *tfm; alloc_shash() local 1933 struct crypto_aead *tfm = crypto_aead_reqtfm(req); test_aead_vec_cfg() local 2154 struct crypto_aead *tfm; global() member 2205 struct crypto_aead *tfm = crypto_aead_reqtfm(req); generate_aead_message() local 2273 struct crypto_aead *tfm = crypto_aead_reqtfm(req); generate_random_aead_testvec() local 2378 struct crypto_aead *tfm = ctx->tfm; test_aead_vs_generic_impl() local 2562 struct crypto_aead *tfm; alg_test_aead() local 2611 test_cipher(struct crypto_cipher *tfm, int enc, const struct cipher_testvec *template, unsigned int tcount) test_cipher() argument 2705 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); test_skcipher_vec_cfg() local 2914 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); generate_random_cipher_testvec() local 2969 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); test_skcipher_vs_generic_impl() local 3133 struct crypto_skcipher *tfm; alg_test_skcipher() local 3183 test_comp(struct crypto_comp *tfm, const struct comp_testvec *ctemplate, const struct comp_testvec *dtemplate, int ctcount, int dtcount) test_comp() argument 3289 test_acomp(struct crypto_acomp *tfm, const struct comp_testvec *ctemplate, const struct comp_testvec *dtemplate, int ctcount, int dtcount) test_acomp() argument 3458 test_cprng(struct crypto_rng *tfm, const struct cprng_testvec *template, unsigned int tcount) test_cprng() argument 3524 struct crypto_cipher *tfm; alg_test_cipher() local 3583 struct crypto_shash *tfm; alg_test_crc32c() local 3746 do_test_kpp(struct crypto_kpp *tfm, const struct kpp_testvec *vec, const char *alg) do_test_kpp() argument 3888 test_kpp(struct crypto_kpp *tfm, const char *alg, const struct kpp_testvec *vecs, unsigned int tcount) test_kpp() argument 3907 struct crypto_kpp *tfm; alg_test_kpp() local 3930 test_akcipher_one(struct crypto_akcipher *tfm, const struct akcipher_testvec *vecs) test_akcipher_one() argument 4112 test_akcipher(struct crypto_akcipher *tfm, const char *alg, const struct akcipher_testvec *vecs, unsigned int tcount) test_akcipher() argument 4135 struct crypto_akcipher *tfm; alg_test_akcipher() local [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_nl.c | 2368 alloc_shash(struct crypto_shash **tfm, char *tfm_name, int err_alg) in alloc_shash() argument
|
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local 405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local 983 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local 1054 struct crypto_aead *tfm = crypto_aead_reqtfm(req); safexcel_aead_send() local 1073 safexcel_cipher_exit_inv(struct crypto_tfm *tfm, struct crypto_async_request *base, struct safexcel_cipher_req *sreq, struct safexcel_inv_result *result) safexcel_cipher_exit_inv() argument 1107 safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) safexcel_skcipher_exit_inv() argument 1122 safexcel_aead_exit_inv(struct crypto_tfm *tfm) safexcel_aead_exit_inv() argument 1186 safexcel_skcipher_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_cra_init() argument 1205 safexcel_cipher_cra_exit(struct crypto_tfm *tfm) safexcel_cipher_cra_exit() argument 1219 safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) safexcel_skcipher_cra_exit() argument 1239 safexcel_aead_cra_exit(struct crypto_tfm *tfm) safexcel_aead_cra_exit() argument 1259 safexcel_skcipher_aes_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_ecb_cra_init() argument 1297 safexcel_skcipher_aes_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_cbc_cra_init() argument 1335 safexcel_skcipher_aes_cfb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_cfb_cra_init() argument 1373 safexcel_skcipher_aes_ofb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_ofb_cra_init() argument 1414 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_aesctr_setkey() local 1447 safexcel_skcipher_aes_ctr_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_ctr_cra_init() argument 1508 safexcel_skcipher_des_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des_cbc_cra_init() argument 1547 safexcel_skcipher_des_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des_ecb_cra_init() argument 1607 safexcel_skcipher_des3_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des3_cbc_cra_init() argument 1646 safexcel_skcipher_des3_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_des3_ecb_cra_init() argument 1698 safexcel_aead_cra_init(struct crypto_tfm *tfm) safexcel_aead_cra_init() argument 1721 safexcel_aead_sha1_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_cra_init() argument 1757 safexcel_aead_sha256_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_cra_init() argument 1793 safexcel_aead_sha224_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_cra_init() argument 1829 safexcel_aead_sha512_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_cra_init() argument 1865 safexcel_aead_sha384_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_cra_init() argument 1901 safexcel_aead_sha1_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_des3_cra_init() argument 1938 safexcel_aead_sha256_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_des3_cra_init() argument 1975 safexcel_aead_sha224_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_des3_cra_init() argument 2012 safexcel_aead_sha512_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_des3_cra_init() argument 2049 safexcel_aead_sha384_des3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_des3_cra_init() argument 2086 safexcel_aead_sha1_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_des_cra_init() argument 2123 safexcel_aead_sha256_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_des_cra_init() argument 2160 safexcel_aead_sha224_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_des_cra_init() argument 2197 safexcel_aead_sha512_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_des_cra_init() argument 2234 safexcel_aead_sha384_des_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_des_cra_init() argument 2271 safexcel_aead_sha1_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha1_ctr_cra_init() argument 2306 safexcel_aead_sha256_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha256_ctr_cra_init() argument 2341 safexcel_aead_sha224_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha224_ctr_cra_init() argument 2376 safexcel_aead_sha512_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha512_ctr_cra_init() argument 2411 safexcel_aead_sha384_ctr_cra_init(struct crypto_tfm *tfm) safexcel_aead_sha384_ctr_cra_init() argument 2449 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_aesxts_setkey() local 2504 safexcel_skcipher_aes_xts_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_aes_xts_cra_init() argument 2563 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_gcm_setkey() local 2618 safexcel_aead_gcm_cra_init(struct crypto_tfm *tfm) safexcel_aead_gcm_cra_init() argument 2632 safexcel_aead_gcm_cra_exit(struct crypto_tfm *tfm) safexcel_aead_gcm_cra_exit() argument 2640 safexcel_aead_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_aead_gcm_setauthsize() argument 2676 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_ccm_setkey() local 2717 safexcel_aead_ccm_cra_init(struct crypto_tfm *tfm) safexcel_aead_ccm_cra_init() argument 2730 safexcel_aead_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_aead_ccm_setauthsize() argument 2823 safexcel_skcipher_chacha20_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_chacha20_cra_init() argument 2880 safexcel_aead_chachapoly_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_aead_chachapoly_setauthsize() argument 2893 struct crypto_tfm *tfm = crypto_aead_tfm(aead); safexcel_aead_chachapoly_crypt() local 2951 safexcel_aead_fallback_cra_init(struct crypto_tfm *tfm) safexcel_aead_fallback_cra_init() argument 2973 safexcel_aead_chachapoly_cra_init(struct crypto_tfm *tfm) safexcel_aead_chachapoly_cra_init() argument 2987 safexcel_aead_fallback_cra_exit(struct crypto_tfm *tfm) safexcel_aead_fallback_cra_exit() argument 3024 safexcel_aead_chachapolyesp_cra_init(struct crypto_tfm *tfm) safexcel_aead_chachapolyesp_cra_init() argument 3067 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_sm4_setkey() local 3104 safexcel_skcipher_sm4_ecb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_ecb_cra_init() argument 3142 safexcel_skcipher_sm4_cbc_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_cbc_cra_init() argument 3180 safexcel_skcipher_sm4_ofb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_ofb_cra_init() argument 3218 safexcel_skcipher_sm4_cfb_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_cfb_cra_init() argument 3259 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); safexcel_skcipher_sm4ctr_setkey() local 3270 safexcel_skcipher_sm4_ctr_cra_init(struct crypto_tfm *tfm) safexcel_skcipher_sm4_ctr_cra_init() argument 3321 struct crypto_aead *tfm = crypto_aead_reqtfm(req); safexcel_aead_sm4_blk_decrypt() local 3331 safexcel_aead_sm4cbc_sha1_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4cbc_sha1_cra_init() argument 3372 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_fallback_setkey() local 3383 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_aead_fallback_setauthsize() local 3394 struct crypto_tfm *tfm = crypto_aead_tfm(aead); safexcel_aead_fallback_crypt() local 3427 struct crypto_aead *tfm = crypto_aead_reqtfm(req); safexcel_aead_sm4cbc_sm3_decrypt() local 3440 safexcel_aead_sm4cbc_sm3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4cbc_sm3_cra_init() argument 3480 safexcel_aead_sm4ctr_sha1_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4ctr_sha1_cra_init() argument 3515 safexcel_aead_sm4ctr_sm3_cra_init(struct crypto_tfm *tfm) safexcel_aead_sm4ctr_sm3_cra_init() argument 3553 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_rfc4106_gcm_setkey() local 3563 safexcel_rfc4106_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_rfc4106_gcm_setauthsize() argument 3581 safexcel_rfc4106_gcm_cra_init(struct crypto_tfm *tfm) safexcel_rfc4106_gcm_cra_init() argument 3618 safexcel_rfc4543_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_rfc4543_gcm_setauthsize() argument 3627 safexcel_rfc4543_gcm_cra_init(struct crypto_tfm *tfm) safexcel_rfc4543_gcm_cra_init() argument 3666 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); safexcel_rfc4309_ccm_setkey() local 3680 safexcel_rfc4309_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) safexcel_rfc4309_ccm_setauthsize() argument 3718 safexcel_rfc4309_ccm_cra_init(struct crypto_tfm *tfm) safexcel_rfc4309_ccm_cra_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | n2_core.c | 260 static inline struct n2_ahash_alg *n2_ahash_alg(struct crypto_tfm *tfm) in n2_ahash_alg() argument 275 static inline struct n2_hmac_alg *n2_hmac_alg(struct crypto_tfm *tfm) in n2_hmac_alg() argument 313 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init() local 325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update() local 339 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final() local 352 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); n2_hash_async_finup() local 374 n2_hash_cra_init(struct crypto_tfm *tfm) n2_hash_cra_init() argument 401 n2_hash_cra_exit(struct crypto_tfm *tfm) n2_hash_cra_exit() argument 409 n2_hmac_cra_init(struct crypto_tfm *tfm) n2_hmac_cra_init() argument 450 n2_hmac_cra_exit(struct crypto_tfm *tfm) n2_hmac_cra_exit() argument 459 n2_hmac_async_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) n2_hmac_async_setkey() argument 523 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); n2_do_async_digest() local 629 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); n2_hmac_async_digest() local 714 n2_skcipher_alg(struct crypto_skcipher *tfm) n2_skcipher_alg() argument 728 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); n2_aes_setkey() local 756 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); n2_des_setkey() local 775 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); n2_3des_setkey() local 946 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); n2_do_ecb() local 998 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); n2_do_chaining() local 1323 n2_skcipher_init_tfm(struct crypto_skcipher *tfm) n2_skcipher_init_tfm() argument [all...] |
H A D | omap-sham.c | 308 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_copy_hash_omap4() local 473 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_write_ctrl_omap4() local 963 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in omap_sham_init() local 1299 omap_sham_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) omap_sham_setkey() argument 1336 omap_sham_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) omap_sham_cra_init_alg() argument 1374 omap_sham_cra_init(struct crypto_tfm *tfm) omap_sham_cra_init() argument 1379 omap_sham_cra_sha1_init(struct crypto_tfm *tfm) omap_sham_cra_sha1_init() argument 1384 omap_sham_cra_sha224_init(struct crypto_tfm *tfm) omap_sham_cra_sha224_init() argument 1389 omap_sham_cra_sha256_init(struct crypto_tfm *tfm) omap_sham_cra_sha256_init() argument 1394 omap_sham_cra_md5_init(struct crypto_tfm *tfm) omap_sham_cra_md5_init() argument 1399 omap_sham_cra_sha384_init(struct crypto_tfm *tfm) omap_sham_cra_sha384_init() argument 1404 omap_sham_cra_sha512_init(struct crypto_tfm *tfm) omap_sham_cra_sha512_init() argument 1409 omap_sham_cra_exit(struct crypto_tfm *tfm) omap_sham_cra_exit() argument [all...] |
H A D | atmel-aes.c | 1136 static int atmel_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in atmel_aes_setkey() argument 1242 static int atmel_aes_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_init_tfm() argument 1252 static int atmel_aes_ctr_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_ctr_init_tfm() argument 1477 struct crypto_aead *tfm in atmel_aes_gcm_start() local 1514 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_gcm_process() local 1665 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_gcm_finalize() local 1710 atmel_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) atmel_aes_gcm_setkey() argument 1726 atmel_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) atmel_aes_gcm_setauthsize() argument 1742 atmel_aes_gcm_init(struct crypto_aead *tfm) atmel_aes_gcm_init() argument 1842 atmel_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) atmel_aes_xts_setkey() argument 1869 atmel_aes_xts_init_tfm(struct crypto_skcipher *tfm) atmel_aes_xts_init_tfm() argument 1920 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_authenc_start() local 2015 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_authenc_final() local 2039 atmel_aes_authenc_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) atmel_aes_authenc_setkey() argument 2073 atmel_aes_authenc_init_tfm(struct crypto_aead *tfm, unsigned long auth_mode) atmel_aes_authenc_init_tfm() argument 2090 atmel_aes_authenc_hmac_sha1_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha1_init_tfm() argument 2095 atmel_aes_authenc_hmac_sha224_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha224_init_tfm() argument 2100 atmel_aes_authenc_hmac_sha256_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha256_init_tfm() argument 2105 atmel_aes_authenc_hmac_sha384_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha384_init_tfm() argument 2110 atmel_aes_authenc_hmac_sha512_init_tfm(struct crypto_aead *tfm) atmel_aes_authenc_hmac_sha512_init_tfm() argument 2115 atmel_aes_authenc_exit_tfm(struct crypto_aead *tfm) atmel_aes_authenc_exit_tfm() argument 2126 struct crypto_aead *tfm = crypto_aead_reqtfm(req); atmel_aes_authenc_crypt() local [all...] |