mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 16:55:47 +01:00
Update psa_open_key tests for invalid key.
Update expected return values of psa_open_key() to PSA_ERROR_DOES_NOT_EXIST for invalid key handle operations. Signed-off-by: Maulik Patel <Maulik.Patel@arm.com>
This commit is contained in:
parent
c1bfcdda58
commit
f65ad8ccc1
@ -89,15 +89,15 @@ create_existent:PSA_KEY_LIFETIME_PERSISTENT:0x3617:1:KEEP_OPEN
|
|||||||
|
|
||||||
Open failure: invalid identifier (0)
|
Open failure: invalid identifier (0)
|
||||||
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||||
open_fail:0:PSA_ERROR_INVALID_HANDLE
|
open_fail:0:PSA_ERROR_DOES_NOT_EXIST
|
||||||
|
|
||||||
Open failure: invalid identifier (random seed UID)
|
Open failure: invalid identifier (random seed UID)
|
||||||
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||||
open_fail:PSA_CRYPTO_ITS_RANDOM_SEED_UID:PSA_ERROR_INVALID_HANDLE
|
open_fail:PSA_CRYPTO_ITS_RANDOM_SEED_UID:PSA_ERROR_DOES_NOT_EXIST
|
||||||
|
|
||||||
Open failure: invalid identifier (reserved range)
|
Open failure: invalid identifier (reserved range)
|
||||||
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||||
open_fail:PSA_KEY_ID_VENDOR_MAX + 1:PSA_ERROR_INVALID_HANDLE
|
open_fail:PSA_KEY_ID_VENDOR_MAX + 1:PSA_ERROR_DOES_NOT_EXIST
|
||||||
|
|
||||||
Open failure: invalid identifier (implementation range)
|
Open failure: invalid identifier (implementation range)
|
||||||
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||||
|
Loading…
Reference in New Issue
Block a user