Searched refs:MBEDTLS_ENTROPY_BLOCK_SIZE (Results 1 – 14 of 14) sorted by relevance
/mbedtls-latest/tests/suites/ |
D | test_suite_entropy.function | 68 static unsigned char buffer_seed[MBEDTLS_ENTROPY_BLOCK_SIZE]; 72 if (buf_len != MBEDTLS_ENTROPY_BLOCK_SIZE) { 76 memcpy(buf, buffer_seed, MBEDTLS_ENTROPY_BLOCK_SIZE); 82 if (buf_len != MBEDTLS_ENTROPY_BLOCK_SIZE) { 86 memcpy(buffer_seed, buf, MBEDTLS_ENTROPY_BLOCK_SIZE); 99 if (buf_len != MBEDTLS_ENTROPY_BLOCK_SIZE) { 107 if (fwrite(buf, 1, MBEDTLS_ENTROPY_BLOCK_SIZE, f) != 108 MBEDTLS_ENTROPY_BLOCK_SIZE) { 123 if (buf_len != MBEDTLS_ENTROPY_BLOCK_SIZE) { 131 if (fread(buf, 1, MBEDTLS_ENTROPY_BLOCK_SIZE, f) != [all …]
|
D | test_suite_psa_crypto_init.data | 38 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:0:0:0:PSA_ERROR_INSUFFICIENT_ENTROPY 41 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:-1:-1:-1:PSA_ERROR_IN… 45 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:ENTROPY_NONCE_LEN - 1:-1:-1:-1:PSA_ERROR_INSUFFICIEN… 49 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:0:0:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS 53 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:1:-1:-1:PSA_SUCCESS 57 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:MBEDTLS_ENTROPY_BLOCK… 60 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK… 66 entropy_from_nv_seed:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:PSA_ERROR_INSUFFICIENT_ENTROPY
|
D | test_suite_entropy.data | 56 entropy_calls:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:… 59 …ropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:1 62 …alls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2 65 …ropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:1:MBEDTLS_ENTROPY_BLOCK_SIZE 68 …NTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_BLOCK_SIZE+1:MBEDTLS_ENTROPY_BLOC… 71 …OPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:(MBEDTLS_ENTROPY_BL…
|
D | test_suite_psa_crypto_entropy.data | 40 PSA validate entropy injection: bad, too small using MBEDTLS_ENTROPY_BLOCK_SIZE 41 validate_entropy_seed_injection:MBEDTLS_ENTROPY_BLOCK_SIZE-1:PSA_ERROR_INVALID_ARGUMENT:MBEDTLS_PSA…
|
D | test_suite_psa_crypto_init.function | 29 MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, MBEDTLS_ENTROPY_BLOCK_SIZE) 114 MBEDTLS_ENTROPY_BLOCK_SIZE,
|
D | test_suite_psa_crypto_entropy.function | 12 MBEDTLS_ENTROPY_BLOCK_SIZE)
|
/mbedtls-latest/library/ |
D | entropy.c | 55 MBEDTLS_ENTROPY_BLOCK_SIZE, in mbedtls_entropy_init() 128 unsigned char tmp[MBEDTLS_ENTROPY_BLOCK_SIZE]; in entropy_update() 133 if (use_len > MBEDTLS_ENTROPY_BLOCK_SIZE) { in entropy_update() 139 use_len = MBEDTLS_ENTROPY_BLOCK_SIZE; in entropy_update() 275 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_func() 277 if (len > MBEDTLS_ENTROPY_BLOCK_SIZE) { in mbedtls_entropy_func() 322 } while (!thresholds_reached || strong_size < MBEDTLS_ENTROPY_BLOCK_SIZE); in mbedtls_entropy_func() 324 memset(buf, 0, MBEDTLS_ENTROPY_BLOCK_SIZE); in mbedtls_entropy_func() 350 MBEDTLS_ENTROPY_BLOCK_SIZE)) != 0) { in mbedtls_entropy_func() 358 buf, MBEDTLS_ENTROPY_BLOCK_SIZE, buf)) != 0) { in mbedtls_entropy_func() [all …]
|
D | entropy_poll.c | 210 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_nv_seed_poll() 211 size_t use_len = MBEDTLS_ENTROPY_BLOCK_SIZE; in mbedtls_nv_seed_poll() 214 memset(buf, 0, MBEDTLS_ENTROPY_BLOCK_SIZE); in mbedtls_nv_seed_poll() 216 if (mbedtls_nv_seed_read(buf, MBEDTLS_ENTROPY_BLOCK_SIZE) < 0) { in mbedtls_nv_seed_poll()
|
D | psa_crypto.c | 7798 MBEDTLS_ENTROPY_BLOCK_SIZE, 7863 (seed_size < MBEDTLS_ENTROPY_BLOCK_SIZE)) ||
|
/mbedtls-latest/programs/test/ |
D | selftest.c | 218 unsigned char seed_value[MBEDTLS_ENTROPY_BLOCK_SIZE]; in create_entropy_seed_file() 223 MBEDTLS_ENTROPY_BLOCK_SIZE); in create_entropy_seed_file() 230 MBEDTLS_ENTROPY_BLOCK_SIZE, in create_entropy_seed_file() 236 if (MBEDTLS_ENTROPY_BLOCK_SIZE != output_len) { in create_entropy_seed_file() 240 mbedtls_platform_std_nv_seed_write(seed_value, MBEDTLS_ENTROPY_BLOCK_SIZE); in create_entropy_seed_file()
|
/mbedtls-latest/include/mbedtls/ |
D | entropy.h | 24 #define MBEDTLS_ENTROPY_BLOCK_SIZE 64 /**< Block size of entropy accumulator (SHA-512) */ macro 29 #define MBEDTLS_ENTROPY_BLOCK_SIZE 32 /**< Block size of entropy accumulator (SHA-256) */ macro
|
/mbedtls-latest/programs/random/ |
D | gen_entropy.c | 33 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in main()
|
/mbedtls-latest/tests/src/ |
D | psa_crypto_helpers.c | 191 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_test_inject_entropy_restore()
|
/mbedtls-latest/ |
D | ChangeLog | 2735 MBEDTLS_ENTROPY_BLOCK_SIZE bytes or more from strong sources. In the
|