| /Linux-v6.6/include/crypto/ | 
| D | hash.h | 176 	struct crypto_shash *tfm; 236 	int (*setkey)(struct crypto_shash *tfm, const u8 *key, 238 	int (*init_tfm)(struct crypto_shash *tfm); 239 	void (*exit_tfm)(struct crypto_shash *tfm); 240 	int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src); 268 struct crypto_shash {  struct 768 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, 771 struct crypto_shash *crypto_clone_shash(struct crypto_shash *tfm); 775 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm)  in crypto_shash_tfm() 786 static inline void crypto_free_shash(struct crypto_shash *tfm)  in crypto_free_shash() [all …] 
 | 
| D | kdf_sp800108.h | 31 int crypto_kdf108_ctr_generate(struct crypto_shash *kmd, 57 int crypto_kdf108_setkey(struct crypto_shash *kmd,
  | 
| /Linux-v6.6/crypto/ | 
| D | shash.c | 34 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,  in shash_no_setkey() 41 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key,  in shash_setkey_unaligned() 62 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg)  in shash_set_needkey() 68 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,  in crypto_shash_setkey() 93 	struct crypto_shash *tfm = desc->tfm;  in shash_update_unaligned() 123 	struct crypto_shash *tfm = desc->tfm;  in crypto_shash_update() 142 	struct crypto_shash *tfm = desc->tfm;  in shash_final_unaligned() 170 	struct crypto_shash *tfm = desc->tfm;  in crypto_shash_final() 197 	struct crypto_shash *tfm = desc->tfm;  in crypto_shash_finup() 230 	struct crypto_shash *tfm = desc->tfm;  in crypto_shash_digest() [all …] 
 | 
| D | hmac.c | 26 	struct crypto_shash *hash; 34 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm)  in hmac_ctx() 41 static int hmac_setkey(struct crypto_shash *parent,  in hmac_setkey() 51 	struct crypto_shash *hash = ctx->hash;  in hmac_setkey() 119 	struct crypto_shash *parent = pdesc->tfm;  in hmac_final() 134 	struct crypto_shash *parent = pdesc->tfm;  in hmac_finup() 145 static int hmac_init_tfm(struct crypto_shash *parent)  in hmac_init_tfm() 147 	struct crypto_shash *hash;  in hmac_init_tfm() 163 static int hmac_clone_tfm(struct crypto_shash *dst, struct crypto_shash *src)  in hmac_clone_tfm() 167 	struct crypto_shash *hash;  in hmac_clone_tfm() [all …] 
 | 
| D | cmac.c | 50 static int crypto_cmac_digest_setkey(struct crypto_shash *parent,  in crypto_cmac_digest_setkey() 121 	struct crypto_shash *parent = pdesc->tfm;  in crypto_cmac_digest_update() 167 	struct crypto_shash *parent = pdesc->tfm;  in crypto_cmac_digest_final() 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 | kdf_sp800108.c | 17 int crypto_kdf108_ctr_generate(struct crypto_shash *kmd,  in crypto_kdf108_ctr_generate() 77 int crypto_kdf108_setkey(struct crypto_shash *kmd,  in crypto_kdf108_setkey()
  | 
| D | jitterentropy-kcapi.c | 186 	struct crypto_shash *tfm; 215 	struct crypto_shash *hash;  in jent_kcapi_init() 324 	struct crypto_shash *tfm;  in jent_mod_init()
  | 
| D | xcbc.c | 51 static int crypto_xcbc_digest_setkey(struct crypto_shash *parent,  in crypto_xcbc_digest_setkey() 88 	struct crypto_shash *parent = pdesc->tfm;  in crypto_xcbc_digest_update() 134 	struct crypto_shash *parent = pdesc->tfm;  in crypto_xcbc_digest_final()
  | 
| /Linux-v6.6/net/mac80211/ | 
| D | aes_cmac.h | 12 struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[], 14 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, 16 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, 18 void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm);
  | 
| D | aes_cmac.c | 25 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad,  in ieee80211_aes_cmac() 49 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad,  in ieee80211_aes_cmac_256() 71 struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[],  in ieee80211_aes_cmac_key_setup() 74 	struct crypto_shash *tfm;  in ieee80211_aes_cmac_key_setup() 89 void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm)  in ieee80211_aes_cmac_key_free()
  | 
| /Linux-v6.6/include/crypto/internal/ | 
| D | hash.h | 78 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, 238 static inline void *crypto_shash_ctx(struct crypto_shash *tfm)  in crypto_shash_ctx() 256 	struct crypto_shash *shash)  in shash_alg_instance() 266 static inline struct crypto_shash *crypto_spawn_shash(  in crypto_spawn_shash() 272 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm)  in crypto_shash_ctx_aligned() 277 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm)  in __crypto_shash_cast() 279 	return container_of(tfm, struct crypto_shash, base);  in __crypto_shash_cast()
  | 
| D | kdf_selftest.h | 25 	 int (*crypto_kdf_setkey)(struct crypto_shash *kmd,  in kdf_test() 28 	 int (*crypto_kdf_generate)(struct crypto_shash *kmd,  in kdf_test() 33 	struct crypto_shash *kmd;  in kdf_test()
  | 
| /Linux-v6.6/lib/ | 
| D | crc-t10dif.c | 19 static struct crypto_shash __rcu *crct10dif_tfm; 38 	struct crypto_shash *new, *old;  in crc_t10dif_rehash() 112 	struct crypto_shash *tfm;  in crc_t10dif_transform_show()
  | 
| D | crc64-rocksoft.c | 13 static struct crypto_shash __rcu *crc64_rocksoft_tfm; 32 	struct crypto_shash *new, *old;  in crc64_rocksoft_rehash() 106 	struct crypto_shash *tfm;  in crc64_rocksoft_transform_show()
  | 
| /Linux-v6.6/security/integrity/ima/ | 
| D | ima_crypto.c | 57 static struct crypto_shash *ima_shash_tfm; 61 	struct crypto_shash *tfm; 91 static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo)  in ima_alloc_tfm() 93 	struct crypto_shash *tfm = ima_shash_tfm;  in ima_alloc_tfm() 214 static void ima_free_tfm(struct crypto_shash *tfm)  in ima_free_tfm() 458 				  struct crypto_shash *tfm)  in ima_calc_file_hash_tfm() 509 	struct crypto_shash *tfm;  in ima_calc_file_shash() 722 				struct crypto_shash *tfm)  in calc_buffer_shash_tfm() 753 	struct crypto_shash *tfm;  in calc_buffer_shash() 801 				       struct crypto_shash *tfm)  in ima_calc_boot_aggregate_tfm() [all …] 
 | 
