Skip to content

Commit

Permalink
Merge pull request #7541 from kaleb-himes/wolfEntropy-first-checkin
Browse files Browse the repository at this point in the history
Add a recipe for wolfEntropy checkout
  • Loading branch information
dgarske committed May 16, 2024
2 parents 0aa8e2e + 42feca7 commit dd55542
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions fips-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Flavor is one of:
fips-ready (ready FIPS 140-3)
fips-dev (dev FIPS 140-3)
wolfrand
wolfentropy
Keep (default off) retains the temp dir $TEST_DIR for inspection.
Example:
Expand Down Expand Up @@ -254,6 +255,41 @@ wolfrand)
'wolfssl/wolfcrypt/sha256.h:WCv4-stable'
)
;;
wolfentropy)
FIPS_OPTION='v6'
FIPS_FILES=(
'wolfcrypt/src/fips.c:wolfEntropy1'
'wolfcrypt/src/fips_test.c:wolfEntropy1'
'wolfcrypt/src/wolfcrypt_first.c:wolfEntropy1'
'wolfcrypt/src/wolfcrypt_last.c:wolfEntropy1'
'wolfssl/wolfcrypt/fips.h:wolfEntropy1'
)
WOLFCRYPT_FILES=(
'wolfcrypt/src/aes.c:wolfEntropy1'
'wolfcrypt/src/aes_asm.asm:wolfEntropy1'
'wolfcrypt/src/aes_asm.S:wolfEntropy1'
'wolfcrypt/src/aes_gcm_asm.S:wolfEntropy1'
'wolfcrypt/src/ecc.c:wolfEntropy1'
'wolfcrypt/src/hmac.c:wolfEntropy1'
'wolfcrypt/src/kdf.c:wolfEntropy1'
'wolfcrypt/src/random.c:wolfEntropy1'
'wolfcrypt/src/sha256.c:wolfEntropy1'
'wolfcrypt/src/sha256_asm.S:wolfEntropy1'
'wolfcrypt/src/sha3.c:wolfEntropy1'
'wolfcrypt/src/sha512.c:wolfEntropy1'
'wolfcrypt/src/sha512_asm.S:wolfEntropy1'
'wolfssl/wolfcrypt/aes.h:wolfEntropy1'
'wolfssl/wolfcrypt/ecc.h:wolfEntropy1'
'wolfssl/wolfcrypt/fips_test.h:wolfEntropy1'
'wolfssl/wolfcrypt/hmac.h:wolfEntropy1'
'wolfssl/wolfcrypt/kdf.h:wolfEntropy1'
'wolfssl/wolfcrypt/random.h:wolfEntropy1'
'wolfssl/wolfcrypt/sha256.h:wolfEntropy1'
'wolfssl/wolfcrypt/sha3.h:wolfEntropy1'
'wolfssl/wolfcrypt/sha512.h:wolfEntropy1'
)
;;

*)
Usage
exit 1
Expand Down

0 comments on commit dd55542

Please sign in to comment.