Home
last modified time | relevance | path

Searched refs:ahash_request_set_crypt (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c136 ahash_request_set_crypt(req, sg, NULL, sg->length); in checksummer()
218 ahash_request_set_crypt(req, sg, NULL, 4); in make_checksum_hmac_md5()
224 ahash_request_set_crypt(req, sg, NULL, hdrlen); in make_checksum_hmac_md5()
232 ahash_request_set_crypt(req, NULL, checksumdata, 0); in make_checksum_hmac_md5()
249 ahash_request_set_crypt(req, sg, checksumdata, in make_checksum_hmac_md5()
325 ahash_request_set_crypt(req, sg, NULL, hdrlen); in make_checksum()
333 ahash_request_set_crypt(req, NULL, checksumdata, 0); in make_checksum()
421 ahash_request_set_crypt(req, sg, NULL, hdrlen); in make_checksum_v2()
426 ahash_request_set_crypt(req, NULL, checksumdata, 0); in make_checksum_v2()
/Linux-v4.19/crypto/
Dalgif_hash.c105 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, NULL, len); in hash_sendmsg()
125 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_sendmsg()
158 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, ctx->result, size); in hash_sendpage()
209 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_recvmsg()
Dchacha20poly1305.c194 ahash_request_set_crypt(&preq->req, preq->src, in poly_tail()
225 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_cipherpad()
256 ahash_request_set_crypt(&preq->req, crypt, NULL, rctx->cryptlen); in poly_cipher()
286 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_adpad()
310 ahash_request_set_crypt(&preq->req, req->src, NULL, rctx->assoclen); in poly_ad()
337 ahash_request_set_crypt(&preq->req, preq->src, NULL, sizeof(rctx->key)); in poly_setkey()
Dauthenc.c155 ahash_request_set_crypt(ahreq, req->dst, hash, in crypto_authenc_genicv()
302 ahash_request_set_crypt(ahreq, req->src, hash, in crypto_authenc_decrypt()
Dauthencesn.c162 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
325 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()
Dccm.c211 ahash_request_set_crypt(ahreq, sg, NULL, assoclen + ilen + 16); in crypto_ccm_auth()
231 ahash_request_set_crypt(ahreq, plain, pctx->odata, cryptlen); in crypto_ccm_auth()
Dgcm.c233 ahash_request_set_crypt(ahreq, src, NULL, len); in gcm_hash_update()
257 ahash_request_set_crypt(ahreq, &pctx->sg, in gcm_hash_len()
Dtestmgr.c236 ahash_request_set_crypt(req, sg, result, template->tap[k]); in ahash_partial_update()
340 ahash_request_set_crypt(req, sg, result, template[i].psize); in __test_hash()
468 ahash_request_set_crypt(req, sg, result, template[i].psize); in __test_hash()
522 ahash_request_set_crypt(req, sg, result, template[i].tap[0]); in __test_hash()
/Linux-v4.19/security/integrity/ima/
Dima_crypto.c293 ahash_request_set_crypt(req, sg, NULL, rbuf_len); in ima_calc_file_hash_atfm()
309 ahash_request_set_crypt(req, NULL, hash->digest, 0); in ima_calc_file_hash_atfm()
539 ahash_request_set_crypt(req, &sg, NULL, len); in calc_buffer_ahash_atfm()
546 ahash_request_set_crypt(req, NULL, hash->digest, 0); in calc_buffer_ahash_atfm()
/Linux-v4.19/Documentation/crypto/
Dapi-digest.rst26 …t_set_tfm ahash_request_alloc ahash_request_free ahash_request_set_callback ahash_request_set_crypt
Dapi-intro.txt69 ahash_request_set_crypt(req, sg, result, 2);
/Linux-v4.19/drivers/md/
Ddm-verity-target.c104 ahash_request_set_crypt(req, &sg, NULL, len); in verity_hash_update()
113 ahash_request_set_crypt(req, &sg, NULL, this_step); in verity_hash_update()
165 ahash_request_set_crypt(req, NULL, digest, 0); in verity_hash_final()
392 ahash_request_set_crypt(req, &sg, NULL, len); in verity_for_io_block()
/Linux-v4.19/net/ipv4/
Dah4.c233 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_output()
408 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_input()
Dtcp_ipv4.c1189 ahash_request_set_crypt(hp->md5_req, &sg, NULL, in tcp_v4_md5_hash_headers()
1211 ahash_request_set_crypt(req, NULL, md5_hash, 0); in tcp_v4_md5_hash_hdr()
1257 ahash_request_set_crypt(req, NULL, md5_hash, 0); in tcp_v4_md5_hash_skb()
Dtcp.c3697 ahash_request_set_crypt(req, &sg, NULL, head_data_len); in tcp_md5_hash_skb_data()
3708 ahash_request_set_crypt(req, &sg, NULL, skb_frag_size(f)); in tcp_md5_hash_skb_data()
3726 ahash_request_set_crypt(hp->md5_req, &sg, NULL, key->keylen); in tcp_md5_hash_key()
/Linux-v4.19/drivers/scsi/
Dlibiscsi_tcp.c217 ahash_request_set_crypt(segment->hash, &sg, NULL, copied); in iscsi_tcp_segment_done()
264 ahash_request_set_crypt(segment->hash, NULL, in iscsi_tcp_segment_done()
322 ahash_request_set_crypt(hash, &sg, digest, hdrlen); in iscsi_tcp_dgst_header()
/Linux-v4.19/net/ipv6/
Dah6.c437 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
623 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_input()
Dtcp_ipv6.c602 ahash_request_set_crypt(hp->md5_req, &sg, NULL, in tcp_v6_md5_hash_headers()
625 ahash_request_set_crypt(req, NULL, md5_hash, 0); in tcp_v6_md5_hash_hdr()
672 ahash_request_set_crypt(req, NULL, md5_hash, 0); in tcp_v6_md5_hash_skb()
/Linux-v4.19/include/crypto/
Dhash.h648 static inline void ahash_request_set_crypt(struct ahash_request *req, in ahash_request_set_crypt() function
/Linux-v4.19/drivers/block/drbd/
Ddrbd_worker.c315 ahash_request_set_crypt(req, &sg, NULL, sg.length); in drbd_csum_ee()
322 ahash_request_set_crypt(req, &sg, digest, sg.length); in drbd_csum_ee()
342 ahash_request_set_crypt(req, &sg, NULL, sg.length); in drbd_csum_bio()
349 ahash_request_set_crypt(req, NULL, digest, 0); in drbd_csum_bio()
/Linux-v4.19/drivers/crypto/qce/
Dsha.c404 ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); in qce_ahash_hmac_setkey()
/Linux-v4.19/drivers/crypto/marvell/
Dhash.c1101 ahash_request_set_crypt(req, &sg, pad, blocksize); in mv_cesa_ahmac_iv_state_init()
1145 ahash_request_set_crypt(req, &sg, ipad, keylen); in mv_cesa_ahmac_pad_init()
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_hash.c869 ahash_request_set_crypt(areq, &sg, ipad, keylen); in safexcel_hmac_init_pad()
910 ahash_request_set_crypt(areq, &sg, pad, blocksize); in safexcel_hmac_init_iv()
/Linux-v4.19/drivers/target/iscsi/
Discsi_target.c1387 ahash_request_set_crypt(hash, sg, NULL, cur_len); in iscsit_do_crypto_hash_sg()
1400 ahash_request_set_crypt(hash, &pad_sg, (u8 *)&data_crc, in iscsit_do_crypto_hash_sg()
1404 ahash_request_set_crypt(hash, NULL, (u8 *)&data_crc, 0); in iscsit_do_crypto_hash_sg()
1422 ahash_request_set_crypt(hash, sg, data_crc, payload_length + padding); in iscsit_do_crypto_hash_buf()
/Linux-v4.19/drivers/crypto/
Dmxs-dcp.c748 ahash_request_set_crypt(req, NULL, req->result, 0); in dcp_sha_final()

12