From df6fe0b07cd23a28470e347007f378a8cdc9510f Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 8 Jun 2018 10:36:28 -0700 Subject: [PATCH] FIPS Revalidation (acceptance fixes) 1. Update the fips-check script to pull the FIPSv2 code from the main repositories. 2. Script cleanup. 3. Disable the api.test check of wc_ecc_mulmod() when WOLFSSL_VALIDATE_ECC_IMPORT is enabled. --- fips-check.sh | 116 ++++++++++++++++++++++++++++---------------------- tests/api.c | 2 +- 2 files changed, 65 insertions(+), 53 deletions(-) diff --git a/fips-check.sh b/fips-check.sh index e016b09f9..224ef357a 100755 --- a/fips-check.sh +++ b/fips-check.sh @@ -16,25 +16,26 @@ # - keep: (default off) XXX-fips-test temp dir around for inspection # -function Usage() { - printf '\n%s\n' "Usage: $0 [platform] [keep]" - printf '%s\n\n' "Where \"platform\" is one of:" - printf '\t%s\n' "linux (default)" - printf '\t%s\n' "ios" - printf '\t%s\n' "android" - printf '\t%s\n' "windows" - printf '\t%s\n' "freertos" - printf '\t%s\n' "openrtos-3.9.2" - printf '\t%s\n' "linux-ecc" - printf '\t%s\n' "netbsd-selftest" - printf '\t%s\n' "sgx" - printf '\t%s\n' "netos-7.6" - printf '\t%s\n' "linuxv2" - printf '\n%s\n\n' "Where \"keep\" means keep (default off) XXX-fips-test temp dir around for inspection" - printf '%s\n' "EXAMPLE:" - printf '%s\n' "---------------------------------" - printf '%s\n' "./fips-check.sh windows keep" - printf '%s\n\n' "---------------------------------" +Usage() { + cat <