diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-14 13:11:48 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-14 13:11:48 +0100 |
| commit | a05b9773b100a53ee54c0fb09426b2ccbdef80a0 (patch) | |
| tree | 9c158dbefda402bd23d49bf55f01f1fd0fa93553 /python | |
| parent | b0e8a40f111aea202cb1dcc46afb318a9b2773e2 (diff) | |
| download | lilliput-ae-implem-a05b9773b100a53ee54c0fb09426b2ccbdef80a0.tar.xz | |
Ajout d'un script pour vérifier l'implémentation Python
Diffstat (limited to 'python')
| -rwxr-xr-x | python/compare.sh | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
