1a8e1175bSopenharmony_ciCreate NV seed file 2a8e1175bSopenharmony_cicreate_nv_seed: 3a8e1175bSopenharmony_ci 4a8e1175bSopenharmony_ciPSA init/deinit 5a8e1175bSopenharmony_ciinit_deinit:2 6a8e1175bSopenharmony_ci 7a8e1175bSopenharmony_ciPSA deinit without init 8a8e1175bSopenharmony_cideinit_without_init:0 9a8e1175bSopenharmony_ci 10a8e1175bSopenharmony_ciPSA deinit twice 11a8e1175bSopenharmony_cideinit_without_init:1 12a8e1175bSopenharmony_ci 13a8e1175bSopenharmony_ciPSA threaded init checks 14a8e1175bSopenharmony_cipsa_threaded_init:100 15a8e1175bSopenharmony_ci 16a8e1175bSopenharmony_ciNo random without init 17a8e1175bSopenharmony_civalidate_module_init_generate_random:0 18a8e1175bSopenharmony_ci 19a8e1175bSopenharmony_ciNo key slot access without init 20a8e1175bSopenharmony_civalidate_module_init_key_based:0 21a8e1175bSopenharmony_ci 22a8e1175bSopenharmony_ciNo random after deinit 23a8e1175bSopenharmony_civalidate_module_init_generate_random:1 24a8e1175bSopenharmony_ci 25a8e1175bSopenharmony_ciNo key slot access after deinit 26a8e1175bSopenharmony_civalidate_module_init_key_based:1 27a8e1175bSopenharmony_ci 28a8e1175bSopenharmony_ciCustom entropy sources: all standard 29a8e1175bSopenharmony_cicustom_entropy_sources:0x0000ffff:PSA_SUCCESS 30a8e1175bSopenharmony_ci 31a8e1175bSopenharmony_ci# MBEDTLS_PSA_INJECT_ENTROPY means that a source of entropy (the seed file) 32a8e1175bSopenharmony_ci# is effectively always available. 33a8e1175bSopenharmony_ciCustom entropy sources: none 34a8e1175bSopenharmony_cidepends_on:!MBEDTLS_PSA_INJECT_ENTROPY 35a8e1175bSopenharmony_cicustom_entropy_sources:0:PSA_ERROR_INSUFFICIENT_ENTROPY 36a8e1175bSopenharmony_ci 37a8e1175bSopenharmony_ciFake entropy: never returns anything 38a8e1175bSopenharmony_cifake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:0:0:0:PSA_ERROR_INSUFFICIENT_ENTROPY 39a8e1175bSopenharmony_ci 40a8e1175bSopenharmony_ciFake entropy: less than the block size 41a8e1175bSopenharmony_cifake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:-1:-1:-1:PSA_ERROR_INSUFFICIENT_ENTROPY 42a8e1175bSopenharmony_ci 43a8e1175bSopenharmony_ciFake entropy: not enough for a nonce 44a8e1175bSopenharmony_cidepends_on:ENTROPY_NONCE_LEN != 0 45a8e1175bSopenharmony_cifake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:ENTROPY_NONCE_LEN - 1:-1:-1:-1:PSA_ERROR_INSUFFICIENT_ENTROPY 46a8e1175bSopenharmony_ci 47a8e1175bSopenharmony_ciFake entropy: one block eventually 48a8e1175bSopenharmony_cidepends_on:ENTROPY_NONCE_LEN == 0 49a8e1175bSopenharmony_cifake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:0:0:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS 50a8e1175bSopenharmony_ci 51a8e1175bSopenharmony_ciFake entropy: one block in two steps 52a8e1175bSopenharmony_cidepends_on:ENTROPY_NONCE_LEN == 0 53a8e1175bSopenharmony_cifake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:1:-1:-1:PSA_SUCCESS 54a8e1175bSopenharmony_ci 55a8e1175bSopenharmony_ciFake entropy: more than one block in two steps 56a8e1175bSopenharmony_cidepends_on:ENTROPY_NONCE_LEN == 0 57a8e1175bSopenharmony_cifake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:-1:-1:PSA_SUCCESS 58a8e1175bSopenharmony_ci 59a8e1175bSopenharmony_ciFake entropy: two blocks eventually 60a8e1175bSopenharmony_cifake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS 61a8e1175bSopenharmony_ci 62a8e1175bSopenharmony_ciNV seed only: less than minimum 63a8e1175bSopenharmony_cientropy_from_nv_seed:MBEDTLS_ENTROPY_MIN_PLATFORM - 1:PSA_ERROR_INSUFFICIENT_ENTROPY 64a8e1175bSopenharmony_ci 65a8e1175bSopenharmony_ciNV seed only: less than one block 66a8e1175bSopenharmony_cientropy_from_nv_seed:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:PSA_ERROR_INSUFFICIENT_ENTROPY 67a8e1175bSopenharmony_ci 68a8e1175bSopenharmony_ciNV seed only: just enough 69a8e1175bSopenharmony_cientropy_from_nv_seed:ENTROPY_MIN_NV_SEED_SIZE:PSA_SUCCESS 70a8e1175bSopenharmony_ci 71a8e1175bSopenharmony_ciRecreate NV seed file 72a8e1175bSopenharmony_cicreate_nv_seed: 73