mirror of https://github.com/ARMmbed/mbed-os.git
crypto: storage: Fix PSA_PS_ERROR_OFFSET typo
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.pull/8925/head
parent
5047ea4f42
commit
f9417ac12b
|
@ -4249,7 +4249,7 @@ static psa_status_t its_to_psa_error( psa_its_status_t ret )
|
|||
return( PSA_ERROR_INSUFFICIENT_STORAGE );
|
||||
|
||||
case PSA_ITS_ERROR_INVALID_KEY:
|
||||
case PSA_PS_ERROR_OFFSET_INVALID:
|
||||
case PSA_ITS_ERROR_OFFSET_INVALID:
|
||||
case PSA_ITS_ERROR_INCORRECT_SIZE:
|
||||
case PSA_ITS_ERROR_BAD_POINTER:
|
||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||
|
|
|
@ -52,7 +52,7 @@ static psa_status_t its_to_psa_error( psa_its_status_t ret )
|
|||
return( PSA_ERROR_INSUFFICIENT_STORAGE );
|
||||
|
||||
case PSA_ITS_ERROR_INVALID_KEY:
|
||||
case PSA_PS_ERROR_OFFSET_INVALID:
|
||||
case PSA_ITS_ERROR_OFFSET_INVALID:
|
||||
case PSA_ITS_ERROR_INCORRECT_SIZE:
|
||||
case PSA_ITS_ERROR_BAD_POINTER:
|
||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||
|
|
Loading…
Reference in New Issue