From a3fcc8a19fd39e13e41f96abb78a9f6c0bb4c5e5 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 12 Mar 2019 11:22:45 +0100 Subject: Retrait des suffixes _TI Dans le but de rendre diff -ru ref add_threshold plus digeste. --- src/add_threshold/tweakey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/add_threshold/tweakey.c') 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. */ -- cgit v1.2.3