5e76952235
Add a function to configure entropy sources. For testing only. Use it to test that the library initialization fails properly if there is no entropy source.
26 lines
545 B
Text
26 lines
545 B
Text
PSA init/deinit
|
|
init_deinit:2
|
|
|
|
PSA deinit without init
|
|
deinit_without_init:0
|
|
|
|
PSA deinit twice
|
|
deinit_without_init:1
|
|
|
|
No random without init
|
|
validate_module_init_generate_random:0
|
|
|
|
No key slot access without init
|
|
validate_module_init_key_based:0
|
|
|
|
No random after deinit
|
|
validate_module_init_generate_random:1
|
|
|
|
No key slot access after deinit
|
|
validate_module_init_key_based:1
|
|
|
|
Custom entropy sources: all standard
|
|
custom_entropy_sources:0x0000ffff:PSA_SUCCESS
|
|
|
|
Custom entropy sources: none
|
|
custom_entropy_sources:0:PSA_ERROR_INSUFFICIENT_ENTROPY
|