Commit ee756416 authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] digest: Store temporary digest in tfm



When the final result location is unaligned, we store the digest in a
temporary buffer before copying it to the final location.  Currently
that buffer sits on the stack.  This patch moves it to an area in the
tfm, just like the CBC IV buffer.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 560c06ae
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment