From 54ee7f6f31bfe0c751c322134a7c3c5d69969e3f Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 4 Jul 2019 14:30:14 +0200 Subject: Résumé des modifications dans l'implémentation de référence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.txt | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'CHANGELOG.txt') 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 ==== -- cgit v1.2.3 From 893678ca67e8d8503d5a67190b770f13918522e5 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 4 Jul 2019 14:33:55 +0200 Subject: Ajout de squelettes pour les changelogs des autres implémentations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'CHANGELOG.txt') diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e983aed..9ab7d75 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -34,6 +34,26 @@ These modifications are structural and/or stylistic and do not change the algori - Extract tweakey multiplications into their own header file, so that other implementations can make more targeted changes. (constants.h, multiplications.h, tweakey.c) +add_threshold +------------- + +TODO + +add_tweakeyloop +--------------- + +TODO + +add_python +---------- + +TODO + +add_vhdl +-------- + +TODO + v1.0 ==== -- cgit v1.2.3 From 649073fb97cb11e4c1057ad25d8b816575fb85c2 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 4 Jul 2019 15:05:41 +0200 Subject: Résumé des modifications dans les implémentations C et Python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.txt | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'CHANGELOG.txt') diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9ab7d75..cc38a27 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -37,17 +37,36 @@ These modifications are structural and/or stylistic and do not change the algori add_threshold ------------- -TODO +### Fixes + +See reference implementation. + +### Cleanups + +See reference implementation. Further cleanups: + +- Use size_t to iterate on arrays in lilliput_tbc_encrypt() and lilliput_tbc_decrypt(). + (cipher.c) + +- Add constant macros KEY_LANES_NB and TWEAK_LANES_NB to make tweakey schedule code more legible. + (tweakey.c) add_tweakeyloop --------------- -TODO +See reference implementation. add_python ---------- -TODO +### Fixes + +See reference implementation. + +### Cleanups + +- Re-write tweakey multiplications to better resemble the specification. + (multiplications.py) add_vhdl -------- -- cgit v1.2.3