Re: [PATCH crypto-2.6] crypto: rsassa-pkcs1 - Avoid pointing to rodata in scatterlists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 06, 2024 at 09:15:23AM +0100, Lukas Wunner wrote:
>
> The caller cannot predict which crypto implementation (software or
> accelerator) is going to be used and thus cannot know whether
> location and length of the src buffer works for the dmaengine.

If the caller is supplying an SG list then it is expected to
have already taken care of DMA alignment issues.

This is how it works throughout the kernel.

For virtual addresses on the other hand of course there is *no*
guarantee.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux