nss: import at 3.0.1 beta 1
[mozilla-nss.git] / security / nss / cmd / fipstest / rsa.sh
blob4b68a58bc7b583f0c9a346e27b2092e88c693120
1 #!/bin/sh
3 # A Bourne shell script for running the NIST RSA Validation System
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.
12 request=SigGen15.req
13 response=`echo $request | sed -e "s/req/rsp/"`
14 echo $request $response
15 fipstest rsa siggen $request > $response
17 request=SigVer15.req
18 response=`echo $request | sed -e "s/req/rsp/"`
19 echo $request $response
20 fipstest rsa sigver $request > $response