]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] cipher: Align temporary buffer in cbc_process_decrypt
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 29 Nov 2005 11:04:41 +0000 (22:04 +1100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Jan 2006 22:15:49 +0000 (14:15 -0800)
commitb7ee715ff0985f1597dc9f58e80337c82e6ad8eb
tree94a273158e4e343ac71cab555ff32477dad61431
parent0c87b35992b62ce109b5d5c352a2826eee410f04
[CRYPTO] cipher: Align temporary buffer in cbc_process_decrypt

Since the temporary buffer is used as an argument to cia_decrypt, it must be
aligned by cra_alignmask.  This bug was found by linux@horizon.com.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cipher.c