3 # Create an AES vector text file, using aesVect, which will be compared against
4 # ecb_vk.txt or ecb_vt.txt.
6 # usage: makeVectors r|t vectorStyle headerFile outFile
8 if ( $#argv != 4 ) then
9 echo Usage
: makeVectors r\
|t vectorStyle headerFile outFile
16 set separator
="=========="
18 cat $argv[3] > $outFile
20 # run thru all three key sizes
22 aesVect
$argv[1] $argv[2] k
=128 >> $outFile
23 echo $separator >> $outFile
25 aesVect
$argv[1] $argv[2] k
=192 >> $outFile
26 echo $separator >> $outFile
28 aesVect
$argv[1] $argv[2] k
=256 >> $outFile
29 echo $separator >> $outFile