From a05b9773b100a53ee54c0fb09426b2ccbdef80a0 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 14 Mar 2019 13:11:48 +0100 Subject: Ajout d'un script pour vérifier l'implémentation Python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/compare.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 python/compare.sh (limited to 'python') diff --git a/python/compare.sh b/python/compare.sh new file mode 100755 index 0000000..7a9cdc7 --- /dev/null +++ b/python/compare.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# TODO: make sure reference crypto_aead exists +# TODO: cleanup previous vectors and run genkat_aead.py + +set -eux + +mkdir -p crypto_aead_ref +for d in ../../SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/crypto_aead/lilliputaei* +do + mkdir -p crypto_aead_ref/$(basename $d) + cp $d/LWC*.txt crypto_aead_ref/$(basename $d)/ +done + +diff -ru crypto_aead_ref crypto_aead -- cgit v1.2.3