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
..
2008-01-11 08:16:56 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:53 +11:00
2007-11-02 08:47:06 +01:00
2008-04-21 10:19:34 +08:00
2008-06-02 15:46:51 +10:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:56 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2007-10-10 16:55:38 -07:00
2008-01-11 08:16:52 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2007-07-13 08:06:14 -07:00
2008-03-06 18:56:19 +08:00