mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Add RSA PAT.
This commit is contained in:
@ -521,6 +521,9 @@ const char* wc_GetErrorString(int error)
|
||||
case ECDSA_KAT_FIPS_E:
|
||||
return "wolfcrypt FIPS ECDSA Known Answer Test Failure";
|
||||
|
||||
case RSA_PAT_FIPS_E:
|
||||
return "wolfcrypt FIPS RSA Pairwise Agreement Test Failure";
|
||||
|
||||
default:
|
||||
return "unknown error number";
|
||||
|
||||
|
@ -235,8 +235,9 @@ enum {
|
||||
CHACHA_POLY_OVERFLOW =-274, /* ChaCha20Poly1305 limit overflow */
|
||||
ASN_SELF_SIGNED_E = -275, /* ASN self-signed certificate error */
|
||||
ECDSA_KAT_FIPS_E = -276, /* ECDSA KAT failure */
|
||||
RSA_PAT_FIPS_E = -277, /* RSA Pairwise failure */
|
||||
|
||||
WC_LAST_E = -276, /* Update this to indicate last error */
|
||||
WC_LAST_E = -277, /* Update this to indicate last error */
|
||||
MIN_CODE_E = -300 /* errors -101 - -299 */
|
||||
|
||||
/* add new companion error id strings for any new error codes
|
||||
|
@ -40,6 +40,7 @@ enum FipsCastId {
|
||||
FIPS_CAST_HMAC_SHA3_256,
|
||||
FIPS_CAST_DRBG,
|
||||
FIPS_CAST_RSA_SIGN_PKCS1v15,
|
||||
FIPS_CAST_RSA_PAIRWISE,
|
||||
FIPS_CAST_ECC_CDH,
|
||||
FIPS_CAST_ECC_PRIMITIVE_Z,
|
||||
FIPS_CAST_DH_PRIMITIVE_Z,
|
||||
|
Reference in New Issue
Block a user