Update guard for ecp
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
4f47f3dac8
commit
1dab445804
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ psa_status_t mbedtls_to_psa_error(int ret)
|
||||||
return PSA_ERROR_INSUFFICIENT_ENTROPY;
|
return PSA_ERROR_INSUFFICIENT_ENTROPY;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_ECP_C)
|
#if defined(MBEDTLS_ECP_LIGHT)
|
||||||
case MBEDTLS_ERR_ECP_BAD_INPUT_DATA:
|
case MBEDTLS_ERR_ECP_BAD_INPUT_DATA:
|
||||||
case MBEDTLS_ERR_ECP_INVALID_KEY:
|
case MBEDTLS_ERR_ECP_INVALID_KEY:
|
||||||
return PSA_ERROR_INVALID_ARGUMENT;
|
return PSA_ERROR_INVALID_ARGUMENT;
|
||||||
|
|
Loading…
Reference in a new issue