Home
last modified time | relevance | path

Searched refs:crypto_hash (Results 1 – 29 of 29) sorted by relevance

/linux-4.4.14/include/linux/
Dcrypto.h140 struct crypto_hash;
191 struct crypto_hash *tfm;
529 int (*setkey)(struct crypto_hash *tfm, const u8 *key,
584 struct crypto_hash { struct
1587 static inline struct crypto_hash *__crypto_hash_cast(struct crypto_tfm *tfm) in __crypto_hash_cast()
1589 return (struct crypto_hash *)tfm; in __crypto_hash_cast()
1592 static inline struct crypto_hash *crypto_hash_cast(struct crypto_tfm *tfm) in crypto_hash_cast()
1613 static inline struct crypto_hash *crypto_alloc_hash(const char *alg_name, in crypto_alloc_hash()
1624 static inline struct crypto_tfm *crypto_hash_tfm(struct crypto_hash *tfm) in crypto_hash_tfm()
1633 static inline void crypto_free_hash(struct crypto_hash *tfm) in crypto_free_hash()
[all …]
/linux-4.4.14/drivers/net/wireless/orinoco/
Dmic.h14 struct crypto_hash;
18 int orinoco_mic(struct crypto_hash *tfm_michael, u8 *key,
Dorinoco.h155 struct crypto_hash *rx_tfm_mic;
156 struct crypto_hash *tx_tfm_mic;
Dmic.c46 int orinoco_mic(struct crypto_hash *tfm_michael, u8 *key, in orinoco_mic()
/linux-4.4.14/crypto/
DMakefile27 crypto_hash-y += ahash.o
28 crypto_hash-y += shash.o
29 obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
Dshash.c371 static int shash_compat_setkey(struct crypto_hash *tfm, const u8 *key, in shash_compat_setkey()
Dtcrypt.c730 struct crypto_hash *tfm; in test_hash_speed()
745 get_driver_name(crypto_hash, tfm)); in test_hash_speed()
/linux-4.4.14/include/crypto/
Dalgapi.h278 static inline struct crypto_hash *crypto_spawn_hash(struct crypto_spawn *spawn) in crypto_spawn_hash()
286 static inline void *crypto_hash_ctx(struct crypto_hash *tfm) in crypto_hash_ctx()
291 static inline void *crypto_hash_ctx_aligned(struct crypto_hash *tfm) in crypto_hash_ctx_aligned()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c56 struct crypto_hash *rx_tfm_michael;
58 struct crypto_hash *tx_tfm_michael;
504 static int michael_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *hdr, in michael_mic()
663 struct crypto_hash *tfm = tkey->tx_tfm_michael; in ieee80211_tkip_set_key()
665 struct crypto_hash *tfm3 = tkey->rx_tfm_michael; in ieee80211_tkip_set_key()
/linux-4.4.14/net/wireless/
Dlib80211_crypt_tkip.c67 struct crypto_hash *rx_tfm_michael;
69 struct crypto_hash *tx_tfm_michael;
508 static int michael_mic(struct crypto_hash *tfm_michael, u8 * key, u8 * hdr, in michael_mic()
648 struct crypto_hash *tfm = tkey->tx_tfm_michael; in lib80211_tkip_set_key()
650 struct crypto_hash *tfm3 = tkey->rx_tfm_michael; in lib80211_tkip_set_key()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c52 struct crypto_hash *rx_tfm_michael;
54 struct crypto_hash *tx_tfm_michael;
503 static int michael_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *hdr, in michael_mic()
658 struct crypto_hash *tfm = tkey->tx_tfm_michael; in rtllib_tkip_set_key()
660 struct crypto_hash *tfm3 = tkey->rx_tfm_michael; in rtllib_tkip_set_key()
/linux-4.4.14/include/net/sctp/
Dauth.h93 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]);
Dstructs.h84 struct crypto_hash;
170 struct crypto_hash *hmac;
1238 struct crypto_hash **auth_hmacs;
/linux-4.4.14/net/bluetooth/
Dsmp.c91 struct crypto_hash *tfm_cmac;
130 struct crypto_hash *tfm_cmac;
168 static int aes_cmac(struct crypto_hash *tfm, const u8 k[16], const u8 *m, in aes_cmac()
223 static int smp_f4(struct crypto_hash *tfm_cmac, const u8 u[32], const u8 v[32], in smp_f4()
246 static int smp_f5(struct crypto_hash *tfm_cmac, const u8 w[32], in smp_f5()
299 static int smp_f6(struct crypto_hash *tfm_cmac, const u8 w[16], in smp_f6()
327 static int smp_g2(struct crypto_hash *tfm_cmac, const u8 u[32], const u8 v[32], in smp_g2()
353 static int smp_h6(struct crypto_hash *tfm_cmac, const u8 w[16], in smp_h6()
3131 struct crypto_hash *tfm_cmac; in smp_add_cid()
3527 static int __init test_f4(struct crypto_hash *tfm_cmac) in test_f4()
[all …]
/linux-4.4.14/net/sctp/
Dauth.c451 struct crypto_hash *tfm = NULL; in sctp_auth_init_hmacs()
466 sizeof(struct crypto_hash *) * SCTP_AUTH_NUM_HMACS, in sctp_auth_init_hmacs()
503 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]) in sctp_auth_destroy_hmacs()
Dsocket.c6311 struct crypto_hash *tfm = NULL; in sctp_listen_start()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_int.h740 struct crypto_hash *cram_hmac_tfm;
741 …struct crypto_hash *integrity_tfm; /* checksums we compute, updates protected by connection->data…
742 …struct crypto_hash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver threa…
743 struct crypto_hash *csums_tfm;
744 struct crypto_hash *verify_tfm;
1514 extern void drbd_csum_bio(struct crypto_hash *, struct bio *, void *);
1515 extern void drbd_csum_ee(struct crypto_hash *, struct drbd_peer_request *, void *);
Ddrbd_nl.c2068 struct crypto_hash *verify_tfm;
2069 struct crypto_hash *csums_tfm;
2070 struct crypto_hash *cram_hmac_tfm;
2071 struct crypto_hash *integrity_tfm;
2075 alloc_hash(struct crypto_hash **tfm, char *tfm_name, int err_alg) in alloc_hash()
Ddrbd_worker.c272 void drbd_csum_ee(struct crypto_hash *tfm, struct drbd_peer_request *peer_req, void *digest) in drbd_csum_ee()
299 void drbd_csum_bio(struct crypto_hash *tfm, struct bio *bio, void *digest) in drbd_csum_bio()
Ddrbd_receiver.c3298 struct crypto_hash *peer_integrity_tfm = NULL; in receive_protocol()
3446 static struct crypto_hash *drbd_crypto_alloc_digest_safe(const struct drbd_device *device, in drbd_crypto_alloc_digest_safe()
3449 struct crypto_hash *tfm; in drbd_crypto_alloc_digest_safe()
3507 struct crypto_hash *verify_tfm = NULL; in receive_SyncParam()
3508 struct crypto_hash *csums_tfm = NULL; in receive_SyncParam()
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c160 struct crypto_hash *md5; in make_checksum_hmac_md5()
161 struct crypto_hash *hmac_md5; in make_checksum_hmac_md5()
856 struct crypto_hash *hmac; in krb5_rc4_setup_seq_key()
920 struct crypto_hash *hmac; in krb5_rc4_setup_enc_key()
Dgss_krb5_mech.c430 struct crypto_hash *hmac; in context_derive_keys_rc4()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_auth.c188 struct crypto_hash *tfm; in chap_server_compute_md5()
/linux-4.4.14/drivers/net/ppp/
Dppp_mppe.c98 struct crypto_hash *sha1;
/linux-4.4.14/fs/ecryptfs/
Decryptfs_kernel.h237 struct crypto_hash *hash_tfm; /* Crypto context for generating
/linux-4.4.14/Documentation/crypto/
Dapi-intro.txt58 struct crypto_hash *tfm;
/linux-4.4.14/drivers/md/
Ddm-crypt.c89 struct crypto_hash *hash_tfm;
363 struct crypto_hash *hash_tfm = NULL; in crypt_iv_essiv_ctr()
/linux-4.4.14/include/net/
Dtcp.h1323 struct crypto_hash;
/linux-4.4.14/net/ipv4/
Dtcp.c2949 struct crypto_hash *hash; in __tcp_alloc_md5sig_pool()