]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: testmgr - test skciphers with unaligned buffers
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Thu, 13 Jun 2013 14:37:45 +0000 (17:37 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Jun 2013 06:44:30 +0000 (14:44 +0800)
commit3a338f20c3c5c33c45ab1c36c8eccd62289c6401
tree77732d151a28f26022eaf5507eaa655817585e6a
parent5714758b5c23dcca8d29a43590397e58d245732f
crypto: testmgr - test skciphers with unaligned buffers

This patch adds unaligned buffer tests for blkciphers.

The first new test is with one byte offset and the second test checks if
cra_alignmask for driver is big enough; for example, for testing a case
where cra_alignmask is set to 7, but driver really needs buffers to be
aligned to 16 bytes.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c