fips/*/Makefile updates to accomodate new VSes.
This commit is contained in:
parent
b8bd781b7e
commit
d893001918
@ -72,17 +72,9 @@ fips_desmovs: fips_desmovs.o $(TOP)/libcrypto.a
|
|||||||
TOP=$(TOP) $(TOP)/fips/openssl_fips_fingerprint $(TOP)/libcrypto.a fips_desmovs
|
TOP=$(TOP) $(TOP)/fips/openssl_fips_fingerprint $(TOP)/libcrypto.a fips_desmovs
|
||||||
|
|
||||||
fips_test: top_fips_desmovs
|
fips_test: top_fips_desmovs
|
||||||
find ../testvectors/des/req -name '*.req' > testlist
|
find ../testvectors/tdes/req -name '*.req' > testlist
|
||||||
-rm -rf ../testvectors/des/rsp
|
-rm -rf ../testvectors/tdes/rsp
|
||||||
mkdir ../testvectors/des/rsp
|
mkdir ../testvectors/tdes/rsp
|
||||||
./fips_desmovs -d testlist
|
|
||||||
find ../testvectors/des2/req -name '*.req' > testlist
|
|
||||||
-rm -rf ../testvectors/des2/rsp
|
|
||||||
mkdir ../testvectors/des2/rsp
|
|
||||||
./fips_desmovs -d testlist
|
|
||||||
find ../testvectors/des3/req -name '*.req' > testlist
|
|
||||||
-rm -rf ../testvectors/des3/rsp
|
|
||||||
mkdir ../testvectors/des3/rsp
|
|
||||||
./fips_desmovs -d testlist
|
./fips_desmovs -d testlist
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
@ -75,8 +75,8 @@ A=../testvectors/rng/rsp
|
|||||||
fips_test: top_fips_rngvs
|
fips_test: top_fips_rngvs
|
||||||
-rm -rf $(A)
|
-rm -rf $(A)
|
||||||
mkdir $(A)
|
mkdir $(A)
|
||||||
./fips_rngvs mct < $(Q)/MCT.req > $(A)/MCT.rsp
|
./fips_rngvs mct < $(Q)/ANSI931_TDES2MCT.req > $(A)/ANSI931_TDES2MCT.rsp
|
||||||
./fips_rngvs vst < $(Q)/VST.req > $(A)/VST.rsp
|
./fips_rngvs vst < $(Q)/ANSI931_TDES2VST.req > $(A)/ANSI931_TDES2VST.rsp
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
||||||
|
@ -79,10 +79,31 @@ fips_shatest: fips_shatest.o $(TOP)/libcrypto.a
|
|||||||
$(CC) $(CFLAGS) -o fips_shatest fips_shatest.o $(PEX_LIBS) $(TOP)/libcrypto.a $(EX_LIBS)
|
$(CC) $(CFLAGS) -o fips_shatest fips_shatest.o $(PEX_LIBS) $(TOP)/libcrypto.a $(EX_LIBS)
|
||||||
TOP=$(TOP) $(TOP)/fips/openssl_fips_fingerprint $(TOP)/libcrypto.a fips_shatest
|
TOP=$(TOP) $(TOP)/fips/openssl_fips_fingerprint $(TOP)/libcrypto.a fips_shatest
|
||||||
|
|
||||||
|
Q=../testvectors/sha/req
|
||||||
|
A=../testvectors/sha/rsp
|
||||||
|
|
||||||
|
VECTORS = SHA1LongMsg \
|
||||||
|
SHA1Monte \
|
||||||
|
SHA1ShortMsg \
|
||||||
|
SHA224LongMsg \
|
||||||
|
SHA224Monte \
|
||||||
|
SHA224ShortMsg \
|
||||||
|
SHA256LongMsg \
|
||||||
|
SHA256Monte \
|
||||||
|
SHA256ShortMsg \
|
||||||
|
SHA384LongMsg \
|
||||||
|
SHA384Monte \
|
||||||
|
SHA384ShortMsg \
|
||||||
|
SHA512LongMsg \
|
||||||
|
SHA512Monte \
|
||||||
|
SHA512ShortMsg
|
||||||
|
|
||||||
fips_test: top_fips_shatest
|
fips_test: top_fips_shatest
|
||||||
-rm -rf ../testvectors/sha/rsp
|
-rm -rf $(A)
|
||||||
mkdir ../testvectors/sha/rsp
|
mkdir $(A)
|
||||||
./fips_shatest ../testvectors/sha/req/sha.req > ../testvectors/sha/rsp/sha.rsp
|
for file in $(VECTORS); do \
|
||||||
|
./fips_shatest $(Q)/$$file.req $(A)/$$file.rsp; \
|
||||||
|
done
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user