equal
deleted
inserted
replaced
|
1 Description of the Intermediate Value Known Answer Test |
|
2 -------------------------------------------------------- |
|
3 |
|
4 The test encrypts one plaintext with a variable number of rounds. |
|
5 In ECB encryption mode, the output PTi is the output after the |
|
6 initial key addition and i rounds (a round ends with a key |
|
7 addition). |
|
8 |
|
9 As explained in the documentation, in ECB decryption mode |
|
10 there are several definitions of a `round' possible. In order |
|
11 to make visual inspection more intuitive, we output the |
|
12 intermediate values that correspond with the output of the |
|
13 encryption mode. |
|
14 These values might actually not occur in a practical decryption, |
|
15 especially in an optimised implementation, where various operations |
|
16 of different rounds are interchanged. |
|
17 |
|
18 This explains also why the Java and the C code output different |
|
19 files for this test. |