From 156b597dbe5900635fd629fd95783917b7c964d8 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 3 Dec 2018 08:26:11 +0100 Subject: Documentation de l'implémentation de référence (reste) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - crypto_aead - nist - traces --- traces-ae.patch | 275 -------------------------------------------------------- 1 file changed, 275 deletions(-) delete mode 100644 traces-ae.patch (limited to 'traces-ae.patch') diff --git a/traces-ae.patch b/traces-ae.patch deleted file mode 100644 index 8aecdf6..0000000 --- a/traces-ae.patch +++ /dev/null @@ -1,275 +0,0 @@ -diff --git a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ae-common.h b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ae-common.h -index 561854e..397dac0 100644 ---- a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ae-common.h -+++ b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ae-common.h -@@ -1,3 +1,5 @@ -+#include "debug.h" -+ - #ifndef AE_COMMON_H - #define AE_COMMON_H - -@@ -105,20 +107,45 @@ static void process_associated_data( - size_t l_a = A_len / BLOCK_BYTES; - size_t rest = A_len % BLOCK_BYTES; - -+ fprintf(DUMP, "computing Auth\n"); -+ - for (size_t i=0; i - #include - #include -@@ -65,32 +67,54 @@ static void _encrypt_message( - memset(tweak, 0, TWEAK_BYTES); - memset(checksum, 0, BLOCK_BYTES); - -+ fprintf(DUMP, "message encryption\n"); -+ - for (size_t j=0; j - #include - #include -@@ -62,24 +64,40 @@ static void _generate_tag( - size_t l = M_len / BLOCK_BYTES; - size_t rest = M_len % BLOCK_BYTES; - -+ fprintf(DUMP, "computing tag\n"); -+ debug_dump_buffer("Auth", BLOCK_BYTES, Auth, 8); -+ - for (size_t j=0; j