diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-12 11:22:45 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-12 17:36:12 +0100 |
| commit | a3fcc8a19fd39e13e41f96abb78a9f6c0bb4c5e5 (patch) | |
| tree | 60b75d1d367d662ab3d66ffd65cde0081ba86fd8 /src/add_threshold/tweakey.c | |
| parent | 7a2cf03fece905c33bcf3fbbad8d93c682c09bc0 (diff) | |
| download | lilliput-ae-implem-a3fcc8a19fd39e13e41f96abb78a9f6c0bb4c5e5.tar.xz | |
Retrait des suffixes _TI
Dans le but de rendre
diff -ru ref add_threshold
plus digeste.
Diffstat (limited to 'src/add_threshold/tweakey.c')
| -rw-r--r-- | src/add_threshold/tweakey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/add_threshold/tweakey.c b/src/add_threshold/tweakey.c index fc664ed..4b3b1b3 100644 --- a/src/add_threshold/tweakey.c +++ b/src/add_threshold/tweakey.c @@ -32,7 +32,7 @@ tweakey schedule, where the tweak and the key are split into two shares. #define LANES_NB (TWEAKEY_BYTES/LANE_BYTES)
-void tweakey_state_init_TI(
+void tweakey_state_init(
uint8_t TK_X[TWEAKEY_BYTES],
uint8_t TK_Y[KEY_BYTES],
const uint8_t key[KEY_BYTES],
@@ -53,7 +53,7 @@ void tweakey_state_init_TI( }
-void tweakey_state_extract_TI(
+void tweakey_state_extract(
const uint8_t TK_X[TWEAKEY_BYTES],
const uint8_t TK_Y[KEY_BYTES],
uint8_t round_constant,
@@ -186,7 +186,7 @@ static const matrix_multiplication ALPHAS[6] = { };
-void tweakey_state_update_TI(uint8_t TK_X[TWEAKEY_BYTES], uint8_t TK_Y[KEY_BYTES])
+void tweakey_state_update(uint8_t TK_X[TWEAKEY_BYTES], uint8_t TK_Y[KEY_BYTES])
{
/* Skip lane 0, as it is multiplied by the identity matrix. */
|
