diff options
| author | Gaetan Leplus <gaetan.leplus@airbus.com> | 2019-07-04 14:01:34 +0200 |
|---|---|---|
| committer | Gaetan Leplus <gaetan.leplus@airbus.com> | 2019-07-04 14:09:13 +0200 |
| commit | d560b7c442c950a59cea691d90abdd42a35b9bf1 (patch) | |
| tree | 91417728bad80e945029cd946949bd745af19e77 /nist | |
| parent | 7e4b76b05d9a3945b916af09de0f9672abd2b22c (diff) | |
| download | lilliput-ae-implem-d560b7c442c950a59cea691d90abdd42a35b9bf1.tar.xz | |
Remplacement de la version vhdltbc par la version optimisée et corrigée
Diffstat (limited to 'nist')
| -rwxr-xr-x | nist/package-vhdl.sh | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/nist/package-vhdl.sh b/nist/package-vhdl.sh index b604ba4..cb5bc01 100755 --- a/nist/package-vhdl.sh +++ b/nist/package-vhdl.sh @@ -17,23 +17,13 @@ add-variant () local variant_dir=${DEST_DIR}/crypto_aead/lilliputae${mode}${keylen}v${VERSION} - local implems=( - encrypt - decrypt - encryptdecrypt - ) + local src=${ADD_VHDL} + local dest=${variant_dir}/add_vhdltbc - for implem in ${implems[@]} - do - local src=${ADD_VHDL}/${implem} - local dest=${variant_dir}/add_vhdltbc${implem} - - mkdir ${dest} - cp -r ${src}/*.vhd ${src}/${mode}-${keylen}/* ${dest} - done + mkdir ${dest} + cp -r ${src}/*.vhd ${src}/${mode}/*.vhd ${src}/${mode}/${mode}-${keylen}/* ${dest} } - for mode in i ii do for keylen in 128 192 256 |
