Home
last modified time | relevance | path

Searched refs:crypto_hash_update (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/drivers/target/iscsi/
Discsi_target_auth.c264 ret = crypto_hash_update(&desc, &sg, 1); in chap_server_compute_md5()
272 ret = crypto_hash_update(&desc, &sg, strlen(auth->password)); in chap_server_compute_md5()
280 ret = crypto_hash_update(&desc, &sg, CHAP_CHALLENGE_LENGTH); in chap_server_compute_md5()
393 ret = crypto_hash_update(&desc, &sg, 1); in chap_server_compute_md5()
402 ret = crypto_hash_update(&desc, &sg, strlen(auth->password_mutual)); in chap_server_compute_md5()
413 ret = crypto_hash_update(&desc, &sg, challenge_len); in chap_server_compute_md5()
Discsi_target.c1220 crypto_hash_update(hash, &sg[i], cur_len); in iscsit_do_crypto_hash_sg()
1231 crypto_hash_update(hash, &pad_sg, padding); in iscsit_do_crypto_hash_sg()
1251 crypto_hash_update(hash, &sg, payload_length); in iscsit_do_crypto_hash_buf()
1255 crypto_hash_update(hash, &sg, padding); in iscsit_do_crypto_hash_buf()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c159 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()
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c124 return crypto_hash_update(desc, sg, sg->length); in checksummer()
195 err = crypto_hash_update(&desc, sg, 4); in make_checksum_hmac_md5()
200 err = crypto_hash_update(&desc, sg, hdrlen); in make_checksum_hmac_md5()
280 err = crypto_hash_update(&desc, sg, hdrlen); in make_checksum()
363 err = crypto_hash_update(&desc, sg, hdrlen); in make_checksum_v2()
/linux-4.1.27/net/ipv4/
Dtcp.c2941 err = crypto_hash_update(&hp->md5_desc, &sg, sizeof(hdr)); in tcp_md5_hash_header()
2961 if (crypto_hash_update(desc, &sg, head_data_len)) in tcp_md5_hash_skb_data()
2971 if (crypto_hash_update(desc, &sg, skb_frag_size(f))) in tcp_md5_hash_skb_data()
2988 return crypto_hash_update(&hp->md5_desc, &sg, key->keylen); in tcp_md5_hash_key()
Dtcp_ipv4.c1036 return crypto_hash_update(&hp->md5_desc, &sg, sizeof(*bp)); in tcp_v4_md5_hash_pseudoheader()
/linux-4.1.27/crypto/
Dtcrypt.c556 ret = crypto_hash_update(desc, sg, plen); in test_hash_jiffies()
633 ret = crypto_hash_update(desc, sg, plen); in test_hash_cycles()
652 ret = crypto_hash_update(desc, sg, plen); in test_hash_cycles()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_worker.c311 crypto_hash_update(&desc, &sg, sg.length); in drbd_csum_ee()
317 crypto_hash_update(&desc, &sg, sg.length); in drbd_csum_ee()
336 crypto_hash_update(&desc, &sg, sg.length); in drbd_csum_bio()
/linux-4.1.27/drivers/scsi/
Dlibiscsi_tcp.c217 crypto_hash_update(segment->hash, &sg, copied); in iscsi_tcp_segment_done()
/linux-4.1.27/fs/ecryptfs/
Dkeystore.c762 rc = crypto_hash_update( in ecryptfs_write_tag_70_packet()
792 rc = crypto_hash_update(&s->hash_desc, &s->hash_sg, in ecryptfs_write_tag_70_packet()
Dcrypto.c119 rc = crypto_hash_update(&desc, &sg, len); in ecryptfs_calculate_md5()
/linux-4.1.27/include/linux/
Dcrypto.h2270 static inline int crypto_hash_update(struct hash_desc *desc, in crypto_hash_update() function
/linux-4.1.27/net/ipv6/
Dtcp_ipv6.c547 return crypto_hash_update(&hp->md5_desc, &sg, sizeof(*bp)); in tcp_v6_md5_hash_pseudoheader()
/linux-4.1.27/net/bluetooth/
Dsmp.c198 err = crypto_hash_update(&desc, &sg, len); in aes_cmac()