Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/fs/verity/
H A Dhash_algs.c196 ahash_request_set_crypt(req, &sg, NULL, padded_salt_size); in fsverity_prepare_hash_state()
249 ahash_request_set_crypt(req, &sg, out, PAGE_SIZE); in fsverity_hash_page()
296 ahash_request_set_crypt(req, &sg, out, size); in fsverity_hash_buffer()
/OK3568_Linux_fs/kernel/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.c100 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, NULL, len); in hash_sendmsg()
120 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_sendmsg()
153 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, ctx->result, size); in hash_sendpage()
204 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_recvmsg()
H A Dauthencesn.c147 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
310 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()
H A Dauthenc.c148 ahash_request_set_crypt(ahreq, req->dst, hash, in crypto_authenc_genicv()
295 ahash_request_set_crypt(ahreq, req->src, hash, in crypto_authenc_decrypt()
H A Dccm.c201 ahash_request_set_crypt(ahreq, sg, NULL, assoclen + ilen + 16); in crypto_ccm_auth()
221 ahash_request_set_crypt(ahreq, plain, pctx->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()
/OK3568_Linux_fs/kernel/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c136 ahash_request_set_crypt(req, sg, NULL, sg->length); in checksummer()
191 ahash_request_set_crypt(req, sg, NULL, hdrlen); in make_checksum()
199 ahash_request_set_crypt(req, NULL, checksumdata, 0); in make_checksum()
287 ahash_request_set_crypt(req, sg, NULL, hdrlen); in make_checksum_v2()
292 ahash_request_set_crypt(req, NULL, checksumdata, 0); in make_checksum_v2()
/OK3568_Linux_fs/kernel/security/integrity/ima/
H A Dima_crypto.c418 ahash_request_set_crypt(req, sg, NULL, rbuf_len); in ima_calc_file_hash_atfm()
432 ahash_request_set_crypt(req, NULL, hash->digest, 0); in ima_calc_file_hash_atfm()
688 ahash_request_set_crypt(req, &sg, NULL, len); in calc_buffer_ahash_atfm()
695 ahash_request_set_crypt(req, NULL, hash->digest, 0); in calc_buffer_ahash_atfm()
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dcryptlib.c426 ahash_request_set_crypt(hdata->async.request, sg, NULL, len); in cryptodev_hash_update()
438 ahash_request_set_crypt(hdata->async.request, NULL, output, 0); in cryptodev_hash_final()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-verity-target.c105 ahash_request_set_crypt(req, &sg, NULL, len); in verity_hash_update()
114 ahash_request_set_crypt(req, &sg, NULL, this_step); in verity_hash_update()
166 ahash_request_set_crypt(req, NULL, digest, 0); in verity_hash_final()
396 ahash_request_set_crypt(req, &sg, NULL, len); in verity_for_io_block()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dah4.c234 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_output()
409 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_input()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dah6.c425 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
612 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_input()
H A Dtcp_ipv6.c685 ahash_request_set_crypt(hp->md5_req, &sg, NULL, in tcp_v6_md5_hash_headers()
708 ahash_request_set_crypt(req, NULL, md5_hash, 0); in tcp_v6_md5_hash_hdr()
755 ahash_request_set_crypt(req, NULL, md5_hash, 0); in tcp_v6_md5_hash_skb()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dtcp.c241 ahash_request_set_crypt(hash, &sg, pdu + len, len); in nvmet_tcp_hdgst()
385 ahash_request_set_crypt(hash, cmd->req.sg, in nvmet_tcp_send_ddgst()
400 ahash_request_set_crypt(hash, &sg, NULL, iov->iov_len); in nvmet_tcp_recv_ddgst()
403 ahash_request_set_crypt(hash, NULL, (void *)&cmd->exp_ddgst, 0); in nvmet_tcp_recv_ddgst()
/OK3568_Linux_fs/kernel/include/crypto/
H A Dhash.h682 static inline void ahash_request_set_crypt(struct ahash_request *req, in ahash_request_set_crypt() function
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_ahash_utils.c125 ahash_request_set_crypt(req, &sg, digest, msg_len); in rk_ahash_fallback_digest()
/OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/
H A Dhash.c1110 ahash_request_set_crypt(req, &sg, pad, blocksize); in mv_cesa_ahmac_iv_state_init()
1154 ahash_request_set_crypt(req, &sg, ipad, keylen); in mv_cesa_ahmac_pad_init()
/OK3568_Linux_fs/kernel/drivers/crypto/qce/
H A Dsha.c414 ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); in qce_ahash_hmac_setkey()
/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A Discsi_target.c1397 ahash_request_set_crypt(hash, &first_sg, NULL, len); in iscsit_do_crypto_hash_sg()
1407 ahash_request_set_crypt(hash, sg, NULL, cur_len); in iscsit_do_crypto_hash_sg()
1419 ahash_request_set_crypt(hash, &pad_sg, (u8 *)&data_crc, in iscsit_do_crypto_hash_sg()
1423 ahash_request_set_crypt(hash, NULL, (u8 *)&data_crc, 0); in iscsit_do_crypto_hash_sg()
1441 ahash_request_set_crypt(hash, sg, data_crc, payload_length + padding); in iscsit_do_crypto_hash_buf()
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dtcp.c376 ahash_request_set_crypt(hash, NULL, (u8 *)dgst, 0); in nvme_tcp_ddgst_final()
387 ahash_request_set_crypt(hash, &sg, NULL, len); in nvme_tcp_ddgst_update()
397 ahash_request_set_crypt(hash, &sg, pdu + len, len); in nvme_tcp_hdgst()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dsec_tkip.c554 ahash_request_set_crypt(req, sg, mic, data_len + 16);

12