Skip to content

Commit

Permalink
update fips-check.sh for cert #4718: remap linuxv5 as an alias for li…
Browse files Browse the repository at this point in the history
…nuxv5.2.1, and add linuxv5-RC12.
  • Loading branch information
douzzer committed Dec 6, 2024
1 parent 27e0df0 commit aec0345
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions fips-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ marvell-linux-selftest)
'wolfssl/wolfcrypt/sha512.h:v4.1.0-stable'
)
;;
linuxv5)
FIPS_OPTION='v5'
linuxv5-RC12)
FIPS_OPTION='v5-RC12'
FIPS_FILES=(
'wolfcrypt/src/fips.c:WCv5.2.0.1-RC01'
'wolfcrypt/src/fips_test.c:WCv5.0-RC12'
Expand Down Expand Up @@ -186,7 +186,7 @@ linuxv5)
'wolfssl/wolfcrypt/sha512.h:WCv5.0-RC12'
)
;;
linuxv5.2.1)
linuxv5|linuxv5.2.1)
FIPS_OPTION='v5'
FIPS_FILES=(
'wolfcrypt/src/fips.c:v5.2.1-stable'
Expand Down Expand Up @@ -321,7 +321,11 @@ v6.0.0)
)
;;
fips-ready|fips-dev)
FIPS_OPTION='ready'
if [ "$FLAVOR" = 'fips-dev' ]; then
FIPS_OPTION='dev'
else
FIPS_OPTION='ready'
fi
FIPS_FILES=(
'wolfcrypt/src/fips.c:master'
'wolfcrypt/src/fips_test.c:master'
Expand All @@ -330,7 +334,6 @@ fips-ready|fips-dev)
'wolfssl/wolfcrypt/fips.h:master'
)
WOLFCRYPT_FILES=()
if [ "$FLAVOR" = 'fips-dev' ]; then FIPS_OPTION='dev'; fi
;;
wolfrand)
FIPS_OPTION='rand'
Expand Down

0 comments on commit aec0345

Please sign in to comment.