lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201002115445.GF1205@gondor.apana.org.au>
Date:   Fri, 2 Oct 2020 21:54:45 +1000
From:   Herbert Xu <herbert@...dor.apana.org.au>
To:     Peter Ujfalusi <peter.ujfalusi@...com>
Cc:     t-kristo@...com, davem@...emloft.net, hch@...radead.org,
        linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
        j-keerthy@...com
Subject: Re: [PATCH v2] crypto: sa2ul: Fix DMA mapping API usage

On Wed, Sep 23, 2020 at 01:11:44PM +0300, Peter Ujfalusi wrote:
> Make sure that we call the dma_unmap_sg on the correct scatterlist on
> completion with the correct sg_nents.
> 
> Use sg_table to managed the DMA mapping and at the same time add the needed
> dma_sync calls for the sg_table.
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
> ---
> Hi,
> 
> Changes since v1:
> - use sg_table to manage the mapped sgl as suggested by Christoph
> 
> Regards,
> Peter
> 
>  drivers/crypto/sa2ul.c | 215 ++++++++++++++++++++++-------------------
>  1 file changed, 117 insertions(+), 98 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