commit a05b9773b100a53ee54c0fb09426b2ccbdef80a0 parent b0e8a40f111aea202cb1dcc46afb318a9b2773e2 Author: Kévin Le Gouguec <kevin.legouguec@airbus.com> Date: Thu, 14 Mar 2019 13:11:48 +0100 Ajout d'un script pour vérifier l'implémentation Python Diffstat:
| A | python/compare.sh | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/python/compare.sh 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