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 | 7b4050583d09e3d0ecfd7e7c51b9c77792d4b098 (patch) | |
| tree | 91417728bad80e945029cd946949bd745af19e77 /nist | |
| parent | 6589f3ef20f8f93168be49135764764cd0c02a23 (diff) | |
| download | lilliput-ae-implem-7b4050583d09e3d0ecfd7e7c51b9c77792d4b098.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 |
