linux-stable-rt/crypto
Neil Horman d729de23e8 [CRYPTO] tcrypt: Add self test for des3_ebe cipher operating in cbc mode
Patch to add checking  of DES3 test vectors using CBC mode.  FIPS-140-2
compliance mandates that any supported mode of operation must include a self
test.  This satisfies that requirement for cbc(des3_ede).  The included test
vector was generated by me using openssl.  Key/IV was generated with the
following command:

	openssl enc -des_ede_cbc -P

input and output values were generated by repeating the string "Too many
secrets" a few times over, truncating it to 128 bytes, and encrypting it with
openssl using the aformentioned key.  Tested successfully by myself

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Adrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-07-10 20:35:16 +08:00
..
async_tx
Kconfig [CRYPTO] cryptd: Add asynchronous hash support 2008-07-10 20:35:14 +08:00
Makefile [CRYPTO] hash: Add asynchronous hash support 2008-07-10 20:35:13 +08:00
ablkcipher.c
aead.c
aes_generic.c
ahash.c [CRYPTO] hash: Add asynchronous hash support 2008-07-10 20:35:13 +08:00
algapi.c
anubis.c
api.c [CRYPTO] hash: Add asynchronous hash support 2008-07-10 20:35:13 +08:00
arc4.c
authenc.c
blkcipher.c
blowfish.c
camellia.c
cast5.c
cast6.c
cbc.c
ccm.c
chainiv.c crypto: chainiv - Invoke completion function 2008-07-10 20:34:38 +08:00
cipher.c
compress.c
crc32c.c
cryptd.c [CRYPTO] cryptd: Add asynchronous hash support 2008-07-10 20:35:14 +08:00
crypto_null.c
cryptomgr.c
ctr.c
cts.c [CRYPTO] cts: Init SG tables 2008-06-02 15:46:51 +10:00
deflate.c
des_generic.c
digest.c [CRYPTO] hash: Add asynchronous hash support 2008-07-10 20:35:13 +08:00
ecb.c
eseqiv.c
fcrypt.c
gcm.c
gf128mul.c
hash.c [CRYPTO] hash: Add asynchronous hash support 2008-07-10 20:35:13 +08:00
hmac.c [CRYPTO] hmac: Avoid calling virt_to_page on key 2008-05-07 21:08:56 +08:00
internal.h [CRYPTO] hash: Add asynchronous hash support 2008-07-10 20:35:13 +08:00
khazad.c
lrw.c
lzo.c
md4.c
md5.c
michael_mic.c
pcbc.c
proc.c
ripemd.h [CRYPTO] ripemd: Put all common RIPEMD values in header file 2008-07-10 20:35:12 +08:00
rmd128.c [CRYPTO] rmd: Use pointer form of endian swapping operations 2008-07-10 20:35:15 +08:00
rmd160.c [CRYPTO] rmd: Use pointer form of endian swapping operations 2008-07-10 20:35:15 +08:00
rmd256.c [CRYPTO] rmd: Use pointer form of endian swapping operations 2008-07-10 20:35:15 +08:00
rmd320.c [CRYPTO] rmd: Use pointer form of endian swapping operations 2008-07-10 20:35:15 +08:00
salsa20_generic.c
scatterwalk.c
seed.c
seqiv.c
serpent.c
sha1_generic.c
sha256_generic.c
sha512_generic.c
tcrypt.c [CRYPTO] tcrypt: Add self test for des3_ebe cipher operating in cbc mode 2008-07-10 20:35:16 +08:00
tcrypt.h [CRYPTO] tcrypt: Add self test for des3_ebe cipher operating in cbc mode 2008-07-10 20:35:16 +08:00
tea.c
tgr192.c
twofish.c
twofish_common.c
wp512.c
xcbc.c
xor.c
xts.c