You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
As per the PSA Crypto Specification 1.0.0, MbedTLS library function psa_copy_key() should return PSA_ERROR_INVALID_ARGUMENT, if the lifetime or identifier in attributes is invalid. However, it returns PSA_ERROR_INVALID_HANDLE instead.
Actual behavior
psa_copy_key() returns PSA_ERROR_INVALID_HANDLE when identifier or lifetime is invalid.
The text was updated successfully, but these errors were encountered:
Description
Bug
OS
Mbed OS|linux|windows|
mbed TLS build:
Version: 2.26.0
Expected behavior
As per the PSA Crypto Specification 1.0.0, MbedTLS library function psa_copy_key() should return PSA_ERROR_INVALID_ARGUMENT, if the lifetime or identifier in attributes is invalid. However, it returns PSA_ERROR_INVALID_HANDLE instead.
Actual behavior
psa_copy_key() returns PSA_ERROR_INVALID_HANDLE when identifier or lifetime is invalid.
The text was updated successfully, but these errors were encountered: