diff --git a/IDE/WIN-SRTP-KDF-140-3/user_settings.h b/IDE/WIN-SRTP-KDF-140-3/user_settings.h index 3c5127eb7..e9e6090e0 100644 --- a/IDE/WIN-SRTP-KDF-140-3/user_settings.h +++ b/IDE/WIN-SRTP-KDF-140-3/user_settings.h @@ -80,24 +80,15 @@ #define WOLFSSL_VALIDATE_ECC_IMPORT #define WOLFSSL_VALIDATE_FFC_IMPORT #define HAVE_FFDHE_Q - #define HAVE_PUBLIC_FFDHE #ifdef _WIN64 #define WOLFSSL_AESNI - #define HAVE_INTEL_RDSEED #endif - #define FORCE_FAILURE_RDSEED #endif /* FIPS v2 */ #if defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 5) - #undef WOLFSSL_AESNI /* Comment out if using PAA */ - #undef HAVE_INTEL_RDSEED - #undef FORCE_FAILURE_RDSEED - #undef HAVE_PUBLIC_FFDHE - #define NO_DES #define NO_DES3 #define NO_MD5 #define NO_OLD_TLS - #define WOLFSSL_TLS13 #define HAVE_TLS_EXTENSIONS #define HAVE_SUPPORTED_CURVES @@ -124,17 +115,28 @@ #define FP_MAX_BITS 16384 #endif /* FIPS v5 */ #if defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 6) + #undef WOLFSSL_AESNI /* Comment out if using PAA */ #define HAVE_ED25519 + #define HAVE_CURVE25519 + #define WOLFSSL_ED25519_STREAMING_VERIFY + #define HAVE_ED25519_KEY_IMPORT #define HAVE_ED448 + #define HAVE_CURVE448 + #define HAVE_ED448_KEY_IMPORT + #define WOLFSSL_ED448_STREAMING_VERIFY + #undef WOLFSSL_NO_SHAKE256 #define WOLFSSL_SHAKE256 #define WOLFSSL_SHAKE128 #define WOLFSSL_AES_CFB #define WOLFSSL_AES_XTS + #define WOLFSSL_AESXTS_STREAM + #define WOLFSSL_AESGCM_STREAM #define HAVE_AES_KEYWRAP #define WC_SRTP_KDF #define HAVE_PBKDF2 #define WOLFCRYPT_FIPS_CORE_HASH_VALUE \ - AA9F70F147FAB898A76F587873AC4E9C7050D6E1F5828046BE871C54EDF2BF1C + AE8F969C072FB4A87B5C594F96162002F3CCEB6026BDB2553C8621AE197F7059 //woPAA + //E257E8C21764333E4710316D208A90D4ECA0682D6F40DC3F4A6E259D4752E306 //wPAA #define WOLFSSL_NOSHA512_224 #define WOLFSSL_NOSHA512_256 @@ -174,4 +176,24 @@ #endif #endif /* HAVE_FIPS */ +/* For optesting and code review and harness/vector processing */ +#if 0 + #undef USE_CERT_BUFFERS_2048 + #define USE_CERT_BUFFERS_2048 + + #undef USE_CERT_BUFFERS_256 + #define USE_CERT_BUFFERS_256 + + #define NO_MAIN_DRIVER + #define HAVE_FORCE_FIPS_FAILURE + #define OPTEST_LOGGING_ENABLED + #define OPTEST_INVALID_LOGGING_ENABLED + #define DEBUG_FIPS_VERBOSE + #define OPTEST_RUNNING_ORGANIC + #define DEBUG_WOLFSSL + #define OPTEST_LOG_TE_MAPPING + #define DEEPLY_EMBEDDED + #define WORKING_WITH_AEGISOLVE +#endif /* 1 || 0 */ + #endif /* _WIN_USER_SETTINGS_H_ */ diff --git a/IDE/WIN-SRTP-KDF-140-3/wolfssl-fips.vcxproj b/IDE/WIN-SRTP-KDF-140-3/wolfssl-fips.vcxproj index 794366b12..65bb39fff 100644 --- a/IDE/WIN-SRTP-KDF-140-3/wolfssl-fips.vcxproj +++ b/IDE/WIN-SRTP-KDF-140-3/wolfssl-fips.vcxproj @@ -42,46 +42,46 @@ StaticLibrary - v142 + v143 Unicode true DynamicLibrary - v142 + v143 Unicode true StaticLibrary - v142 + v143 Unicode true DynamicLibrary - v142 + v143 Unicode true StaticLibrary - v142 + v143 Unicode DynamicLibrary - v142 + v143 Unicode StaticLibrary - v142 + v143 Unicode DynamicLibrary - v142 + v143 Unicode true @@ -132,7 +132,7 @@ Disabled - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -144,7 +144,7 @@ Disabled - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) BUILDING_WOLFSSL;WOLFSSL_DLL;WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) true EnableFastChecks @@ -164,7 +164,7 @@ Disabled - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -176,7 +176,7 @@ Disabled - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) BUILDING_WOLFSSL;WOLFSSL_DLL;WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) true EnableFastChecks @@ -197,7 +197,7 @@ MaxSpeed true - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) MultiThreadedDLL true @@ -210,7 +210,7 @@ MaxSpeed true - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) BUILDING_WOLFSSL;WOLFSSL_DLL;WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) MultiThreadedDLL true @@ -228,7 +228,7 @@ MaxSpeed true - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) MultiThreadedDLL true @@ -241,7 +241,7 @@ MaxSpeed true - ./;../../;%(AdditionalIncludeDirectories) + $(SolutionDir)XXX-fips-test\IDE\WIN-SRTP-KDF-140-3;$(SolutionDir)XXX-fips-test;%(AdditionalIncludeDirectories) BUILDING_WOLFSSL;WOLFSSL_DLL;WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions) MultiThreadedDLL true @@ -266,7 +266,9 @@ + + @@ -389,4 +391,4 @@ - + \ No newline at end of file