sl@0: Description of the Intermediate Value Known Answer Test sl@0: -------------------------------------------------------- sl@0: sl@0: The test encrypts one plaintext with a variable number of rounds. sl@0: In ECB encryption mode, the output PTi is the output after the sl@0: initial key addition and i rounds (a round ends with a key sl@0: addition). sl@0: sl@0: As explained in the documentation, in ECB decryption mode sl@0: there are several definitions of a `round' possible. In order sl@0: to make visual inspection more intuitive, we output the sl@0: intermediate values that correspond with the output of the sl@0: encryption mode. sl@0: These values might actually not occur in a practical decryption, sl@0: especially in an optimised implementation, where various operations sl@0: of different rounds are interchanged. sl@0: sl@0: This explains also why the Java and the C code output different sl@0: files for this test.