3 # A Bourne shell script for running the NIST AES Algorithm Validation Suite
5 # Before you run the script, set your PATH, LD_LIBRARY_PATH, ... environment
6 # variables appropriately so that the fipstest command and the NSPR and NSS
7 # shared libraries/DLLs are on the search path. Then run this script in the
8 # directory where the REQUEST (.req) files reside. The script generates the
9 # RESPONSE (.rsp) files in the same directory.
65 for request
in $ecb_kat_requests; do
66 response
=`echo $request | sed -e "s/req/rsp/"`
67 echo $request $response
68 fipstest aes kat ecb
$request > $response
70 for request
in $ecb_mmt_requests; do
71 response
=`echo $request | sed -e "s/req/rsp/"`
72 echo $request $response
73 fipstest aes mmt ecb
$request > $response
75 for request
in $ecb_mct_requests; do
76 response
=`echo $request | sed -e "s/req/rsp/"`
77 echo $request $response
78 fipstest aes mct ecb
$request > $response
80 for request
in $cbc_kat_requests; do
81 response
=`echo $request | sed -e "s/req/rsp/"`
82 echo $request $response
83 fipstest aes kat cbc
$request > $response
85 for request
in $cbc_mmt_requests; do
86 response
=`echo $request | sed -e "s/req/rsp/"`
87 echo $request $response
88 fipstest aes mmt cbc
$request > $response
90 for request
in $cbc_mct_requests; do
91 response
=`echo $request | sed -e "s/req/rsp/"`
92 echo $request $response
93 fipstest aes mct cbc
$request > $response