[patch] Minor test code (basic --verbose) update
bradh at frogmouth.net
Sun Apr 11 02:18:01 CEST 2010
Currently when running basic --verbose, the output looks like:
[bradh-dev at repens tests]$ ./basic --verbose
Starting Cipher checks.
checking BLOWFISH 
checking DES 
checking 3DES 
checking CAST5 
checking AES 
checking AES192 
checking AES256 
(some more ciphers listed here)
Completed Cipher checks.
Starting AES128 CBC CTS checks.
checking encryption for length 17
checking decryption for length 17
checking encryption for length 31
checking decryption for length 31
checking encryption for length 32
checking decryption for length 32
checking encryption for length 47
checking decryption for length 47
checking encryption for length 48
checking decryption for length 48
checking encryption for length 64
checking decryption for length 64
Completed AES128 CBC CTS checks.
Starting CBC MAC checks.
checking CBC MAC for AES 
checking CBC MAC for 3DES 
checking CBC MAC for DES 
Completed CBC MAC checks.
Starting CTR cipher checks.
checking CTR mode for AES 
checking CTR mode for AES192 
checking CTR mode for AES256 
Completed CTR cipher checks.
Starting hash checks.
and so on.
The "problem" is that we're not outputting anything about OFB or CFB tests.
Attached is a minor patch that groups the various "cipher mode" checks, and
adds some verbosity for OFB and CFB.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5694 bytes
Desc: not available
More information about the Gcrypt-devel