diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-15 16:03:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-15 16:03:47 +0000 |
commit | 25c6542944821afc0693ca7027c769cc8775e90d (patch) | |
tree | 4c43805e7cbdfb46ee3807152e039d91bad64a09 /fips/des | |
parent | 14567b145199739656e2bf8dd34f5da71f785802 (diff) |
Add non-FIPS algorithm blocking and selftest checking.
Diffstat (limited to 'fips/des')
-rw-r--r-- | fips/des/fips_des_selftest.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fips/des/fips_des_selftest.c b/fips/des/fips_des_selftest.c index 7b7543b645..6ce556e2bd 100644 --- a/fips/des/fips_des_selftest.c +++ b/fips/des/fips_des_selftest.c @@ -111,14 +111,6 @@ int FIPS_selftest_des() int n, ret = 0; EVP_CIPHER_CTX ctx; FIPS_cipher_ctx_init(&ctx); - /* Encrypt/decrypt with 2-key 3DES and compare to known answers */ - for(n=0 ; n < 2 ; ++n) - { - if (!fips_cipher_test(&ctx, EVP_des_ede_ecb(), - tests2[n].key, NULL, - tests2[n].plaintext, tests2[n].ciphertext, 8)) - goto err; - } /* Encrypt/decrypt with 3DES and compare to known answers */ for(n=0 ; n < 2 ; ++n) |