commit | da5ffe11342a0ecf2cce7000a9392c9ca959e9c8 | [log] [tgz] |
---|---|---|
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | Thu Jun 13 17:37:55 2013 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jun 21 14:44:31 2013 +0800 |
tree | d0586d9922dae9ce67b3e01a39974bd954adf549 | |
parent | 58dcf5484c0cbaddbba1d3ed074729f5078346bb [diff] |
crypto: testmgr - test hash implementations with unaligned buffers This patch adds unaligned buffer tests for hashes. 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>