[PATCHv4 3/7] crypto: sa2ul: add sha1/sha256/sha512 support

Herbert Xu herbert at gondor.apana.org.au
Tue Jun 30 00:49:37 EDT 2020

On Fri, Jun 26, 2020 at 12:15:42PM +0300, Tero Kristo wrote:
> I have been experimenting with an alternate approach, where I have a small
> buffer within the context, this would be more like the way other drivers do
> this. If the buffer is closed before running out of space, I can push this
> to be processed by HW, otherwise I must fallback to SW. Does this sound like
> a better approach?

You can buffer up to a block obviously.  Anything beyond that
should just use a fallback.

Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

More information about the linux-arm-kernel mailing list