diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-04 14:30:14 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-04 14:47:16 +0200 |
| commit | 43966ffe8601c8c180c9e68e30f30fc1a1fb7f6d (patch) | |
| tree | 72f2e2591db73fa1c494a57ada1582c6c12be4b3 | |
| parent | ba601f28abb6b6080d024be4390e883e592cf40f (diff) | |
| download | lilliput-ae-implem-43966ffe8601c8c180c9e68e30f30fc1a1fb7f6d.tar.xz | |
Résumé des modifications dans l'implémentation de référence
| -rw-r--r-- | CHANGELOG.txt | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d836ba6..e983aed 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,7 +1,39 @@ v1.1 ==== -TODO +ref +--- + +### Fixes + +These modifications change the algorithm's output. + +- Change alpha coefficients in tweakey schedule to ensure lane 0 is updated between each round: + - lane 0: Id => M + - lane 1: M => M^2 + - lane 2: M^2 => M^3 + - lane 3: M^3 => M^4 + - lane 4: M_R (unchanged) + - lane 5: M_R^2 (unchanged) + - lane 6: M_R^3 (unchanged) + (multiplications.h, tweakey.c) + +### Cleanups + +These modifications are structural and/or stylistic and do not change the algorithm's ouptut. + +- Introduce helper function copy_block_index() to make tweak-building functions more legible. + (lilliput-ae-utils.h, lilliput-i.c, lilliput-ii.c) + +- Initialize ΘCB3 tweak with nonce instead of copying the latter into the latter repeatedly. + (lilliput-i.c) + +- Re-write _nonlinear_layer() and _linear_layer() functions to better resemble the specification. + (cipher.c) + +- Extract tweakey multiplications into their own header file, so that other implementations can make more targeted changes. + (constants.h, multiplications.h, tweakey.c) + v1.0 ==== |
