PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/security/nss/cmd/fipstest/rsa.sh

http://github.com/zpao/v8monkey
Shell | 20 lines | 8 code | 3 blank | 9 comment | 0 complexity | 65d6a42473e9d8d5f5e19a353cd43d61 MD5 | raw file
 1#!/bin/sh
 2#
 3# A Bourne shell script for running the NIST RSA Validation System
 4#
 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.
10
11
12request=SigGen15.req
13response=`echo $request | sed -e "s/req/rsp/"`
14echo $request $response
15fipstest rsa siggen $request > $response
16
17request=SigVer15.req
18response=`echo $request | sed -e "s/req/rsp/"`
19echo $request $response
20fipstest rsa sigver $request > $response