summaryrefslogtreecommitdiff
path: root/traces/add_threshold
diff options
context:
space:
mode:
Diffstat (limited to 'traces/add_threshold')
-rw-r--r--traces/add_threshold/traces-tbc.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/traces/add_threshold/traces-tbc.patch b/traces/add_threshold/traces-tbc.patch
index 684569c..4943c9c 100644
--- a/traces/add_threshold/traces-tbc.patch
+++ b/traces/add_threshold/traces-tbc.patch
@@ -1,7 +1,7 @@
-diff --git a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c
+diff --git a/src/add_threshold/cipher.c b/src/add_threshold/cipher.c
index 778a100..3b49db5 100644
---- a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c
-+++ b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c
+--- a/src/add_threshold/cipher.c
++++ b/src/add_threshold/cipher.c
@@ -25,6 +25,8 @@ throughout the entire round function in order to avoid extra randomness
generation to switch from 2 shares to 3 shares and vice versa.
*/
@@ -218,10 +218,10 @@ index 778a100..3b49db5 100644
_one_round_egfn(X, Y, Z, RTK_X[ROUNDS-1], RTK_Y[ROUNDS-1], PERMUTATION_NONE);
-diff --git a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/random.c b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/random.c
+diff --git a/src/add_threshold/random.c b/src/add_threshold/random.c
index a966a8e..8d5f2cc 100644
---- a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/random.c
-+++ b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/random.c
+--- a/src/add_threshold/random.c
++++ b/src/add_threshold/random.c
@@ -21,6 +21,8 @@ This file provides a system-specific function to generate random bytes.
#define _GNU_SOURCE
@@ -239,10 +239,10 @@ index a966a8e..8d5f2cc 100644
+ for (size_t i=0; i<nb; i++)
+ out[i] = i;
}
-diff --git a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/tweakey.c b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/tweakey.c
+diff --git a/src/add_threshold/tweakey.c b/src/add_threshold/tweakey.c
index 7822564..e1abbb6 100644
---- a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/tweakey.c
-+++ b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/tweakey.c
+--- a/src/add_threshold/tweakey.c
++++ b/src/add_threshold/tweakey.c
@@ -20,6 +20,8 @@ This file provides a first-order threshold implementation of Lilliput-TBC's
tweakey schedule, where the tweak and the key are split into two shares.
*/