Commit Graph

4 Commits (6354b9a47351a29ea24023c5471b63d39e091959)

Author SHA1 Message Date
Cruz Monrreal 79da14d1f4
Merge pull request #8797 from RonEld/cryptocell_ecc_errors_alt_fixes
Fix issues in Cryptocell 310 cc_internal discovered by On Target Testing
2018-11-30 17:51:50 -06:00
Ron Eldor c948eaad21 Fix issues in CC310 cc_internal discovered by OTT
Return `MBEDTLS_ERR_ECP_INVALID_KEY` when Cryptocell returns
`CRYS_ECPKI_BUILD_KEY_INVALID_PRIV_KEY_SIZE_ERROR`
or `CRYS_ECPKI_BUILD_KEY_INVALID_PUBL_KEY_SIZE_ERROR`,
When the key size is invalid. Found by the "ECDSA zero private parameter"
tests.
2018-11-26 15:09:00 +02:00
Ron Eldor 9f4e752ef3 Modify HW accelerator drivers to new error code
Have the HW accelearation drivers return the platform module
errors about feature unsupported, and hw acceleration failure,
because the moduel specific errors will be removed.
2018-11-11 09:59:18 +02:00
Ron Eldor 23ba8bc1f5 Change Cryptocell target to a feature
Change the Cryptocell310 target to `FEATURE_CRYPTOCELL310`
2018-05-21 13:40:43 +03:00