Skip to content

Commit 79da14d

Browse files
author
Cruz Monrreal
authored
Merge pull request #8797 from RonEld/cryptocell_ecc_errors_alt_fixes
Fix issues in Cryptocell 310 cc_internal discovered by On Target Testing
2 parents b83cdb3 + c948eaa commit 79da14d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/cryptocell/FEATURE_CRYPTOCELL310/cc_internal.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ int convert_CrysError_to_mbedtls_err( CRYSError_t Crys_err )
144144
case CRYS_ECPKI_GEN_KEY_INVALID_PRIVATE_KEY_PTR_ERROR:
145145
case CRYS_ECPKI_EXPORT_PUBL_KEY_INVALID_PUBL_KEY_DATA_ERROR:
146146
case CRYS_ECPKI_BUILD_KEY_INVALID_PRIV_KEY_DATA_ERROR:
147+
case CRYS_ECPKI_BUILD_KEY_INVALID_PRIV_KEY_SIZE_ERROR:
148+
case CRYS_ECPKI_BUILD_KEY_INVALID_PUBL_KEY_SIZE_ERROR:
147149
return ( MBEDTLS_ERR_ECP_INVALID_KEY );
148150

149151
default:

0 commit comments

Comments
 (0)