| /Linux-v6.6/security/keys/ | 
| D | dh.c | 67 static int kdf_alloc(struct crypto_shash **hash, char *hashname)  in kdf_alloc() 69 	struct crypto_shash *tfm;  in kdf_alloc() 88 static void kdf_dealloc(struct crypto_shash *hash)  in kdf_dealloc() 94 static int keyctl_dh_compute_kdf(struct crypto_shash *hash,  in keyctl_dh_compute_kdf() 138 	struct crypto_shash *hash = NULL;  in __keyctl_dh_compute()
  | 
| /Linux-v6.6/drivers/crypto/xilinx/ | 
| D | zynqmp-sha.c | 36 	struct crypto_shash *fbk_tfm; 46 static int zynqmp_sha_init_tfm(struct crypto_shash *hash)  in zynqmp_sha_init_tfm() 51 	struct crypto_shash *fallback_tfm;  in zynqmp_sha_init_tfm() 69 static void zynqmp_sha_exit_tfm(struct crypto_shash *hash)  in zynqmp_sha_exit_tfm()
  | 
| /Linux-v6.6/net/ipv6/ | 
| D | seg6_hmac.c | 122 	struct crypto_shash *tfm;  in __do_hmac() 354 	struct crypto_shash *tfm;  in seg6_hmac_init_algo() 361 		struct crypto_shash **p_tfm;  in seg6_hmac_init_algo() 365 		algo->tfms = alloc_percpu(struct crypto_shash *);  in seg6_hmac_init_algo() 419 			struct crypto_shash *tfm;  in seg6_hmac_exit()
  | 
| /Linux-v6.6/security/apparmor/ | 
| D | crypto.c | 21 static struct crypto_shash *apparmor_tfm; 104 	struct crypto_shash *tfm;  in init_profile_hash()
  | 
| /Linux-v6.6/arch/powerpc/crypto/ | 
| D | crc-vpmsum_test.c | 33 	struct crypto_shash *crct10dif_tfm;  in crc_test_init() 34 	struct crypto_shash *crc32c_tfm;  in crc_test_init()
  | 
| /Linux-v6.6/include/net/sctp/ | 
| D | auth.h | 25 struct crypto_shash; 81 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
  | 
| /Linux-v6.6/fs/crypto/ | 
| D | hkdf.c | 48 static int hkdf_extract(struct crypto_shash *hmac_tfm, const u8 *ikm,  in hkdf_extract() 71 	struct crypto_shash *hmac_tfm;  in fscrypt_init_hkdf()
  | 
| /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() 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()
  | 
| /Linux-v6.6/arch/x86/crypto/ | 
| D | polyval-clmulni_glue.c | 52 static inline struct polyval_tfm_ctx *polyval_tfm_ctx(struct crypto_shash *tfm)  in polyval_tfm_ctx() 81 static int polyval_x86_setkey(struct crypto_shash *tfm,  in polyval_x86_setkey()
  | 
| /Linux-v6.6/Documentation/crypto/ | 
| D | api-samples.rst | 104     static struct sdesc *init_sdesc(struct crypto_shash *alg) 117     static int calc_hash(struct crypto_shash *alg, 138         struct crypto_shash *alg;
  |