diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-07-09 14:49:42 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-21 11:41:02 +1000 |
commit | ee7564166da9e218c3f605ee78ff16599d4d5a05 (patch) | |
tree | 430f72a4711bbfe88d0d04be0d241bc6558b4eef /crypto/cipher.c | |
parent | 560c06ae1ab7c677002ea3b6ac83521bf12ee07d (diff) | |
download | lwn-ee7564166da9e218c3f605ee78ff16599d4d5a05.tar.gz lwn-ee7564166da9e218c3f605ee78ff16599d4d5a05.zip |
[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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions