mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Test Fixes
1. Added error code for ECDHE FIPS KAT failure.
This commit is contained in:
@ -464,6 +464,9 @@ const char* wc_GetErrorString(int error)
|
||||
case SHA3_KAT_FIPS_E:
|
||||
return "SHA-3 Known Answer Test check FIPS error";
|
||||
|
||||
case ECDHE_KAT_FIPS_E:
|
||||
return "wolfcrypt FIPS ECDHE Known Answer Test Failure";
|
||||
|
||||
default:
|
||||
return "unknown error number";
|
||||
|
||||
|
@ -206,8 +206,9 @@ enum {
|
||||
DH_KAT_FIPS_E = -256, /* DH KAT failure */
|
||||
AESCCM_KAT_FIPS_E = -257, /* AESCCM KAT failure */
|
||||
SHA3_KAT_FIPS_E = -258, /* SHA-3 KAT failure */
|
||||
ECDHE_KAT_FIPS_E = -259, /* ECDHE KAT failure */
|
||||
|
||||
WC_LAST_E = -258, /* Update this to indicate last error */
|
||||
WC_LAST_E = -259, /* Update this to indicate last error */
|
||||
MIN_CODE_E = -300 /* errors -101 - -299 */
|
||||
|
||||
/* add new companion error id strings for any new error codes
|
||||
|
Reference in New Issue
Block a user