/Linux-v6.6/crypto/ |
D | xctr.c | 35 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_final() 50 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_segment() 75 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_inplace() 102 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_xctr_crypt() local
|
D | cmac.c | 125 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update() local 171 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final() local 201 static int cmac_init_tfm(struct crypto_shash *tfm) in cmac_init_tfm() 218 static int cmac_clone_tfm(struct crypto_shash *tfm, struct crypto_shash *otfm) in cmac_clone_tfm() 233 static void cmac_exit_tfm(struct crypto_shash *tfm) in cmac_exit_tfm()
|
D | geniv.c | 19 static int aead_geniv_setkey(struct crypto_aead *tfm, in aead_geniv_setkey() 27 static int aead_geniv_setauthsize(struct crypto_aead *tfm, in aead_geniv_setauthsize() 153 void aead_exit_geniv(struct crypto_aead *tfm) in aead_exit_geniv()
|
D | cbc.c | 26 struct crypto_tfm *tfm; in crypto_cbc_encrypt_segment() local 53 struct crypto_tfm *tfm; in crypto_cbc_encrypt_inplace() local 101 struct crypto_tfm *tfm; in crypto_cbc_decrypt_segment() local 131 struct crypto_tfm *tfm; in crypto_cbc_decrypt_inplace() local
|
D | adiantum.c | 117 static int adiantum_setkey(struct crypto_skcipher *tfm, const u8 *key, in adiantum_setkey() 221 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_hash_header() local 250 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_hash_message() local 284 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_finish() local 323 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_crypt() local 396 static int adiantum_init_tfm(struct crypto_skcipher *tfm) in adiantum_init_tfm() 448 static void adiantum_exit_tfm(struct crypto_skcipher *tfm) in adiantum_exit_tfm()
|
D | aead.c | 32 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, in setkey_unaligned() 53 int crypto_aead_setkey(struct crypto_aead *tfm, in crypto_aead_setkey() 74 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in crypto_aead_setauthsize() 152 static void crypto_aead_exit_tfm(struct crypto_tfm *tfm) in crypto_aead_exit_tfm() 160 static int crypto_aead_init_tfm(struct crypto_tfm *tfm) in crypto_aead_init_tfm()
|
/Linux-v6.6/net/xfrm/ |
D | xfrm_ipcomp.c | 45 struct crypto_comp *tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_decompress() local 128 struct crypto_comp *tfm; in ipcomp_compress() local 254 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms() local 268 struct crypto_comp *tfm; in ipcomp_alloc_tfms() local 292 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms() local
|
/Linux-v6.6/drivers/crypto/virtio/ |
D | virtio_crypto_akcipher_algs.c | 29 struct crypto_akcipher *tfm; member 364 static int virtio_crypto_rsa_set_key(struct crypto_akcipher *tfm, in virtio_crypto_rsa_set_key() 428 static int virtio_crypto_rsa_raw_set_priv_key(struct crypto_akcipher *tfm, in virtio_crypto_rsa_raw_set_priv_key() 438 static int virtio_crypto_p1pad_rsa_sha1_set_priv_key(struct crypto_akcipher *tfm, in virtio_crypto_p1pad_rsa_sha1_set_priv_key() 447 static int virtio_crypto_rsa_raw_set_pub_key(struct crypto_akcipher *tfm, in virtio_crypto_rsa_raw_set_pub_key() 456 static int virtio_crypto_p1pad_rsa_sha1_set_pub_key(struct crypto_akcipher *tfm, in virtio_crypto_p1pad_rsa_sha1_set_pub_key() 465 static unsigned int virtio_crypto_rsa_max_size(struct crypto_akcipher *tfm) in virtio_crypto_rsa_max_size() 473 static int virtio_crypto_rsa_init_tfm(struct crypto_akcipher *tfm) in virtio_crypto_rsa_init_tfm() 485 static void virtio_crypto_rsa_exit_tfm(struct crypto_akcipher *tfm) in virtio_crypto_rsa_exit_tfm()
|
/Linux-v6.6/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 683 static int sec_skcipher_fbtfm_init(struct crypto_skcipher *tfm) in sec_skcipher_fbtfm_init() 705 static int sec_skcipher_init(struct crypto_skcipher *tfm) in sec_skcipher_init() 739 static void sec_skcipher_uninit(struct crypto_skcipher *tfm) in sec_skcipher_uninit() 750 static int sec_skcipher_3des_setkey(struct crypto_skcipher *tfm, const u8 *key, in sec_skcipher_3des_setkey() 821 static int sec_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in sec_skcipher_setkey() 900 struct crypto_aead *tfm; in GEN_SEC_SETKEY_FUNC() local 951 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in sec_aead_mac_init() local 1120 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in sec_aead_setauthsize() local 1131 struct crypto_aead *tfm, const u8 *key, in sec_aead_fallback_setkey() 1140 static int sec_aead_setkey(struct crypto_aead *tfm, const u8 *key, in sec_aead_setkey() [all …]
|
/Linux-v6.6/drivers/crypto/hisilicon/hpre/ |
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() 742 static unsigned int hpre_dh_max_size(struct crypto_kpp *tfm) in hpre_dh_max_size() 749 static int hpre_dh_init_tfm(struct crypto_kpp *tfm) in hpre_dh_init_tfm() 758 static void hpre_dh_exit_tfm(struct crypto_kpp *tfm) in hpre_dh_exit_tfm() 795 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in hpre_rsa_enc() local 843 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in hpre_rsa_dec() local 1131 static int hpre_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, in hpre_rsa_setpubkey() 1144 static int hpre_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, in hpre_rsa_setprivkey() 1157 static unsigned int hpre_rsa_max_size(struct crypto_akcipher *tfm) in hpre_rsa_max_size() [all …]
|
/Linux-v6.6/arch/arm/crypto/ |
D | curve25519-glue.c | 49 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, in curve25519_set_secret() 66 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_compute_value() local 97 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) in curve25519_max_size()
|
/Linux-v6.6/drivers/crypto/caam/ |
D | caamprng.c | 76 static int caam_prng_generate(struct crypto_rng *tfm, in caam_prng_generate() 138 static void caam_prng_exit(struct crypto_tfm *tfm) {} in caam_prng_exit() 140 static int caam_prng_init(struct crypto_tfm *tfm) in caam_prng_init() 145 static int caam_prng_seed(struct crypto_rng *tfm, in caam_prng_seed()
|
/Linux-v6.6/drivers/crypto/ccp/ |
D | ccp-crypto-aes-xts.c | 75 static int ccp_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, in ccp_aes_xts_setkey() 107 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ccp_aes_xts_crypt() local 197 static int ccp_aes_xts_init_tfm(struct crypto_skcipher *tfm) in ccp_aes_xts_init_tfm() 220 static void ccp_aes_xts_exit_tfm(struct crypto_skcipher *tfm) in ccp_aes_xts_exit_tfm()
|
D | ccp-crypto-aes-cmac.c | 27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete() local 58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update() local 256 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_aes_cmac_setkey() 335 static int ccp_aes_cmac_cra_init(struct crypto_tfm *tfm) in ccp_aes_cmac_cra_init()
|
/Linux-v6.6/drivers/crypto/starfive/ |
D | jh7110-hash.c | 273 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_init() local 291 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_update() local 308 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_final() local 325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_finup() local 342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest_fb() local 357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest() local 381 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_export() local 395 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_import() local
|
/Linux-v6.6/drivers/crypto/bcm/ |
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); in ahash_update() local 2146 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_final() local 2185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_finup() local 2419 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_hmac_init() local 2469 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_hmac_digest() local 2576 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_do_fallback() local [all …]
|
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/ |
D | qat_comp_algs.c | 81 struct crypto_acomp *tfm = crypto_acomp_reqtfm(areq); in qat_comp_resubmit() local 181 struct crypto_acomp *tfm = crypto_acomp_reqtfm(areq); in qat_comp_generic_callback() local 266 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); in qat_comp_alg_init_tfm() local 289 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); in qat_comp_alg_exit_tfm() local 298 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); in qat_comp_alg_rfc1950_init_tfm() local 314 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); in qat_comp_alg_compress_decompress() local 419 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); in qat_comp_alg_rfc1950_decompress() local
|
D | qat_asym_algs.c | 219 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in qat_dh_compute_value() local 446 static int qat_dh_set_secret(struct crypto_kpp *tfm, const void *buf, in qat_dh_set_secret() 480 static unsigned int qat_dh_max_size(struct crypto_kpp *tfm) in qat_dh_max_size() 487 static int qat_dh_init_tfm(struct crypto_kpp *tfm) in qat_dh_init_tfm() 504 static void qat_dh_exit_tfm(struct crypto_kpp *tfm) in qat_dh_exit_tfm() 647 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_enc() local 781 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_dec() local 1158 static int qat_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setkey() 1205 static int qat_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setpubkey() 1211 static int qat_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setprivkey() [all …]
|
/Linux-v6.6/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 104 struct crypto_sync_skcipher *tfm, in krb5_encrypt() 159 struct crypto_sync_skcipher *tfm, in krb5_decrypt() 215 struct crypto_ahash *tfm; in make_checksum() local 314 gss_krb5_checksum(struct crypto_ahash *tfm, char *header, int hdrlen, in gss_krb5_checksum() 385 struct crypto_sync_skcipher *tfm = in encryptor() local 446 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_encrypt_xdr_buf() 487 struct crypto_sync_skcipher *tfm = in decryptor() local 529 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_decrypt_xdr_buf() 930 struct crypto_ahash *tfm, const struct xdr_buf *body, in krb5_etm_checksum()
|
/Linux-v6.6/include/crypto/ |
D | algapi.h | 184 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx() 189 static inline void *crypto_tfm_ctx_align(struct crypto_tfm *tfm, in crypto_tfm_ctx_align() 198 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) in crypto_tfm_ctx_aligned() 213 static inline void *crypto_tfm_ctx_dma(struct crypto_tfm *tfm) in crypto_tfm_ctx_dma() 219 struct crypto_tfm *tfm) in crypto_tfm_alg_instance() 277 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
|
D | sig.h | 45 static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm) in crypto_sig_tfm() 57 static inline void crypto_free_sig(struct crypto_sig *tfm) in crypto_free_sig()
|
/Linux-v6.6/drivers/crypto/ |
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() 519 static int mxs_dcp_aes_fallback_init_tfm(struct crypto_skcipher *tfm) in mxs_dcp_aes_fallback_init_tfm() 535 static void mxs_dcp_aes_fallback_exit_tfm(struct crypto_skcipher *tfm) in mxs_dcp_aes_fallback_exit_tfm() 550 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in mxs_dcp_run_sha() local 620 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_req_to_buf() local 725 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_init() local 755 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_update_fx() local 817 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_import() local 832 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_export() local [all …]
|
D | atmel-aes.c | 1155 static int atmel_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in atmel_aes_setkey() 1261 static int atmel_aes_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_init_tfm() 1277 static int atmel_aes_ctr_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_ctr_init_tfm() 1508 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_start() local 1545 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_process() local 1696 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_finalize() local 1736 static int atmel_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, in atmel_aes_gcm_setkey() 1752 static int atmel_aes_gcm_setauthsize(struct crypto_aead *tfm, in atmel_aes_gcm_setauthsize() 1768 static int atmel_aes_gcm_init(struct crypto_aead *tfm) in atmel_aes_gcm_init() 1870 static int atmel_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, in atmel_aes_xts_setkey() [all …]
|
/Linux-v6.6/arch/arm64/crypto/ |
D | aes-ce-glue.c | 46 static void aes_cipher_encrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) in aes_cipher_encrypt() 60 static void aes_cipher_decrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) in aes_cipher_decrypt() 142 int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ce_aes_setkey()
|
/Linux-v6.6/arch/x86/crypto/ |
D | blowfish_glue.c | 43 static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in blowfish_encrypt() 48 static void blowfish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in blowfish_decrypt() 53 static int blowfish_setkey_skcipher(struct crypto_skcipher *tfm, in blowfish_setkey_skcipher()
|