os/security/crypto/weakcryptospi/test/tsymmetric/scripts/Rijndael test data/ecb_iv.readme
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/crypto/weakcryptospi/test/tsymmetric/scripts/Rijndael test data/ecb_iv.readme Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,19 @@
1.4 +Description of the Intermediate Value Known Answer Test
1.5 +--------------------------------------------------------
1.6 +
1.7 +The test encrypts one plaintext with a variable number of rounds.
1.8 +In ECB encryption mode, the output PTi is the output after the
1.9 +initial key addition and i rounds (a round ends with a key
1.10 +addition).
1.11 +
1.12 +As explained in the documentation, in ECB decryption mode
1.13 +there are several definitions of a `round' possible. In order
1.14 +to make visual inspection more intuitive, we output the
1.15 +intermediate values that correspond with the output of the
1.16 +encryption mode.
1.17 +These values might actually not occur in a practical decryption,
1.18 +especially in an optimised implementation, where various operations
1.19 +of different rounds are interchanged.
1.20 +
1.21 +This explains also why the Java and the C code output different
1.22 +files for this test.