diff options
author | Werner Koch <wk@gnupg.org> | 2008-09-09 18:06:38 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-09-09 18:06:38 +0000 |
commit | ce7846ac4d2f69d910d86b5b2370a11ffa3ffb9e (patch) | |
tree | 90ebd61387e72b00d2ec20529936802e0a9d543d /cipher/des.c | |
parent | 15d48e486e6b289562b81d731292d79580beb3ed (diff) | |
download | libgcrypt-ce7846ac4d2f69d910d86b5b2370a11ffa3ffb9e.tar.gz |
Add more selftests.
Diffstat (limited to 'cipher/des.c')
-rw-r--r-- | cipher/des.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cipher/des.c b/cipher/des.c index dcc4a6bf..32c085a2 100644 --- a/cipher/des.c +++ b/cipher/des.c @@ -1087,7 +1087,7 @@ do_des_decrypt( void *context, byte *outbuf, const byte *inbuf ) */ -/* Complete selftest for TripleDES with all modes and driver code. */ +/* Selftest for TripleDES. */ static gpg_err_code_t selftest_fips (selftest_report_func_t report) { @@ -1099,7 +1099,10 @@ selftest_fips (selftest_report_func_t report) if (errtxt) goto failed; - /* FIXME: need more tests. */ + /* The low-level self-tests are quite extensive and thus we can do + without high level tests. This is also justified because we have + no custom block code implementation for 3des but always use the + standard high level block code. */ return 0; /* Succeeded. */ |