Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dcrypto.h140 struct crypto_hash;
219 struct crypto_hash *tfm;
644 int (*setkey)(struct crypto_hash *tfm, const u8 *key,
713 struct crypto_hash { struct
2114 static inline struct crypto_hash *__crypto_hash_cast(struct crypto_tfm *tfm) in __crypto_hash_cast()
2116 return (struct crypto_hash *)tfm; in __crypto_hash_cast()
2119 static inline struct crypto_hash *crypto_hash_cast(struct crypto_tfm *tfm) in crypto_hash_cast()
2140 static inline struct crypto_hash *crypto_alloc_hash(const char *alg_name, in crypto_alloc_hash()
2151 static inline struct crypto_tfm *crypto_hash_tfm(struct crypto_hash *tfm) in crypto_hash_tfm()
2160 static inline void crypto_free_hash(struct crypto_hash *tfm) in crypto_free_hash()
[all …]
/linux-4.1.27/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.1.27/crypto/
DMakefile25 crypto_hash-y += ahash.o
26 crypto_hash-y += shash.o
27 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.c692 struct crypto_hash *tfm; in test_hash_speed()
707 get_driver_name(crypto_hash, tfm)); in test_hash_speed()
/linux-4.1.27/include/crypto/
Dalgapi.h291 static inline struct crypto_hash *crypto_spawn_hash(struct crypto_spawn *spawn) in crypto_spawn_hash()
299 static inline void *crypto_hash_ctx(struct crypto_hash *tfm) in crypto_hash_ctx()
304 static inline void *crypto_hash_ctx_aligned(struct crypto_hash *tfm) in crypto_hash_ctx_aligned()
/linux-4.1.27/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.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c56 struct crypto_hash *rx_tfm_michael;
58 struct crypto_hash *tx_tfm_michael;
501 static int michael_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *hdr, in michael_mic()
659 struct crypto_hash *tfm = tkey->tx_tfm_michael; in ieee80211_tkip_set_key()
661 struct crypto_hash *tfm3 = tkey->rx_tfm_michael; in ieee80211_tkip_set_key()
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c51 struct crypto_hash *rx_tfm_michael;
53 struct crypto_hash *tx_tfm_michael;
505 static int michael_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *hdr, in michael_mic()
661 struct crypto_hash *tfm = tkey->tx_tfm_michael; in rtllib_tkip_set_key()
663 struct crypto_hash *tfm3 = tkey->rx_tfm_michael; in rtllib_tkip_set_key()
/linux-4.1.27/fs/ext4/
Dext4_crypto.h128 struct crypto_hash *htfm;
/linux-4.1.27/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.1.27/net/bluetooth/
Dsmp.c85 struct crypto_hash *tfm_cmac;
124 struct crypto_hash *tfm_cmac;
162 static int aes_cmac(struct crypto_hash *tfm, const u8 k[16], const u8 *m, in aes_cmac()
217 static int smp_f4(struct crypto_hash *tfm_cmac, const u8 u[32], const u8 v[32], in smp_f4()
240 static int smp_f5(struct crypto_hash *tfm_cmac, const u8 w[32], in smp_f5()
293 static int smp_f6(struct crypto_hash *tfm_cmac, const u8 w[16], in smp_f6()
321 static int smp_g2(struct crypto_hash *tfm_cmac, const u8 u[32], const u8 v[32], in smp_g2()
347 static int smp_h6(struct crypto_hash *tfm_cmac, const u8 w[16], in smp_h6()
3099 struct crypto_hash *tfm_cmac; in smp_add_cid()
3400 static int __init test_f4(struct crypto_hash *tfm_cmac) in test_f4()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcapa.c242 static inline int ll_crypto_hmac(struct crypto_hash *tfm, in ll_crypto_hmac()
261 struct crypto_hash *tfm; in capa_hmac()
/linux-4.1.27/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.c6324 struct crypto_hash *tfm = NULL; in sctp_listen_start()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_int.h739 struct crypto_hash *cram_hmac_tfm;
740 …struct crypto_hash *integrity_tfm; /* checksums we compute, updates protected by connection->data…
741 …struct crypto_hash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver threa…
742 struct crypto_hash *csums_tfm;
743 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.c294 void drbd_csum_ee(struct crypto_hash *tfm, struct drbd_peer_request *peer_req, void *digest) in drbd_csum_ee()
321 void drbd_csum_bio(struct crypto_hash *tfm, struct bio *bio, void *digest) in drbd_csum_bio()
Ddrbd_receiver.c3297 struct crypto_hash *peer_integrity_tfm = NULL; in receive_protocol()
3445 static struct crypto_hash *drbd_crypto_alloc_digest_safe(const struct drbd_device *device, in drbd_crypto_alloc_digest_safe()
3448 struct crypto_hash *tfm; in drbd_crypto_alloc_digest_safe()
3506 struct crypto_hash *verify_tfm = NULL; in receive_SyncParam()
3507 struct crypto_hash *csums_tfm = NULL; in receive_SyncParam()
/linux-4.1.27/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()
922 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.1.27/drivers/target/iscsi/
Discsi_target_auth.c188 struct crypto_hash *tfm; in chap_server_compute_md5()
/linux-4.1.27/drivers/net/ppp/
Dppp_mppe.c98 struct crypto_hash *sha1;
/linux-4.1.27/Documentation/crypto/
Dapi-intro.txt58 struct crypto_hash *tfm;
/linux-4.1.27/fs/ecryptfs/
Decryptfs_kernel.h238 struct crypto_hash *hash_tfm; /* Crypto context for generating
/linux-4.1.27/drivers/md/
Ddm-crypt.c89 struct crypto_hash *hash_tfm;
362 struct crypto_hash *hash_tfm = NULL; in crypt_iv_essiv_ctr()
/linux-4.1.27/include/net/
Dtcp.h1247 struct crypto_hash;
/linux-4.1.27/net/ipv4/
Dtcp.c2877 struct crypto_hash *hash; in __tcp_alloc_md5sig_pool()