2019-06-24 13:47:24 +02:00
|
|
|
Register SE driver: good
|
|
|
|
register_one:2:PSA_DRV_SE_HAL_VERSION:PSA_SUCCESS
|
2019-06-24 14:34:59 +02:00
|
|
|
|
|
|
|
# Run this test case a second time to verify that the library deinit
|
|
|
|
# unregistered the first driver.
|
|
|
|
Register SE driver: good, again
|
|
|
|
register_one:2:PSA_DRV_SE_HAL_VERSION:PSA_SUCCESS
|
|
|
|
|
2019-06-26 11:50:30 +02:00
|
|
|
Register SE driver: invalid lifetime (0)
|
|
|
|
register_one:0:PSA_DRV_SE_HAL_VERSION:PSA_ERROR_INVALID_ARGUMENT
|
|
|
|
|
2019-06-24 14:34:59 +02:00
|
|
|
Register SE driver: invalid lifetime (VOLATILE)
|
|
|
|
register_one:PSA_KEY_LIFETIME_VOLATILE:PSA_DRV_SE_HAL_VERSION:PSA_ERROR_INVALID_ARGUMENT
|
|
|
|
|
|
|
|
Register SE driver: invalid lifetime (PERSISTENT)
|
2019-06-26 11:50:30 +02:00
|
|
|
register_one:PSA_KEY_LIFETIME_PERSISTENT:PSA_DRV_SE_HAL_VERSION:PSA_ERROR_INVALID_ARGUMENT
|
2019-06-24 14:34:59 +02:00
|
|
|
|
2019-06-24 19:58:12 +02:00
|
|
|
Register SE driver: invalid version (ancient)
|
|
|
|
register_one:2:0x00000003:PSA_ERROR_NOT_SUPPORTED
|
|
|
|
|
|
|
|
Register SE driver: invalid version (future)
|
|
|
|
register_one:2:PSA_DRV_SE_HAL_VERSION + 1:PSA_ERROR_NOT_SUPPORTED
|
2019-06-24 14:34:59 +02:00
|
|
|
|
|
|
|
Register SE driver: already registered
|
|
|
|
register_twice:3
|
|
|
|
|
|
|
|
Register SE driver: maximum number of drivers
|
|
|
|
register_max:
|