/kernel/linux/linux-5.10/crypto/ |
D | curve25519-generic.c | 35 sg_nents_for_len(req->src, in curve25519_compute_value() 49 copied = sg_copy_from_buffer(req->dst, sg_nents_for_len(req->dst, in curve25519_compute_value()
|
D | ecdh.c | 98 sg_nents_for_len(req->src, in ecdh_compute_value() 121 copied = sg_copy_from_buffer(req->dst, sg_nents_for_len(req->dst, in ecdh_compute_value()
|
D | rsa-pkcs1pad.c | 198 sg_copy_to_buffer(req->dst, sg_nents_for_len(req->dst, len), in pkcs1pad_encrypt_sign_complete() 201 sg_nents_for_len(req->dst, ctx->key_size), in pkcs1pad_encrypt_sign_complete() 320 sg_nents_for_len(req->dst, req->dst_len), in pkcs1pad_decrypt_complete() 494 sg_nents_for_len(req->src, in pkcs1pad_verify_complete()
|
D | ecrdsa.c | 104 sg_copy_to_buffer(req->src, sg_nents_for_len(req->src, req->src_len), in ecrdsa_verify() 107 sg_nents_for_len(req->src, in ecrdsa_verify()
|
D | ecdsa.c | 159 sg_nents_for_len(req->src, req->src_len + req->dst_len), in ecdsa_verify()
|
D | sm2.c | 365 sg_nents_for_len(req->src, req->src_len + req->dst_len), in sm2_verify()
|
/kernel/linux/linux-5.10/arch/arm/crypto/ |
D | curve25519-glue.c | 75 sg_nents_for_len(req->src, in curve25519_compute_value() 89 copied = sg_copy_from_buffer(req->dst, sg_nents_for_len(req->dst, in curve25519_compute_value()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | atmel-ecc.c | 65 copied = sg_copy_from_buffer(req->dst, sg_nents_for_len(req->dst, n_sz), in atmel_ecdh_done() 170 sg_nents_for_len(req->dst, nbytes), in atmel_ecdh_generate_public_key()
|
D | omap-aes-gcm.c | 168 dd->in_sg_len = sg_nents_for_len(dd->in_sg, alen + clen); in omap_aes_gcm_copy_buffers() 169 dd->out_sg_len = sg_nents_for_len(dd->out_sg, clen); in omap_aes_gcm_copy_buffers()
|
D | picoxcell_crypto.c | 286 nents = sg_nents_for_len(payload, nbytes); in spacc_sg_to_ddt() 326 src_nents = sg_nents_for_len(areq->src, total); in spacc_aead_make_ddts() 336 dst_nents = sg_nents_for_len(areq->dst, total); in spacc_aead_make_ddts() 420 int nents = sg_nents_for_len(areq->src, total); in spacc_aead_free_ddts() 430 nents = sg_nents_for_len(areq->dst, total); in spacc_aead_free_ddts() 447 int nents = sg_nents_for_len(payload, nbytes); in spacc_free_ddt()
|
D | atmel-i2c.c | 122 sg_nents_for_len(pubkey, in atmel_i2c_init_ecdh_cmd()
|
D | sahara.c | 471 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, dev->total); in sahara_hw_descriptor_create() 476 dev->nb_out_sg = sg_nents_for_len(dev->out_sg, dev->total); in sahara_hw_descriptor_create() 791 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, rctx->total); in sahara_sha_hw_links_create()
|
D | omap-des.c | 564 dd->in_sg_len = sg_nents_for_len(dd->in_sg, dd->total); in omap_des_prepare_req() 568 dd->out_sg_len = sg_nents_for_len(dd->out_sg, dd->total); in omap_des_prepare_req()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
D | curve25519-x86_64.c | 1433 copied = sg_copy_from_buffer(req->dst, sg_nents_for_len(req->dst, in curve25519_generate_public_key() 1453 sg_nents_for_len(req->src, in curve25519_compute_shared_secret() 1463 copied = sg_copy_from_buffer(req->dst, sg_nents_for_len(req->dst, in curve25519_compute_shared_secret()
|
/kernel/linux/linux-5.10/drivers/crypto/qce/ |
D | skcipher.c | 84 rctx->src_nents = sg_nents_for_len(req->src, req->cryptlen); in qce_skcipher_async_req_handle() 86 rctx->dst_nents = sg_nents_for_len(req->dst, req->cryptlen); in qce_skcipher_async_req_handle()
|
/kernel/linux/linux-5.10/lib/mpi/ |
D | mpicoder.c | 376 nents = sg_nents_for_len(sgl, nbytes); in mpi_write_to_sgl() 447 ents = sg_nents_for_len(sgl, nbytes); in mpi_read_raw_from_sgl()
|
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_aead.c | 98 int nents = sg_nents_for_len(src, buflen); in alloc_src_sglist() 120 int nents = sg_nents_for_len(dst, buflen); in alloc_dst_sglist()
|
/kernel/linux/linux-5.10/lib/ |
D | scatterlist.c | 68 int sg_nents_for_len(struct scatterlist *sg, u64 len) in sg_nents_for_len() function 85 EXPORT_SYMBOL(sg_nents_for_len);
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
D | caamhash.c | 846 src_nents = sg_nents_for_len(req->src, src_len); in ahash_update_ctx() 1012 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_finup_ctx() 1086 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_digest() 1222 src_nents = sg_nents_for_len(req->src, src_len); in ahash_update_no_ctx() 1322 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_finup_no_ctx() 1416 src_nents = sg_nents_for_len(req->src, in ahash_update_first()
|
D | caampkc.c | 206 ents = sg_nents_for_len(sgl, nbytes); in caam_rsa_count_leading_zeros() 283 src_nents = sg_nents_for_len(req_ctx->fixup_src, in rsa_edesc_alloc() 285 dst_nents = sg_nents_for_len(req->dst, req->dst_len); in rsa_edesc_alloc()
|
D | caamalg_qi2.c | 380 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 388 dst_nents = sg_nents_for_len(req->dst, dst_len); in aead_edesc_alloc() 425 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 1124 src_nents = sg_nents_for_len(req->src, req->cryptlen); in skcipher_edesc_alloc() 1132 dst_nents = sg_nents_for_len(req->dst, req->cryptlen); in skcipher_edesc_alloc() 3540 src_nents = sg_nents_for_len(req->src, src_len); in ahash_update_ctx() 3723 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_finup_ctx() 3816 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_digest() 3992 src_nents = sg_nents_for_len(req->src, src_len); in ahash_update_no_ctx() 4105 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_finup_no_ctx() [all …]
|
D | caamalg_qi.c | 972 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 991 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 999 dst_nents = sg_nents_for_len(req->dst, dst_len); in aead_edesc_alloc() 1265 src_nents = sg_nents_for_len(req->src, req->cryptlen); in skcipher_edesc_alloc() 1273 dst_nents = sg_nents_for_len(req->dst, req->cryptlen); in skcipher_edesc_alloc()
|
/kernel/linux/linux-5.10/include/linux/ |
D | scatterlist.h | 274 int sg_nents_for_len(struct scatterlist *sg, u64 len);
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/ |
D | cipher.c | 423 creq->src_nents = sg_nents_for_len(req->src, req->cryptlen); in mv_cesa_skcipher_req_init() 428 creq->dst_nents = sg_nents_for_len(req->dst, req->cryptlen); in mv_cesa_skcipher_req_init()
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 111 nents = sg_nents_for_len(sg, end); in cc_copy_sg_portion() 609 mapped_nents = sg_nents_for_len(req->src, areq_ctx->assoclen); in cc_aead_chain_assoc() 1251 areq_ctx->in_nents = sg_nents_for_len(src, nbytes); in cc_map_hash_request_update()
|