From 2c6c88266b5bdb266443735b38590336c691ea7f Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 11 Oct 2019 14:18:04 -0600 Subject: [PATCH 1/2] add prototype for wolfCrypt CAVP version in selftest.h --- wolfssl/wolfcrypt/selftest.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wolfssl/wolfcrypt/selftest.h b/wolfssl/wolfcrypt/selftest.h index 364b2976c..3449364f2 100644 --- a/wolfssl/wolfcrypt/selftest.h +++ b/wolfssl/wolfcrypt/selftest.h @@ -32,6 +32,9 @@ #endif #ifdef HAVE_SELFTEST + /* Get wolfCrypt CAVP version */ + WOLFSSL_API const char* wolfCrypt_GetVersion_CAVP_selftest(void); + /* wolfCrypt self test, runs CAVP KATs */ WOLFSSL_API int wolfCrypt_SelfTest(void); #endif From fd6328aa8e33e3815c69085140698cd1de24455c Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 11 Oct 2019 14:29:41 -0600 Subject: [PATCH 2/2] adjust NETBSD selftest tag in fips-check.sh for CAVP version API --- fips-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fips-check.sh b/fips-check.sh index 0046159ff..adccd4ee8 100755 --- a/fips-check.sh +++ b/fips-check.sh @@ -92,7 +92,7 @@ NETOS_7_6_CRYPT_REPO=git@github.com:cyassl/cyassl.git # non-FIPS, CAVP only but pull in selftest # will reset above variables below in platform switch -NETBSD_FIPS_VERSION=v3.14.2a +NETBSD_FIPS_VERSION=v3.14.2b NETBSD_FIPS_REPO=git@github.com:wolfssl/fips.git NETBSD_CRYPT_VERSION=v3.14.2 NETBSD_CRYPT_REPO=git@github.com:wolfssl/wolfssl.git