diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-10 15:23:17 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-10 15:23:17 +0200 |
| commit | 3a3a75683ff4e9b2a3ab311d266fd1bd0392ee62 (patch) | |
| tree | e4b2326efb78838e1036bf0910a1545c91236c50 /nist/package-vhdl.sh | |
| parent | e509afef04676c9c9dad11a41a196599b70dc774 (diff) | |
| parent | c14dee173636d326f26352773cf8201c9ae65961 (diff) | |
| download | lilliput-ae-implem-3a3a75683ff4e9b2a3ab311d266fd1bd0392ee62.tar.xz | |
Merge branch 'fix-vhdltbc'
Diffstat (limited to 'nist/package-vhdl.sh')
| -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 |
