]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] digest: Store temporary digest in tfm
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Jul 2006 04:49:42 +0000 (14:49 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:41:02 +0000 (11:41 +1000)
commit1ffc1b5d48113f91a8b25aa83e4a6e14ea87ba20
tree430f72a4711bbfe88d0d04be0d241bc6558b4eef
parent0048ae93172ee4784b3aed4bd0922a7dc863115d
[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>
crypto/digest.c
crypto/internal.h