diff options
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 |
