Home
last modified time | relevance | path

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

12

/linux/crypto/
H A Dchacha20poly1305.c184 ahash_request_set_crypt(&preq->req, preq->src, in poly_tail()
214 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_cipherpad()
244 ahash_request_set_crypt(&preq->req, crypt, NULL, rctx->cryptlen); in poly_cipher()
273 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_adpad()
297 ahash_request_set_crypt(&preq->req, req->src, NULL, rctx->assoclen); in poly_ad()
323 ahash_request_set_crypt(&preq->req, preq->src, NULL, sizeof(rctx->key)); in poly_setkey()
H A Dalgif_hash.c95 ahash_request_set_crypt(&ctx->req, NULL, in hash_sendmsg()
132 ahash_request_set_crypt(&ctx->req, ctx->sgl.sgt.sgl, in hash_sendmsg()
200 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_recvmsg()
H A Dauthenc.c145 ahash_request_set_crypt(ahreq, req->dst, hash, in crypto_authenc_genicv()
287 ahash_request_set_crypt(ahreq, req->src, hash, in crypto_authenc_decrypt()
H A Dauthencesn.c142 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
301 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()
H A Dccm.c202 ahash_request_set_crypt(ahreq, sg, NULL, assoclen + ilen + 16); in crypto_ccm_auth()
222 ahash_request_set_crypt(ahreq, plain, odata, cryptlen); in crypto_ccm_auth()
H A Dgcm.c211 ahash_request_set_crypt(ahreq, src, NULL, len); in gcm_hash_update()
235 ahash_request_set_crypt(ahreq, &pctx->sg, in gcm_hash_len()
H A Dahash.c294 ahash_request_set_crypt(subreq, req->src, result, req->nbytes); in ahash_save_req()
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c200 ahash_request_set_crypt(req, sg, NULL, sg->length); in checksummer()
255 ahash_request_set_crypt(req, sg, NULL, hdrlen); in make_checksum()
263 ahash_request_set_crypt(req, NULL, checksumdata, 0); in make_checksum()
346 ahash_request_set_crypt(req, sg, NULL, hdrlen); in gss_krb5_checksum()
352 ahash_request_set_crypt(req, NULL, checksumdata, 0); in gss_krb5_checksum()
956 ahash_request_set_crypt(req, sg, NULL, ivsize); in krb5_etm_checksum()
965 ahash_request_set_crypt(req, NULL, checksumdata, 0); in krb5_etm_checksum()
/linux/drivers/crypto/starfive/
H A Djh7110-hash.c266 ahash_request_set_crypt(&rctx->ahash_fbk_req, req->src, in starfive_hash_init()
283 ahash_request_set_crypt(&rctx->ahash_fbk_req, req->src, in starfive_hash_update()
300 ahash_request_set_crypt(&rctx->ahash_fbk_req, req->src, in starfive_hash_final()
317 ahash_request_set_crypt(&rctx->ahash_fbk_req, req->src, in starfive_hash_finup()
441 ahash_request_set_crypt(req, &sg, ctx->key, keylen); in starfive_hash_long_setkey()
/linux/Documentation/crypto/
H A Dapi-digest.rst26 …t_set_tfm ahash_request_alloc ahash_request_free ahash_request_set_callback ahash_request_set_crypt
H A Dapi-intro.rst74 ahash_request_set_crypt(req, sg, result, 2);
/linux/security/integrity/ima/
H A Dima_crypto.c413 ahash_request_set_crypt(req, sg, NULL, rbuf_len); in ima_calc_file_hash_atfm()
427 ahash_request_set_crypt(req, NULL, hash->digest, 0); in ima_calc_file_hash_atfm()
683 ahash_request_set_crypt(req, &sg, NULL, len); in calc_buffer_ahash_atfm()
690 ahash_request_set_crypt(req, NULL, hash->digest, 0); in calc_buffer_ahash_atfm()
/linux/net/ipv4/
H A Dtcp_sigpool.c332 ahash_request_set_crypt(req, &sg, NULL, head_data_len); in tcp_sigpool_hash_skb_data()
343 ahash_request_set_crypt(req, &sg, NULL, skb_frag_size(f)); in tcp_sigpool_hash_skb_data()
H A Dtcp_ao.c37 ahash_request_set_crypt(hp->req, &sg, key, len); in tcp_ao_calc_traffic_key()
434 ahash_request_set_crypt(hp->req, &sg, NULL, sizeof(*bp)); in tcp_v4_ao_hash_pseudoheader()
503 ahash_request_set_crypt(hp->req, &sg, NULL, sizeof(*bp)); in tcp_ao_hash_sne()
535 ahash_request_set_crypt(hp->req, &sg, NULL, len); in tcp_ao_hash_header()
585 ahash_request_set_crypt(hp.req, NULL, hash_buf, 0); in tcp_ao_hash_hdr()
636 ahash_request_set_crypt(hp.req, NULL, hash_buf, 0); in tcp_ao_hash_skb()
1397 ahash_request_set_crypt(hp.req, &sg, key->key, cmd->keylen); in tcp_ao_parse_crypto()
H A Dah4.c231 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_output()
406 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_input()
/linux/net/ipv6/
H A Dtcp_ao.c130 ahash_request_set_crypt(hp->req, &sg, NULL, sizeof(*bp)); in tcp_v6_ao_hash_pseudoheader()
H A Dah6.c419 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
606 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_input()
H A Dtcp_ipv6.c715 ahash_request_set_crypt(hp->req, &sg, NULL, in tcp_v6_md5_hash_headers()
735 ahash_request_set_crypt(hp.req, NULL, md5_hash, 0); in tcp_v6_md5_hash_hdr()
779 ahash_request_set_crypt(hp.req, NULL, md5_hash, 0); in tcp_v6_md5_hash_skb()
/linux/drivers/scsi/
H A Dlibiscsi_tcp.c215 ahash_request_set_crypt(segment->hash, &sg, NULL, copied); in iscsi_tcp_segment_done()
262 ahash_request_set_crypt(segment->hash, NULL, in iscsi_tcp_segment_done()
320 ahash_request_set_crypt(hash, &sg, digest, hdrlen); in iscsi_tcp_dgst_header()
/linux/drivers/md/
H A Ddm-verity-target.c113 ahash_request_set_crypt(req, &sg, NULL, len); in verity_hash_update()
124 ahash_request_set_crypt(req, &sg, NULL, this_step); in verity_hash_update()
177 ahash_request_set_crypt(req, NULL, digest, 0); in verity_hash_final()
435 ahash_request_set_crypt(req, &sg, NULL, len); in verity_for_io_block()
/linux/include/crypto/
H A Dhash.h643 static inline void ahash_request_set_crypt(struct ahash_request *req, in ahash_request_set_crypt() function
/linux/drivers/crypto/qce/
H A Dsha.c381 ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); in qce_ahash_hmac_setkey()
/linux/drivers/crypto/marvell/cesa/
H A Dhash.c1117 ahash_request_set_crypt(req, &sg, pad, blocksize); in mv_cesa_ahmac_iv_state_init()
1157 ahash_request_set_crypt(req, &sg, ipad, keylen); in mv_cesa_ahmac_pad_init()
/linux/net/core/
H A Ddatagram.c484 ahash_request_set_crypt(hash, &sg, NULL, copied); in hash_and_copy_to_iter()
/linux/drivers/target/iscsi/
H A Discsi_target.c1431 ahash_request_set_crypt(hash, &first_sg, NULL, len); in iscsit_do_crypto_hash_sg()
1441 ahash_request_set_crypt(hash, sg, NULL, cur_len); in iscsit_do_crypto_hash_sg()
1453 ahash_request_set_crypt(hash, &pad_sg, (u8 *)&data_crc, in iscsit_do_crypto_hash_sg()
1457 ahash_request_set_crypt(hash, NULL, (u8 *)&data_crc, 0); in iscsit_do_crypto_hash_sg()
1475 ahash_request_set_crypt(hash, sg, data_crc, payload_length + padding); in iscsit_do_crypto_hash_buf()

12