2018-11-30 17:53:28 +00:00
|
|
|
Transient slot, check after closing
|
2019-01-19 11:20:52 +00:00
|
|
|
transient_slot_lifecycle:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_CLOSE
|
2018-11-30 17:53:28 +00:00
|
|
|
|
|
|
|
Transient slot, check after destroying
|
2019-01-19 11:20:52 +00:00
|
|
|
transient_slot_lifecycle:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_DESTROY
|
2018-11-30 17:53:28 +00:00
|
|
|
|
|
|
|
Transient slot, check after restart
|
2019-01-19 11:20:52 +00:00
|
|
|
transient_slot_lifecycle:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_SHUTDOWN
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2019-05-06 16:56:30 +00:00
|
|
|
Persistent slot, check after closing, id=min
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MIN:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_CLOSE
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2019-05-06 16:56:30 +00:00
|
|
|
Persistent slot, check after destroying, id=min
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MIN:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_DESTROY
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2019-05-06 16:56:30 +00:00
|
|
|
Persistent slot, check after restart, id=min
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MIN:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_SHUTDOWN
|
|
|
|
|
|
|
|
Persistent slot, check after closing, id=max
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MAX:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_CLOSE
|
|
|
|
|
|
|
|
Persistent slot, check after destroying, id=max
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MAX:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_DESTROY
|
|
|
|
|
|
|
|
Persistent slot, check after restart, id=max
|
|
|
|
persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MAX:0:0:PSA_KEY_TYPE_RAW_DATA:"0123456789abcdef0123456789abcdef":CLOSE_BY_SHUTDOWN
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2019-01-19 11:20:52 +00:00
|
|
|
Attempt to overwrite: close before
|
|
|
|
create_existent:PSA_KEY_LIFETIME_PERSISTENT:1:CLOSE_BEFORE
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2019-01-19 11:20:52 +00:00
|
|
|
Attempt to overwrite: close after
|
|
|
|
create_existent:PSA_KEY_LIFETIME_PERSISTENT:1:CLOSE_AFTER
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2019-01-19 11:20:52 +00:00
|
|
|
Attempt to overwrite: keep open
|
|
|
|
create_existent:PSA_KEY_LIFETIME_PERSISTENT:1:KEEP_OPEN
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2018-12-10 16:31:59 +00:00
|
|
|
Open failure: invalid identifier (0)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-15 16:42:09 +00:00
|
|
|
open_fail:0:PSA_ERROR_INVALID_ARGUMENT
|
2018-12-10 16:31:59 +00:00
|
|
|
|
|
|
|
Open failure: invalid identifier (random seed UID)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-06 16:44:55 +00:00
|
|
|
open_fail:PSA_CRYPTO_ITS_RANDOM_SEED_UID:PSA_ERROR_INVALID_ARGUMENT
|
2018-12-10 16:31:59 +00:00
|
|
|
|
2019-05-06 16:56:30 +00:00
|
|
|
Open failure: invalid identifier (reserved range)
|
2018-12-03 17:19:39 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-06 16:56:30 +00:00
|
|
|
open_fail:PSA_KEY_ID_VENDOR_MAX + 1:PSA_ERROR_INVALID_ARGUMENT
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2019-05-06 16:56:30 +00: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 17:53:28 +00:00
|
|
|
|
|
|
|
Open failure: non-existent identifier
|
2018-12-03 17:19:39 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-06 16:44:55 +00:00
|
|
|
open_fail:1:PSA_ERROR_DOES_NOT_EXIST
|
2018-11-30 17:53:28 +00:00
|
|
|
|
|
|
|
Create failure: invalid lifetime
|
2019-01-19 11:20:52 +00:00
|
|
|
create_fail:0x7fffffff:0:PSA_ERROR_INVALID_ARGUMENT
|
2018-11-30 17:53:28 +00:00
|
|
|
|
2018-12-10 16:31:59 +00:00
|
|
|
Create failure: invalid key id (0)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-01-19 11:20:52 +00:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:0:PSA_ERROR_INVALID_ARGUMENT
|
2018-12-10 16:31:59 +00:00
|
|
|
|
|
|
|
Create failure: invalid key id (random seed UID)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-01-19 11:20:52 +00:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:PSA_CRYPTO_ITS_RANDOM_SEED_UID:PSA_ERROR_INVALID_ARGUMENT
|
2018-12-10 16:31:59 +00:00
|
|
|
|
2019-05-06 16:56:30 +00:00
|
|
|
Create failure: invalid key id (reserved range)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_VENDOR_MAX + 1:PSA_ERROR_INVALID_ARGUMENT
|
|
|
|
|
|
|
|
Create failure: invalid key id (implementation range)
|
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_ID_USER_MAX + 1:PSA_ERROR_INVALID_ARGUMENT
|
|
|
|
|
2018-12-03 17:19:39 +00:00
|
|
|
Open not supported
|
|
|
|
depends_on:!MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-06 16:44:55 +00:00
|
|
|
open_fail:1:PSA_ERROR_NOT_SUPPORTED
|
2018-12-03 17:19:39 +00:00
|
|
|
|
|
|
|
Create not supported
|
|
|
|
depends_on:!MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-01-19 11:20:52 +00:00
|
|
|
create_fail:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_ERROR_NOT_SUPPORTED
|
2018-12-03 17:19:39 +00:00
|
|
|
|
2019-01-19 12:40:11 +00:00
|
|
|
Copy volatile to volatile
|
2019-05-14 12:24:49 +00:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_VOLATILE:0:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_VOLATILE:0:PSA_KEY_USAGE_EXPORT:0:PSA_KEY_USAGE_EXPORT:0
|
2019-01-19 12:40:11 +00:00
|
|
|
|
|
|
|
Copy volatile to persistent
|
2019-01-28 12:03:09 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 12:24:49 +00:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_VOLATILE:0:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_PERSISTENT:1:PSA_KEY_USAGE_EXPORT:0:PSA_KEY_USAGE_EXPORT:0
|
2019-01-19 12:40:11 +00:00
|
|
|
|
|
|
|
Copy persistent to volatile
|
2019-01-28 12:03:09 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 12:24:49 +00:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_VOLATILE:0:PSA_KEY_USAGE_EXPORT:0:PSA_KEY_USAGE_EXPORT:0
|
2019-01-19 12:40:11 +00:00
|
|
|
|
|
|
|
Copy persistent to persistent
|
2019-01-28 12:03:09 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 12:24:49 +00:00
|
|
|
copy_across_lifetimes:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_PERSISTENT:2:PSA_KEY_USAGE_EXPORT:0:PSA_KEY_USAGE_EXPORT:0
|
2019-01-28 12:03:09 +00:00
|
|
|
|
2019-04-19 16:20:30 +00:00
|
|
|
Copy volatile to occupied
|
2019-01-28 12:03:09 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 12:24:49 +00: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 12:03:09 +00:00
|
|
|
|
2019-04-19 16:20:30 +00:00
|
|
|
Copy persistent to occupied
|
2019-01-28 12:03:09 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 12:24:49 +00: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 12:03:09 +00:00
|
|
|
|
2019-04-19 16:20:30 +00:00
|
|
|
Copy persistent to same
|
2019-01-28 12:03:09 +00:00
|
|
|
depends_on:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
2019-05-14 12:24:49 +00: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 12:40:11 +00:00
|
|
|
|
2018-11-30 17:53:28 +00:00
|
|
|
Close/destroy invalid handle
|
|
|
|
invalid_handle:
|
|
|
|
|
|
|
|
Open many transient handles
|
|
|
|
many_transient_handles:42
|