better detection of invalid ecc keys

This commit is contained in:
toddouska
2015-05-01 14:44:43 -07:00
parent 46eca67336
commit 6db33051d3
6 changed files with 91 additions and 3 deletions

View File

@@ -319,6 +319,9 @@ const char* wc_GetErrorString(int error)
case MAC_CMP_FAILED_E:
return "MAC comparison failed";
case IS_POINT_E:
return "ECC is point on curve failed";
default:
return "unknown error number";