/Linux-v6.6/drivers/crypto/qce/ |
D | skcipher.c | 173 struct crypto_tfm *tfm = crypto_skcipher_tfm(ablk); in qce_skcipher_setkey() local 258 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in qce_skcipher_crypt() local 320 static int qce_skcipher_init(struct crypto_skcipher *tfm) in qce_skcipher_init() 328 static int qce_skcipher_init_fallback(struct crypto_skcipher *tfm) in qce_skcipher_init_fallback() 342 static void qce_skcipher_exit(struct crypto_skcipher *tfm) in qce_skcipher_exit()
|
/Linux-v6.6/include/crypto/internal/ |
D | rng.h | 29 static inline void *crypto_rng_ctx(struct crypto_rng *tfm) in crypto_rng_ctx() 34 static inline void crypto_rng_set_entropy(struct crypto_rng *tfm, in crypto_rng_set_entropy()
|
D | akcipher.h | 59 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx() 64 static inline void *akcipher_tfm_ctx_dma(struct crypto_akcipher *tfm) in akcipher_tfm_ctx_dma() 75 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm) in akcipher_alg_name()
|
D | kpp.h | 76 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx() 81 static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm) in kpp_tfm_ctx_dma() 91 static inline const char *kpp_alg_name(struct crypto_kpp *tfm) in kpp_alg_name()
|
/Linux-v6.6/drivers/crypto/ |
D | n2_core.c | 262 static inline struct n2_ahash_alg *n2_ahash_alg(struct crypto_tfm *tfm) in n2_ahash_alg() 277 static inline struct n2_hmac_alg *n2_hmac_alg(struct crypto_tfm *tfm) in n2_hmac_alg() 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); in n2_hash_async_finup() local 376 static int n2_hash_cra_init(struct crypto_tfm *tfm) in n2_hash_cra_init() 403 static void n2_hash_cra_exit(struct crypto_tfm *tfm) in n2_hash_cra_exit() 411 static int n2_hmac_cra_init(struct crypto_tfm *tfm) in n2_hmac_cra_init() 452 static void n2_hmac_cra_exit(struct crypto_tfm *tfm) in n2_hmac_cra_exit() [all …]
|
D | qcom-rng.c | 76 static int qcom_rng_generate(struct crypto_rng *tfm, in qcom_rng_generate() 98 static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed, in qcom_rng_seed() 133 static int qcom_rng_init(struct crypto_tfm *tfm) in qcom_rng_init()
|
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() 1689 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup() local 1750 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_prehash_key_done() local 1767 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_ipad_hash() local 1787 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_opad_hash() local 1803 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup_done() local 1851 static int atmel_sha_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in atmel_sha_hmac_setkey() 1874 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_init_done() local 1891 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_final() local [all …]
|
/Linux-v6.6/crypto/ |
D | xcbc.c | 92 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update() local 138 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final() local 167 static int xcbc_init_tfm(struct crypto_tfm *tfm) in xcbc_init_tfm() 183 static void xcbc_exit_tfm(struct crypto_tfm *tfm) in xcbc_exit_tfm()
|
D | hctr2.c | 129 static int hctr2_setkey(struct crypto_skcipher *tfm, const u8 *key, in hctr2_setkey() 172 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in hctr2_hash_tweak() local 231 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in hctr2_finish() local 267 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in hctr2_crypt() local 334 static int hctr2_init_tfm(struct crypto_skcipher *tfm) in hctr2_init_tfm() 385 static void hctr2_exit_tfm(struct crypto_skcipher *tfm) in hctr2_exit_tfm()
|
D | compress.c | 16 struct crypto_tfm *tfm = crypto_comp_tfm(comp); in crypto_comp_compress() local 27 struct crypto_tfm *tfm = crypto_comp_tfm(comp); in crypto_comp_decompress() local
|
D | ecrdsa.c | 73 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in ecrdsa_verify() local 191 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in ecrdsa_set_pub_key() 252 static unsigned int ecrdsa_max_size(struct crypto_akcipher *tfm) in ecrdsa_max_size() 263 static void ecrdsa_exit_tfm(struct crypto_akcipher *tfm) in ecrdsa_exit_tfm()
|
D | khazad.c | 756 static int khazad_setkey(struct crypto_tfm *tfm, const u8 *in_key, in khazad_setkey() 837 static void khazad_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_encrypt() 843 static void khazad_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_decrypt()
|
D | ccm.c | 108 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, in crypto_ccm_setauthsize() 392 static int crypto_ccm_init_tfm(struct crypto_aead *tfm) in crypto_ccm_init_tfm() 428 static void crypto_ccm_exit_tfm(struct crypto_aead *tfm) in crypto_ccm_exit_tfm() 667 static int crypto_rfc4309_init_tfm(struct crypto_aead *tfm) in crypto_rfc4309_init_tfm() 692 static void crypto_rfc4309_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4309_exit_tfm() 803 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update() local 829 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final() local 840 static int cbcmac_init_tfm(struct crypto_tfm *tfm) in cbcmac_init_tfm() 856 static void cbcmac_exit_tfm(struct crypto_tfm *tfm) in cbcmac_exit_tfm()
|
D | testmgr.c | 847 #define do_setkey(setkey_f, tfm, key, ksize, cfg, alignmask) \ argument 1277 struct crypto_shash *tfm = desc->tfm; in test_shash_vec_cfg() local 1461 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in test_ahash_vec_cfg() local 1740 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in test_hash_vs_generic_impl() local 1868 struct crypto_shash *tfm; in alloc_shash() local 2035 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in test_aead_vec_cfg() local 2261 struct crypto_aead *tfm; member 2314 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generate_aead_message() local 2384 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generate_random_aead_testvec() local 2490 struct crypto_aead *tfm = ctx->tfm; in test_aead_vs_generic_impl() local [all …]
|
D | drbg.c | 1659 static void drbg_kcapi_set_entropy(struct crypto_rng *tfm, in drbg_kcapi_set_entropy() 1682 struct crypto_shash *tfm; in drbg_init_hash_kernel() local 1739 struct crypto_cipher *tfm = in drbg_fini_sym_kernel() local 1761 struct crypto_cipher *tfm; in drbg_init_sym_kernel() local 1821 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_symsetkey() local 1829 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_sym() local 1925 static int drbg_kcapi_init(struct crypto_tfm *tfm) in drbg_kcapi_init() 1934 static void drbg_kcapi_cleanup(struct crypto_tfm *tfm) in drbg_kcapi_cleanup() 1948 static int drbg_kcapi_random(struct crypto_rng *tfm, in drbg_kcapi_random() 1968 static int drbg_kcapi_seed(struct crypto_rng *tfm, in drbg_kcapi_seed()
|
/Linux-v6.6/arch/x86/crypto/ |
D | aegis128-aesni-glue.c | 155 static int crypto_aegis128_aesni_setauthsize(struct crypto_aead *tfm, in crypto_aegis128_aesni_setauthsize() 170 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_crypt() local 195 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_encrypt() local 217 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_decrypt() local
|
D | twofish_glue.c | 54 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_encrypt() 59 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_decrypt()
|
/Linux-v6.6/net/sunrpc/auth_gss/ |
D | gss_krb5_keys.c | 305 krb5_cmac_Ki(struct crypto_shash *tfm, const struct xdr_netobj *constant, in krb5_cmac_Ki() 377 struct crypto_shash *tfm; in krb5_kdf_feedback_cmac() local 444 krb5_hmac_K1(struct crypto_shash *tfm, const struct xdr_netobj *label, in krb5_hmac_K1() 506 struct crypto_shash *tfm; in krb5_kdf_hmac_sha2() local
|
/Linux-v6.6/drivers/crypto/starfive/ |
D | jh7110-aes.c | 551 static int starfive_aes_init_tfm(struct crypto_skcipher *tfm) in starfive_aes_init_tfm() 621 static int starfive_aes_aead_init_tfm(struct crypto_aead *tfm) in starfive_aes_aead_init_tfm() 647 static void starfive_aes_aead_exit_tfm(struct crypto_aead *tfm) in starfive_aes_aead_exit_tfm() 656 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in starfive_aes_crypt() local 698 static int starfive_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in starfive_aes_setkey() 717 static int starfive_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, in starfive_aes_aead_setkey() 739 static int starfive_aes_gcm_setauthsize(struct crypto_aead *tfm, in starfive_aes_gcm_setauthsize() 745 static int starfive_aes_ccm_setauthsize(struct crypto_aead *tfm, in starfive_aes_ccm_setauthsize()
|
/Linux-v6.6/include/crypto/ |
D | cryptd.h | 39 struct crypto_ahash *tfm) in __cryptd_ahash_cast() 58 struct crypto_aead *tfm) in __cryptd_aead_cast()
|
/Linux-v6.6/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-hash.c | 18 int sun4i_hash_crainit(struct crypto_tfm *tfm) in sun4i_hash_crainit() 39 void sun4i_hash_craexit(struct crypto_tfm *tfm) in sun4i_hash_craexit() 50 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash_init() local 193 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash() local
|
/Linux-v6.6/arch/arm/crypto/ |
D | aes-cipher-glue.c | 16 static void aes_arm_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm_encrypt() 24 static void aes_arm_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm_decrypt()
|
/Linux-v6.6/arch/arm64/crypto/ |
D | aes-cipher-glue.c | 15 static void aes_arm64_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm64_encrypt() 23 static void aes_arm64_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm64_decrypt()
|
/Linux-v6.6/drivers/crypto/ccp/ |
D | ccp-crypto-des3.c | 37 static int ccp_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, in ccp_des3_setkey() 63 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ccp_des3_crypt() local 116 static int ccp_des3_init_tfm(struct crypto_skcipher *tfm) in ccp_des3_init_tfm()
|
/Linux-v6.6/drivers/crypto/nx/ |
D | nx-aes-ccm.c | 23 static int ccm_aes_nx_set_key(struct crypto_aead *tfm, in ccm_aes_nx_set_key() 53 static int ccm4309_aes_nx_set_key(struct crypto_aead *tfm, in ccm4309_aes_nx_set_key() 69 static int ccm_aes_nx_setauthsize(struct crypto_aead *tfm, in ccm_aes_nx_setauthsize() 88 static int ccm4309_aes_nx_setauthsize(struct crypto_aead *tfm, in ccm4309_aes_nx_setauthsize()
|