Home
last modified time | relevance | path

Searched refs:hash_desc (Results 1 – 35 of 35) sorted by relevance

/linux-4.1.27/include/scsi/
Dlibiscsi_tcp.h29 struct hash_desc;
41 struct hash_desc *hash;
76 struct hash_desc *rx_hash;
114 struct hash_desc *hash);
119 iscsi_segment_done_fn_t *done, struct hash_desc *hash);
122 extern void iscsi_tcp_dgst_header(struct hash_desc *hash, const void *hdr,
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c43 struct hash_desc *desc, unsigned char *key, in cfs_crypto_hash_alloc()
101 struct hash_desc hdesc; in cfs_crypto_hash_digest()
132 struct hash_desc *hdesc; in cfs_crypto_hash_init()
159 return crypto_hash_update((struct hash_desc *)hdesc, &sl, sl.length); in cfs_crypto_hash_update_page()
170 return crypto_hash_update((struct hash_desc *)hdesc, &sl, sl.length); in cfs_crypto_hash_update()
179 int size = crypto_hash_digestsize(((struct hash_desc *)hdesc)->tfm); in cfs_crypto_hash_final()
182 crypto_free_hash(((struct hash_desc *)hdesc)->tfm); in cfs_crypto_hash_final()
190 err = crypto_hash_final((struct hash_desc *) hdesc, hash); in cfs_crypto_hash_final()
196 crypto_free_hash(((struct hash_desc *)hdesc)->tfm); in cfs_crypto_hash_final()
/linux-4.1.27/drivers/scsi/
Discsi_tcp.h48 struct hash_desc tx_hash; /* CRC32C (Tx) */
49 struct hash_desc rx_hash; /* CRC32C (Rx) */
Dlibiscsi_tcp.c313 iscsi_tcp_dgst_header(struct hash_desc *hash, const void *hdr, size_t hdrlen, in iscsi_tcp_dgst_header()
344 iscsi_segment_done_fn_t *done, struct hash_desc *hash) in __iscsi_segment_init()
359 struct hash_desc *hash) in iscsi_segment_init_linear()
371 iscsi_segment_done_fn_t *done, struct hash_desc *hash) in iscsi_segment_seek_sg()
434 struct hash_desc *rx_hash = NULL; in iscsi_tcp_data_recv_prep()
689 struct hash_desc *rx_hash = NULL; in iscsi_tcp_hdr_dissect()
Discsi_tcp.c457 struct hash_desc *tx_hash = NULL; in iscsi_sw_tcp_send_data_prep()
483 struct hash_desc *tx_hash = NULL; in iscsi_sw_tcp_send_linear_data_prep()
/linux-4.1.27/include/linux/
Dcrypto.h218 struct hash_desc { struct
638 int (*init)(struct hash_desc *desc);
639 int (*update)(struct hash_desc *desc,
641 int (*final)(struct hash_desc *desc, u8 *out);
642 int (*digest)(struct hash_desc *desc, struct scatterlist *sg,
2251 static inline int crypto_hash_init(struct hash_desc *desc) in crypto_hash_init()
2270 static inline int crypto_hash_update(struct hash_desc *desc, in crypto_hash_update()
2291 static inline int crypto_hash_final(struct hash_desc *desc, u8 *out) in crypto_hash_final()
2310 static inline int crypto_hash_digest(struct hash_desc *desc, in crypto_hash_digest()
/linux-4.1.27/fs/ecryptfs/
Dkeystore.c608 struct hash_desc hash_desc; member
745 s->hash_desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP; in ecryptfs_write_tag_70_packet()
746 s->hash_desc.tfm = crypto_alloc_hash(ECRYPTFS_TAG_70_DIGEST, 0, in ecryptfs_write_tag_70_packet()
748 if (IS_ERR(s->hash_desc.tfm)) { in ecryptfs_write_tag_70_packet()
749 rc = PTR_ERR(s->hash_desc.tfm); in ecryptfs_write_tag_70_packet()
755 rc = crypto_hash_init(&s->hash_desc); in ecryptfs_write_tag_70_packet()
763 &s->hash_desc, &s->hash_sg, in ecryptfs_write_tag_70_packet()
771 rc = crypto_hash_final(&s->hash_desc, s->hash); in ecryptfs_write_tag_70_packet()
785 rc = crypto_hash_init(&s->hash_desc); in ecryptfs_write_tag_70_packet()
792 rc = crypto_hash_update(&s->hash_desc, &s->hash_sg, in ecryptfs_write_tag_70_packet()
[all …]
Dcrypto.c92 struct hash_desc desc = { in ecryptfs_calculate_md5()
/linux-4.1.27/drivers/net/wireless/orinoco/
Dmic.c50 struct hash_desc desc; in orinoco_mic()
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c122 struct hash_desc *desc = data; in checksummer()
155 struct hash_desc desc; in make_checksum_hmac_md5()
245 struct hash_desc desc; in make_checksum()
326 struct hash_desc desc; in make_checksum_v2()
857 struct hash_desc desc; in krb5_rc4_setup_seq_key()
923 struct hash_desc desc; in krb5_rc4_setup_enc_key()
Dgss_krb5_mech.c433 struct hash_desc desc; in context_derive_keys_rc4()
/linux-4.1.27/crypto/
Dshash.c380 static int shash_compat_init(struct hash_desc *hdesc) in shash_compat_init()
390 static int shash_compat_update(struct hash_desc *hdesc, struct scatterlist *sg, in shash_compat_update()
405 static int shash_compat_final(struct hash_desc *hdesc, u8 *out) in shash_compat_final()
412 static int shash_compat_digest(struct hash_desc *hdesc, struct scatterlist *sg, in shash_compat_digest()
Dtcrypt.c519 static int test_hash_jiffies_digest(struct hash_desc *desc, in test_hash_jiffies_digest()
540 static int test_hash_jiffies(struct hash_desc *desc, struct scatterlist *sg, in test_hash_jiffies()
572 static int test_hash_cycles_digest(struct hash_desc *desc, in test_hash_cycles_digest()
615 static int test_hash_cycles(struct hash_desc *desc, struct scatterlist *sg, in test_hash_cycles()
693 struct hash_desc desc; in test_hash_speed()
Dahash.c170 int crypto_hash_walk_first_compat(struct hash_desc *hdesc, in crypto_hash_walk_first_compat()
/linux-4.1.27/include/crypto/internal/
Dhash.h60 int crypto_hash_walk_first_compat(struct hash_desc *hdesc,
/linux-4.1.27/include/target/iscsi/
Discsi_target_core.h584 struct hash_desc conn_rx_hash;
585 struct hash_desc conn_tx_hash;
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcapa.c247 struct hash_desc desc; in ll_crypto_hmac()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_auth.c189 struct hash_desc desc; in chap_server_compute_md5()
Discsi_target.c1199 struct hash_desc *hash, in iscsit_do_crypto_hash_sg()
1239 struct hash_desc *hash, in iscsit_do_crypto_hash_buf()
/linux-4.1.27/drivers/net/ppp/
Dppp_mppe.c138 struct hash_desc desc; in get_new_key_from_sha()
/linux-4.1.27/Documentation/crypto/
Dapi-intro.txt59 struct hash_desc desc;
/linux-4.1.27/net/sctp/
Dauth.c713 struct hash_desc desc; in sctp_auth_calculate_hmac()
Dsm_make_chunk.c1666 struct hash_desc desc; in sctp_pack_cookie()
1705 struct hash_desc desc; in sctp_unpack_cookie()
/linux-4.1.27/net/wireless/
Dlib80211_crypt_tkip.c511 struct hash_desc desc; in michael_mic()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c504 struct hash_desc desc; in michael_mic()
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c508 struct hash_desc desc; in michael_mic()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_worker.c296 struct hash_desc desc; in drbd_csum_ee()
323 struct hash_desc desc; in drbd_csum_bio()
Ddrbd_receiver.c4904 struct hash_desc desc; in drbd_do_auth()
/linux-4.1.27/net/ipv6/
Dtcp_ipv6.c555 struct hash_desc *desc; in tcp_v6_md5_hash_hdr()
590 struct hash_desc *desc; in tcp_v6_md5_hash_skb()
/linux-4.1.27/net/ipv4/
Dtcp_ipv4.c1043 struct hash_desc *desc; in tcp_v4_md5_hash_hdr()
1076 struct hash_desc *desc; in tcp_v4_md5_hash_skb()
Dtcp.c2951 struct hash_desc *desc = &hp->md5_desc; in tcp_md5_hash_skb_data()
/linux-4.1.27/fs/nfsd/
Dnfs4recover.c107 struct hash_desc desc; in nfs4_make_rec_clidname()
/linux-4.1.27/include/net/
Dtcp.h1297 struct hash_desc md5_desc;
/linux-4.1.27/drivers/md/
Ddm-crypt.c265 struct hash_desc desc; in crypt_iv_essiv_init()
/linux-4.1.27/net/bluetooth/
Dsmp.c166 struct hash_desc desc; in aes_cmac()