summaryrefslogtreecommitdiff
path: root/nist/package-vhdl.sh
diff options
context:
space:
mode:
authorGaetan Leplus <gaetan.leplus@airbus.com>2019-07-04 14:01:34 +0200
committerGaetan Leplus <gaetan.leplus@airbus.com>2019-07-04 14:09:13 +0200
commit7b4050583d09e3d0ecfd7e7c51b9c77792d4b098 (patch)
tree91417728bad80e945029cd946949bd745af19e77 /nist/package-vhdl.sh
parent6589f3ef20f8f93168be49135764764cd0c02a23 (diff)
downloadlilliput-ae-implem-7b4050583d09e3d0ecfd7e7c51b9c77792d4b098.tar.xz
Remplacement de la version vhdltbc par la version optimisée et corrigée
Diffstat (limited to 'nist/package-vhdl.sh')
-rwxr-xr-xnist/package-vhdl.sh18
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