mirror of https://github.com/wolfSSL/wolfssl.git
Add option to fips-check script to checkout specific named files from the FIPS tag.
parent
a2f802199d
commit
bffe4f64dd
|
@ -278,6 +278,7 @@ linuxv3)
|
|||
FIPS_SRCS=( fips.c fips_test.c wolfcrypt_first.c wolfcrypt_last.c )
|
||||
FIPS_INCS=( fips.h )
|
||||
FIPS_OPTION="v4"
|
||||
COPY_DIRECT=( wolfcrypt/src/aes_asm.S wolfcrypt/src/aes_asm.asm )
|
||||
;;
|
||||
*)
|
||||
Usage
|
||||
|
@ -327,6 +328,11 @@ then
|
|||
$GIT checkout "my$CRYPT_VERSION" -- "$CRYPT_SRC_PATH/$MOD.c" "$CRYPT_INC_PATH/$MOD.h"
|
||||
done
|
||||
|
||||
for MOD in "${COPY_DIRECT[@]}"
|
||||
do
|
||||
$GIT checkout "my$CRYPT_VERSION" -- "$MOD"
|
||||
done
|
||||
|
||||
$GIT branch --no-track "myrng$RNG_VERSION" $RNG_VERSION
|
||||
# Checkout the fips versions of the wolfCrypt files from the repo.
|
||||
$GIT checkout "myrng$RNG_VERSION" -- "$CRYPT_SRC_PATH/random.c" "$CRYPT_INC_PATH/random.h"
|
||||
|
|
Loading…
Reference in New Issue