summaryrefslogtreecommitdiff
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-02-18 21:41:29 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-02-18 21:41:29 +0800
commitee1d02b0c208dfa3376a3d5b29ef4f7ccdb97186 (patch)
treec82e60f86619b7f2885a223f8133bc7c10aef1c1 /crypto/digest.c
parentaf5b6f37933fa06d9ca1f53674d6041738edcfed (diff)
downloadlinux-crypto-ee1d02b0c208dfa3376a3d5b29ef4f7ccdb97186.tar.gz
linux-crypto-ee1d02b0c208dfa3376a3d5b29ef4f7ccdb97186.zip
crypto: testmgr - Test skciphers with no IVs
As it is an skcipher with no IV escapes testing altogether because we only test givcipher objects. This patch fixes the bypass logic to test these algorithms. Conversely, we're currently testing nivaead algorithms with IVs, which would have deadlocked had it not been for the fact that no nivaead algorithms have any test vectors. This patch also fixes that case. Both fixes are ugly as hell, but this ugliness should hopefully disappear once we move them into the per-type code (i.e., the AEAD test would live in aead.c and the skcipher stuff in ablkcipher.c). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/digest.c')
0 files changed, 0 insertions, 0 deletions