lilliput-ae-reference-implementation

Implementations of Lilliput-AE submitted to the NIST LWC standardization process
git clone https://git.kevinlegouguec.net/lilliput-ae-reference-implementation
Log | Files | Refs | README

check-all.sh (421B)


      1 #!/bin/bash
      2 
      3 set -eux
      4 
      5 run ()
      6 {
      7     make clean
      8     "$@"
      9 }
     10 
     11 add_implems=(src/add_felicsref src/add_tweakeyloop src/add_threshold)
     12 
     13 for implem in ref ${add_implems[@]}
     14 do
     15     run make test IMPLEMENTATION=$(basename $implem)
     16 done
     17 
     18 run make traces
     19 run make traces IMPLEMENTATION=add_threshold
     20 
     21 for implem in ${add_implems[@]}
     22 do
     23     run ./test/check-implementation.sh $(basename $implem)
     24 done
     25 
     26 run make nist
     27 ./test/python.sh