From f5b60f2336b080d6bcb15e456bb21e6aba391b76 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 13 Feb 2022 21:55:21 +0100 Subject: Fixup tracing patches Leftover of the original repo's history. --- traces/add_threshold/traces-tbc.patch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'traces/add_threshold/traces-tbc.patch') 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