]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] tcrypt: Change the usage of the test vectors
authorSebastian Siewior <sebastian@breakpoint.cc>
Thu, 13 Mar 2008 12:20:28 +0000 (20:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Apr 2008 02:19:22 +0000 (10:19 +0800)
commit562954d5e01d08154cf15c7e12e6e9ec803f50f7
tree24e129c431f498f773537cd0963c3946ece350e2
parent48c8949ea8460216783dd33640121187b9531b60
[CRYPTO] tcrypt: Change the usage of the test vectors

The test routines (test_{cipher,hash,aead}) are makeing a copy
of the test template and are processing the encryption process
in place. This patch changes the creation of the copy so it will
work even if the source address of the input data isn't an array
inside of the template but a pointer.

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c