mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
fips_check.sh: for linuxv2 add COPY_DIRECT with wolfcrypt/src/{aes_asm.S,aes_asm.asm}; for linuxv5 add wolfcrypt/src/aes_gcm_asm.S to COPY_DIRECT; fix whitespace.
This commit is contained in:
@ -184,6 +184,7 @@ linuxv2)
|
|||||||
FIPS_SRCS+=( wolfcrypt_first.c wolfcrypt_last.c )
|
FIPS_SRCS+=( wolfcrypt_first.c wolfcrypt_last.c )
|
||||||
FIPS_INCS=( fips.h )
|
FIPS_INCS=( fips.h )
|
||||||
FIPS_OPTION=v2
|
FIPS_OPTION=v2
|
||||||
|
COPY_DIRECT=( wolfcrypt/src/aes_asm.S wolfcrypt/src/aes_asm.asm )
|
||||||
;;
|
;;
|
||||||
netbsd-selftest)
|
netbsd-selftest)
|
||||||
FIPS_VERSION=$NETBSD_FIPS_VERSION
|
FIPS_VERSION=$NETBSD_FIPS_VERSION
|
||||||
@ -234,6 +235,7 @@ linuxv5)
|
|||||||
FIPS_INCS=( fips.h )
|
FIPS_INCS=( fips.h )
|
||||||
FIPS_OPTION="v5-RC12"
|
FIPS_OPTION="v5-RC12"
|
||||||
COPY_DIRECT=( wolfcrypt/src/aes_asm.S wolfcrypt/src/aes_asm.asm
|
COPY_DIRECT=( wolfcrypt/src/aes_asm.S wolfcrypt/src/aes_asm.asm
|
||||||
|
wolfcrypt/src/aes_gcm_asm.S
|
||||||
wolfcrypt/src/sha256_asm.S wolfcrypt/src/sha512_asm.S )
|
wolfcrypt/src/sha256_asm.S wolfcrypt/src/sha512_asm.S )
|
||||||
;;
|
;;
|
||||||
linuxv5-ready|fips-ready|fips-v5-ready)
|
linuxv5-ready|fips-ready|fips-v5-ready)
|
||||||
@ -372,17 +374,17 @@ esac
|
|||||||
# clone the FIPS repository
|
# clone the FIPS repository
|
||||||
case "$FIPS_OPTION" in
|
case "$FIPS_OPTION" in
|
||||||
*dev)
|
*dev)
|
||||||
if ! $GIT clone --depth 1 "$FIPS_REPO" fips; then
|
if ! $GIT clone --depth 1 "$FIPS_REPO" fips; then
|
||||||
echo "fips-check: Couldn't check out the FIPS repository for fips-dev."
|
echo "fips-check: Couldn't check out the FIPS repository for fips-dev."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if ! $GIT clone --depth 1 -b "$FIPS_VERSION" "$FIPS_REPO" fips; then
|
if ! $GIT clone --depth 1 -b "$FIPS_VERSION" "$FIPS_REPO" fips; then
|
||||||
echo "fips-check: Couldn't check out ${FIPS_VERSION} from repository ${FIPS_REPO}."
|
echo "fips-check: Couldn't check out ${FIPS_VERSION} from repository ${FIPS_REPO}."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
for SRC in "${FIPS_SRCS[@]}"
|
for SRC in "${FIPS_SRCS[@]}"
|
||||||
|
Reference in New Issue
Block a user