mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 10:05:40 +01:00
21f37cbbec
Adjust code to handle and work with MBEDTLS_ENTROPY_BLOCK_SIZE definition option
16 lines
800 B
Plaintext
16 lines
800 B
Plaintext
PSA validate entropy injection: good, minimum size
|
|
validate_entropy_seed_injection:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_ERROR_NOT_PERMITTED
|
|
|
|
PSA validate entropy injection: good, max size
|
|
validate_entropy_seed_injection:MBEDTLS_ENTROPY_MAX_SEED_SIZE:PSA_SUCCESS:MBEDTLS_ENTROPY_MAX_SEED_SIZE:PSA_ERROR_NOT_PERMITTED
|
|
|
|
PSA validate entropy injection: bad, too big
|
|
validate_entropy_seed_injection:MBEDTLS_ENTROPY_MAX_SEED_SIZE+1:PSA_ERROR_INVALID_ARGUMENT:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS
|
|
|
|
PSA validate entropy injection: bad, too small
|
|
validate_entropy_seed_injection:MBEDTLS_ENTROPY_BLOCK_SIZE-1:PSA_ERROR_INVALID_ARGUMENT:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS
|
|
|
|
PSA validate entropy injection: before and after crypto_init
|
|
run_entropy_inject_with_crypto_init:
|
|
|