Home
last modified time | relevance | path

Searched refs:crypto_shash (Results 1 – 25 of 139) sorted by relevance

123456

/linux/include/crypto/
A Dhash.h151 struct crypto_shash *tfm;
209 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
211 int (*init_tfm)(struct crypto_shash *tfm);
212 void (*exit_tfm)(struct crypto_shash *tfm);
239 struct crypto_shash { struct
732 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash()
748 struct crypto_shash *tfm) in crypto_shash_alignmask()
796 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) in crypto_shash_get_flags()
849 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
920 struct crypto_shash *tfm = desc->tfm; in crypto_shash_import()
[all …]
/linux/crypto/
A Dshash.c94 struct crypto_shash *tfm = desc->tfm; in shash_update_unaligned()
124 struct crypto_shash *tfm = desc->tfm; in crypto_shash_update()
137 struct crypto_shash *tfm = desc->tfm; in shash_final_unaligned()
165 struct crypto_shash *tfm = desc->tfm; in crypto_shash_final()
186 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup()
207 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest()
252 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
372 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_exit_shash_ops_async()
382 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_init_shash_ops_async()
383 struct crypto_shash *shash; in crypto_init_shash_ops_async()
[all …]
A Dhmac.c25 struct crypto_shash *hash;
33 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm) in hmac_ctx()
40 static int hmac_setkey(struct crypto_shash *parent, in hmac_setkey()
50 struct crypto_shash *hash = ctx->hash; in hmac_setkey()
115 struct crypto_shash *parent = pdesc->tfm; in hmac_final()
130 struct crypto_shash *parent = pdesc->tfm; in hmac_finup()
141 static int hmac_init_tfm(struct crypto_shash *parent) in hmac_init_tfm()
143 struct crypto_shash *hash; in hmac_init_tfm()
159 static void hmac_exit_tfm(struct crypto_shash *parent) in hmac_exit_tfm()
A Dxcbc.c51 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()
A Dcmac.c50 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()
/linux/net/mac80211/
A Daes_cmac.h12 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);
A Daes_cmac.c25 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()
A Dfils_aead.c25 static int aes_s2v(struct crypto_shash *tfm, in aes_s2v()
72 struct crypto_shash *tfm; in aes_siv_encrypt()
149 struct crypto_shash *tfm; in aes_siv_decrypt()
/linux/include/crypto/internal/
A Dhash.h200 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx()
218 struct crypto_shash *shash) in shash_alg_instance()
228 static inline struct crypto_shash *crypto_spawn_shash( in crypto_spawn_shash()
234 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm) in crypto_shash_ctx_aligned()
239 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast()
241 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()
/linux/security/integrity/ima/
A Dima_crypto.c57 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()
213 static void ima_free_tfm(struct crypto_shash *tfm) in ima_free_tfm()
457 struct crypto_shash *tfm) in ima_calc_file_hash_tfm()
508 struct crypto_shash *tfm; in ima_calc_file_shash()
721 struct crypto_shash *tfm) in calc_buffer_shash_tfm()
752 struct crypto_shash *tfm; in calc_buffer_shash()
800 struct crypto_shash *tfm) in ima_calc_boot_aggregate_tfm()
[all …]
/linux/lib/
A Dcrc-t10dif.c19 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()
/linux/net/ipv6/
A Dseg6_hmac.c122 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()
421 struct crypto_shash *tfm; in seg6_hmac_exit()
/linux/security/integrity/evm/
A Devm.h41 extern struct crypto_shash *hmac_tfm;
42 extern struct crypto_shash *hash_tfm;
A Devm_crypto.c29 struct crypto_shash *hmac_tfm;
30 static struct crypto_shash *evm_tfm[HASH_ALGO__LAST];
78 struct crypto_shash **tfm, *tmp_tfm = NULL; in init_desc()
/linux/security/apparmor/
A Dcrypto.c21 static struct crypto_shash *apparmor_tfm;
104 struct crypto_shash *tfm; in init_profile_hash()
/linux/arch/powerpc/crypto/
A Dcrc-vpmsum_test.c33 struct crypto_shash *crct10dif_tfm; in crc_test_init()
34 struct crypto_shash *crc32c_tfm; in crc_test_init()
/linux/include/net/sctp/
A Dauth.h25 struct crypto_shash;
81 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
/linux/fs/crypto/
A Dhkdf.c48 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/arch/x86/crypto/
A Dghash-clmulni-intel_glue.c53 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
167 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init()
246 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_digest()
/linux/Documentation/crypto/
A Dapi-samples.rst104 static struct sdesc *init_sdesc(struct crypto_shash *alg)
117 static int calc_hash(struct crypto_shash *alg,
138 struct crypto_shash *alg;
/linux/drivers/crypto/
A Dpadlock-sha.c29 struct crypto_shash *fallback;
194 static int padlock_init_tfm(struct crypto_shash *hash) in padlock_init_tfm()
198 struct crypto_shash *fallback_tfm; in padlock_init_tfm()
214 static void padlock_exit_tfm(struct crypto_shash *hash) in padlock_exit_tfm()
/linux/drivers/staging/rtl8192u/ieee80211/
A Dieee80211_crypt_tkip.c54 struct crypto_shash *rx_tfm_michael;
55 struct crypto_shash *tx_tfm_michael;
446 static int michael_mic(struct crypto_shash *tfm_michael, u8 *key, u8 *hdr, in michael_mic()
608 struct crypto_shash *tfm = tkey->tx_tfm_michael; in ieee80211_tkip_set_key()
609 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in ieee80211_tkip_set_key()
/linux/drivers/staging/rtl8192e/
A Drtllib_crypt_tkip.c50 struct crypto_shash *rx_tfm_michael;
51 struct crypto_shash *tx_tfm_michael;
457 static int michael_mic(struct crypto_shash *tfm_michael, u8 *key, u8 *hdr, in michael_mic()
617 struct crypto_shash *tfm = tkey->tx_tfm_michael; in rtllib_tkip_set_key()
618 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in rtllib_tkip_set_key()
/linux/net/wireless/
A Dlib80211_crypt_tkip.c67 struct crypto_shash *rx_tfm_michael;
68 struct crypto_shash *tx_tfm_michael;
474 static int michael_mic(struct crypto_shash *tfm_michael, u8 *key, u8 *hdr, in michael_mic()
624 struct crypto_shash *tfm = tkey->tx_tfm_michael; in lib80211_tkip_set_key()
626 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in lib80211_tkip_set_key()
/linux/drivers/net/wireless/intersil/orinoco/
A Dorinoco.h154 struct crypto_shash *rx_tfm_mic;
155 struct crypto_shash *tx_tfm_mic;

Completed in 41 milliseconds

123456