summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2008-06-03 20:00:16 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 20:35:16 +0800
commitd729de23e86bbbb28adf6c3ded3651ea4ad8c539 (patch)
tree846b5998d403435621335ab44389d333c63196ff /drivers/crypto/Kconfig
parent5cdcc22f25b0766fe16d5dd8e3b2efc91fa4da6e (diff)
downloadop-kernel-dev-d729de23e86bbbb28adf6c3ded3651ea4ad8c539.zip
op-kernel-dev-d729de23e86bbbb28adf6c3ded3651ea4ad8c539.tar.gz
[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>
Diffstat (limited to 'drivers/crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud