summaryrefslogtreecommitdiff
path: root/src/add_tweakeyloop/multiplications.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-06-12 16:38:19 +0200
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-07-02 10:35:26 +0200
commit9e7ac850ec26dadc1c4c3da610ffda569a2f9e2f (patch)
tree12a5b166d44fcb9d7eac3a5b3fe3818092d53d11 /src/add_tweakeyloop/multiplications.h
parente52d2c96531789fee70c1f1c5995c356ccbf9474 (diff)
downloadlilliput-ae-implem-9e7ac850ec26dadc1c4c3da610ffda569a2f9e2f.tar.xz
Homogénéisation de l'espacement du code
- 2 lignes entre le dernier #include et le début du code, - 2 lignes avant le #endif final, - pas d'espaces superflus pour LANES_NB (résidu d'alignement avec d'autres variables)
Diffstat (limited to 'src/add_tweakeyloop/multiplications.h')
-rw-r--r--src/add_tweakeyloop/multiplications.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/add_tweakeyloop/multiplications.h b/src/add_tweakeyloop/multiplications.h
index 36e3c72..45b9eaa 100644
--- a/src/add_tweakeyloop/multiplications.h
+++ b/src/add_tweakeyloop/multiplications.h
@@ -26,6 +26,7 @@ implemented by applying functions for M and M_R n times.
#include "constants.h"
+
static void _multiply_M(const uint8_t x[LANE_BYTES], uint8_t y[LANE_BYTES])
{
y[7] = x[6];
@@ -82,4 +83,5 @@ static void _multiply_MR3(const uint8_t x[LANE_BYTES], uint8_t y[LANE_BYTES])
_multiply_MR(MR2_x, y);
}
+
#endif /* MULTIPLICATIONS_H */