2018-11-30 18:53:28 +01:00
|
|
|
Transient slot, check after closing
|
2020-10-16 15:32:23 +02:00
|
|
|
transient_slot_lifecycle:0x1:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_CLOSING
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-05-28 15:06:43 +02:00
|
|
|
Transient slot, check after closing and restarting
|
2020-10-16 15:32:23 +02:00
|
|
|
transient_slot_lifecycle:0x13:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_CLOSING_WITH_SHUTDOWN
|
2019-05-28 15:06:43 +02:00
|
|
|
|
2018-11-30 18:53:28 +01:00
|
|
|
Transient slot, check after destroying
|
2020-10-16 15:32:23 +02:00
|
|
|
transient_slot_lifecycle:0x135:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_DESTROYING
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-05-28 15:06:43 +02:00
|
|
|
Transient slot, check after destroying and restarting
|
2020-10-16 15:32:23 +02:00
|
|
|
transient_slot_lifecycle:0x1357:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_DESTROYING_WITH_SHUTDOWN
|
2019-05-28 15:06:43 +02:00
|
|
|
|
|
|
|
Transient slot, check after restart with live handles
|
2020-10-16 15:32:23 +02:00
|
|
|
transient_slot_lifecycle:0x13579:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_SHUTDOWN
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-05-06 18:56:30 +02:00
|
|
|
Persistent slot, check after closing, id=min
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:124:PSA_KEY_ID_USER_MIN:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_CLOSING
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-05-28 15:06:43 +02:00
|
|
|
Persistent slot, check after closing and restarting, id=min
|
2020-10-20 17:59:45 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:125:PSA_KEY_ID_USER_MIN:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_CLOSING_WITH_SHUTDOWN
|
2019-05-28 15:06:43 +02:00
|
|
|
|
2019-05-06 18:56:30 +02:00
|
|
|
Persistent slot, check after destroying, id=min
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:126:PSA_KEY_ID_USER_MIN:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_DESTROYING
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-05-28 15:06:43 +02:00
|
|
|
Persistent slot, check after destroying and restarting, id=min
|
2020-10-20 17:59:45 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:127:PSA_KEY_ID_USER_MIN:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_DESTROYING_WITH_SHUTDOWN
|
2019-05-28 15:06:43 +02:00
|
|
|
|
2020-10-20 17:50:24 +02:00
|
|
|
Persistent slot, check after purging, id=min
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:200:PSA_KEY_ID_USER_MIN:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_PURGING
|
|
|
|
|
|
|
|
Persistent slot, check after purging and restarting, id=min
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:201:PSA_KEY_ID_USER_MIN:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_PURGING_WITH_SHUTDOWN
|
|
|
|
|
2019-05-28 15:06:43 +02:00
|
|
|
Persistent slot, check after restart with live handle, id=min
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:128:PSA_KEY_ID_USER_MIN:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_SHUTDOWN
|
2019-05-06 18:56:30 +02:00
|
|
|
|
|
|
|
Persistent slot, check after closing, id=max
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:129:PSA_KEY_ID_USER_MAX:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_CLOSING
|
2019-05-06 18:56:30 +02:00
|
|
|
|
|
|
|
Persistent slot, check after destroying, id=max
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:130:PSA_KEY_ID_USER_MAX:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_DESTROYING
|
2019-05-06 18:56:30 +02:00
|
|
|
|
2020-10-20 17:50:24 +02:00
|
|
|
Persistent slot, check after purging, id=max
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:202:PSA_KEY_ID_USER_MAX:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_PURGING
|
|
|
|
|
2019-05-06 18:56:30 +02:00
|
|
|
Persistent slot, check after restart, id=max
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:131:PSA_KEY_ID_USER_MAX:0:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":INVALIDATE_BY_SHUTDOWN
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-09-16 19:38:52 +02:00
|
|
|
Persistent slot: ECP keypair (ECDSA, exportable), close
|
2019-05-13 14:24:15 +02:00
|
|
|
depends_on:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:132:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_ECDSA_ANY:0:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_CLOSING
|
2019-05-13 14:24:15 +02:00
|
|
|
|
2019-09-16 19:38:52 +02:00
|
|
|
Persistent slot: ECP keypair (ECDSA, exportable), close+restart
|
2019-05-28 15:06:43 +02:00
|
|
|
depends_on:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:133:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_ECDSA_ANY:0:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_CLOSING_WITH_SHUTDOWN
|
2019-05-28 15:06:43 +02:00
|
|
|
|
2020-10-20 17:50:24 +02:00
|
|
|
Persistent slot: ECP keypair (ECDSA, exportable), purge
|
|
|
|
depends_on:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:132:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_ECDSA_ANY:0:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_PURGING
|
|
|
|
|
2019-09-16 19:38:52 +02:00
|
|
|
Persistent slot: ECP keypair (ECDSA, exportable), restart
|
2019-05-13 14:24:15 +02:00
|
|
|
depends_on:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:134:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_ECDSA_ANY:0:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_SHUTDOWN
|
2019-05-13 14:32:11 +02:00
|
|
|
|
2019-09-16 19:38:52 +02:00
|
|
|
Persistent slot: ECP keypair (ECDH+ECDSA, exportable), close
|
2019-05-13 14:32:11 +02:00
|
|
|
depends_on:MBEDTLS_ECDH_C:MBEDTLS_SHA256_C:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:135:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_KEY_AGREEMENT(PSA_ALG_ECDH, PSA_ALG_HKDF(PSA_ALG_SHA_256)):PSA_ALG_ECDSA_ANY:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_CLOSING
|
2019-05-13 14:32:11 +02:00
|
|
|
|
2019-09-16 19:38:52 +02:00
|
|
|
Persistent slot: ECP keypair (ECDH+ECDSA, exportable), close+restart
|
2019-05-28 15:06:43 +02:00
|
|
|
depends_on:MBEDTLS_ECDH_C:MBEDTLS_SHA256_C:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:136:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_KEY_AGREEMENT(PSA_ALG_ECDH, PSA_ALG_HKDF(PSA_ALG_SHA_256)):PSA_ALG_ECDSA_ANY:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_CLOSING_WITH_SHUTDOWN
|
2019-05-28 15:06:43 +02:00
|
|
|
|
2020-10-20 17:50:24 +02:00
|
|
|
Persistent slot: ECP keypair (ECDH+ECDSA, exportable), purge
|
|
|
|
depends_on:MBEDTLS_ECDH_C:MBEDTLS_SHA256_C:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:135:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_KEY_AGREEMENT(PSA_ALG_ECDH, PSA_ALG_HKDF(PSA_ALG_SHA_256)):PSA_ALG_ECDSA_ANY:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_PURGING
|
|
|
|
|
2019-09-16 19:38:52 +02:00
|
|
|
Persistent slot: ECP keypair (ECDH+ECDSA, exportable), restart
|
2019-05-13 14:32:11 +02:00
|
|
|
depends_on:MBEDTLS_ECDH_C:MBEDTLS_SHA256_C:MBEDTLS_ECDSA_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
2020-10-20 17:24:41 +02:00
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:137:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_KEY_AGREEMENT(PSA_ALG_ECDH, PSA_ALG_HKDF(PSA_ALG_SHA_256)):PSA_ALG_ECDSA_ANY:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c994131609b580d4fd43a0cab17db2f13eee":INVALIDATE_BY_SHUTDOWN
|
2019-05-13 14:24:15 +02:00
|
|
|
|
2019-01-19 12:20:52 +01:00
|
|
|
Attempt to overwrite: close before
|
2020-07-28 15:06:14 +02:00
|
|
|
create_existent:PSA_KEY_LIFETIME_PERSISTENT:0x1736:1:CLOSE_BEFORE
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-01-19 12:20:52 +01:00
|
|
|
Attempt to overwrite: close after
|
2020-07-28 15:06:14 +02:00
|
|
|
create_existent:PSA_KEY_LIFETIME_PERSISTENT:0x7361:1:CLOSE_AFTER
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-01-19 12:20:52 +01:00
|
|
|
Attempt to overwrite: keep open
|
2020-07-28 15:06:14 +02:00
|
|
|
create_existent:PSA_KEY_LIFETIME_PERSISTENT:0x3617:1:KEEP_OPEN
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2018-12-10 17:31:59 +01:00
|
|
|
Open failure: invalid identifier (0)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-09-17 13:58:00 +02:00
|
|
|
open_fail:0:PSA_ERROR_INVALID_HANDLE
|
2018-12-10 17:31:59 +01:00
|
|
|
|
|
|
|
Open failure: invalid identifier (random seed UID)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-09-17 13:58:00 +02:00
|
|
|
open_fail:PSA_CRYPTO_ITS_RANDOM_SEED_UID:PSA_ERROR_INVALID_HANDLE
|
2018-12-10 17:31:59 +01:00
|
|
|
|
2019-05-06 18:56:30 +02:00
|
|
|
Open failure: invalid identifier (reserved range)
|
2018-12-03 18:19:39 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-09-17 13:58:00 +02:00
|
|
|
open_fail:PSA_KEY_ID_VENDOR_MAX + 1:PSA_ERROR_INVALID_HANDLE
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2019-05-06 18:56:30 +02:00
|
|
|
Open failure: invalid identifier (implementation range)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
|
|
|
open_fail:PSA_KEY_ID_USER_MAX + 1:PSA_ERROR_DOES_NOT_EXIST
|
2018-11-30 18:53:28 +01:00
|
|
|
|
|
|
|
Open failure: non-existent identifier
|
2018-12-03 18:19:39 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-06 18:44:55 +02:00
|
|
|
open_fail:1:PSA_ERROR_DOES_NOT_EXIST
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2021-01-08 19:19:40 +01:00
|
|
|
Create failure: invalid lifetime for a persistent key
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
|
|
|
create_fail:0x7fffffff:1:PSA_ERROR_INVALID_ARGUMENT
|
|
|
|
|
|
|
|
Create failure: invalid lifetime for a volatile key
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
|
|
|
create_fail:0x7fffff00:0:PSA_ERROR_INVALID_ARGUMENT
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2021-01-08 19:19:40 +01:00
|
|
|
Create failure: invalid key id (0) for a persistent key
|
2018-12-10 17:31:59 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-09-17 13:58:00 +02:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:0:PSA_ERROR_INVALID_HANDLE
|
2018-12-10 17:31:59 +01:00
|
|
|
|
2020-10-23 17:11:13 +02:00
|
|
|
Create failure: invalid key id (1) for a volatile key
|
|
|
|
create_fail:PSA_KEY_LIFETIME_VOLATILE:1:PSA_ERROR_INVALID_ARGUMENT
|
|
|
|
|
2018-12-10 17:31:59 +01:00
|
|
|
Create failure: invalid key id (random seed UID)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-09-17 13:58:00 +02:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:PSA_CRYPTO_ITS_RANDOM_SEED_UID:PSA_ERROR_INVALID_HANDLE
|
2018-12-10 17:31:59 +01:00
|
|
|
|
2019-05-06 18:56:30 +02:00
|
|
|
Create failure: invalid key id (reserved range)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-09-17 13:58:00 +02:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_VENDOR_MAX + 1:PSA_ERROR_INVALID_HANDLE
|
2019-05-06 18:56:30 +02:00
|
|
|
|
|
|
|
Create failure: invalid key id (implementation range)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-09-17 13:58:00 +02:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MAX + 1:PSA_ERROR_INVALID_HANDLE
|
2019-05-06 18:56:30 +02:00
|
|
|
|
2018-12-03 18:19:39 +01:00
|
|
|
Open not supported
|
|
|
|
depends_on:!MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-06 18:44:55 +02:00
|
|
|
open_fail:1:PSA_ERROR_NOT_SUPPORTED
|
2018-12-03 18:19:39 +01:00
|
|
|
|
|
|
|
Create not supported
|
|
|
|
depends_on:!MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-01-19 12:20:52 +01:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_ERROR_NOT_SUPPORTED
|
2018-12-03 18:19:39 +01:00
|
|
|
|
2019-01-19 13:40:11 +01:00
|
|
|
Copy volatile to volatile
|
2020-07-28 15:06:14 +02:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_VOLATILE:0x10:0:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_VOLATILE:0x10:0:PSA_KEY_USAGE_EXPORT:0:0:PSA_KEY_USAGE_EXPORT:0:0
|
2019-01-19 13:40:11 +01:00
|
|
|
|
|
|
|
Copy volatile to persistent
|
2019-01-28 13:03:09 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-07-28 15:06:14 +02:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_VOLATILE:0x100:0:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_PERSISTENT:0x100:1:PSA_KEY_USAGE_EXPORT:0:0:PSA_KEY_USAGE_EXPORT:0:0
|
2019-01-19 13:40:11 +01:00
|
|
|
|
|
|
|
Copy persistent to volatile
|
2019-01-28 13:03:09 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-07-28 15:06:14 +02:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_PERSISTENT:0x1000:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_VOLATILE:0x1000:0:PSA_KEY_USAGE_EXPORT:0:0:PSA_KEY_USAGE_EXPORT:0:0
|
2019-01-19 13:40:11 +01:00
|
|
|
|
|
|
|
Copy persistent to persistent
|
2019-01-28 13:03:09 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2020-07-28 15:06:14 +02:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_PERSISTENT:0x10000:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_PERSISTENT:0x10000:2:PSA_KEY_USAGE_EXPORT:0:0:PSA_KEY_USAGE_EXPORT:0:0
|
2020-07-29 15:24:05 +02:00
|
|
|
|
|
|
|
Copy persistent to persistent, same id but different owner
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C:MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER
|
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_PERSISTENT:0x10000:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_PERSISTENT:0x10001:1:PSA_KEY_USAGE_EXPORT:0:0:PSA_KEY_USAGE_EXPORT:0:0
|
2019-01-28 13:03:09 +01:00
|
|
|
|
2019-05-20 18:03:39 +02:00
|
|
|
Copy persistent to persistent with enrollment algorithm
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CTR:MBEDTLS_CIPHER_MODE_CBC
|
2020-07-28 15:06:14 +02:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_PERSISTENT:0x100000:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:PSA_ALG_CTR:PSA_ALG_CBC_NO_PADDING:PSA_KEY_TYPE_AES:"404142434445464748494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:0x100000:2:PSA_KEY_USAGE_EXPORT:PSA_ALG_CTR:PSA_ALG_CBC_NO_PADDING:PSA_KEY_USAGE_EXPORT:PSA_ALG_CTR:PSA_ALG_CBC_NO_PADDING
|
2019-05-20 18:03:39 +02:00
|
|
|
|
2019-04-19 18:20:30 +02:00
|
|
|
Copy volatile to occupied
|
2019-01-28 13:03:09 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 14:24:49 +02:00
|
|
|
copy_to_occupied:PSA_KEY_LIFETIME_VOLATILE:0:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"404142434445464748494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:2:PSA_KEY_USAGE_EXPORT:PSA_ALG_CBC_NO_PADDING:PSA_KEY_TYPE_AES:"606162636465666768696a6b6c6d6e6f"
|
2019-01-28 13:03:09 +01:00
|
|
|
|
2019-04-19 18:20:30 +02:00
|
|
|
Copy persistent to occupied
|
2019-01-28 13:03:09 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 14:24:49 +02:00
|
|
|
copy_to_occupied:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"404142434445464748494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:2:PSA_KEY_USAGE_EXPORT:PSA_ALG_CBC_NO_PADDING:PSA_KEY_TYPE_AES:"606162636465666768696a6b6c6d6e6f"
|
2019-01-28 13:03:09 +01:00
|
|
|
|
2019-04-19 18:20:30 +02:00
|
|
|
Copy persistent to same
|
2019-01-28 13:03:09 +01:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 14:24:49 +02:00
|
|
|
copy_to_occupied:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"404142434445464748494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:1:PSA_KEY_USAGE_EXPORT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"404142434445464748494a4b4c4d4e4f"
|
2019-01-19 13:40:11 +01:00
|
|
|
|
2019-10-11 11:44:48 +02:00
|
|
|
invalid handle: 0
|
|
|
|
invalid_handle:INVALID_HANDLE_0:PSA_SUCCESS:PSA_ERROR_INVALID_HANDLE
|
|
|
|
|
|
|
|
invalid handle: never opened
|
2020-09-17 14:12:30 +02:00
|
|
|
invalid_handle:INVALID_HANDLE_UNOPENED:PSA_ERROR_DOES_NOT_EXIST:PSA_ERROR_DOES_NOT_EXIST
|
2019-10-11 11:44:48 +02:00
|
|
|
|
|
|
|
invalid handle: already closed
|
2020-09-17 14:12:30 +02:00
|
|
|
invalid_handle:INVALID_HANDLE_CLOSED:PSA_ERROR_DOES_NOT_EXIST:PSA_ERROR_DOES_NOT_EXIST
|
2019-10-11 11:44:48 +02:00
|
|
|
|
|
|
|
invalid handle: huge
|
|
|
|
invalid_handle:INVALID_HANDLE_HUGE:PSA_ERROR_INVALID_HANDLE:PSA_ERROR_INVALID_HANDLE
|
2018-11-30 18:53:28 +01:00
|
|
|
|
2020-08-04 14:58:35 +02:00
|
|
|
Open many transient keys
|
|
|
|
many_transient_keys:42
|
2020-10-21 09:04:34 +02:00
|
|
|
|
2020-11-10 18:08:03 +01:00
|
|
|
# Eviction from a key slot to be able to import a new persistent key.
|
|
|
|
Key slot eviction to import a new persistent key
|
2020-10-21 09:04:34 +02:00
|
|
|
key_slot_eviction_to_import_new_key:PSA_KEY_LIFETIME_PERSISTENT
|
|
|
|
|
|
|
|
# Eviction from a key slot to be able to import a new volatile key.
|
|
|
|
Key slot eviction to import a new volatile key
|
|
|
|
key_slot_eviction_to_import_new_key:PSA_KEY_LIFETIME_VOLATILE
|
|
|
|
|
|
|
|
# Check that non reusable key slots are not deleted/overwritten in case of key
|
|
|
|
# slot starvation:
|
2020-11-10 18:08:03 +01:00
|
|
|
# . An attempt to access a persistent key while all RAM key slots are occupied
|
2020-10-21 09:04:34 +02:00
|
|
|
# by volatile keys fails and does not lead to volatile key data to be
|
|
|
|
# spoiled.
|
2020-11-10 18:08:03 +01:00
|
|
|
# . With all key slot in use with one containing a persistent key, an attempt
|
|
|
|
# to copy the persistent key fails (the persistent key slot cannot be
|
|
|
|
# reclaimed as it is accessed by the copy process) without the persistent key
|
|
|
|
# data and volatile key data being spoiled.
|
2020-10-21 09:04:34 +02:00
|
|
|
Non reusable key slots integrity in case of key slot starvation
|
|
|
|
non_reusable_key_slots_integrity_in_case_of_key_slot_starvation
|