Home
last modified time | relevance | path

Searched refs:MBEDTLS_ENTROPY_BLOCK_SIZE (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/mbedtls/library/
A Dentropy.c115 MBEDTLS_ENTROPY_BLOCK_SIZE, in mbedtls_entropy_init()
184 unsigned char tmp[MBEDTLS_ENTROPY_BLOCK_SIZE]; in entropy_update()
189 if( use_len > MBEDTLS_ENTROPY_BLOCK_SIZE ) in entropy_update()
199 use_len = MBEDTLS_ENTROPY_BLOCK_SIZE; in entropy_update()
330 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_func()
332 if( len > MBEDTLS_ENTROPY_BLOCK_SIZE ) in mbedtls_entropy_func()
373 memset( buf, 0, MBEDTLS_ENTROPY_BLOCK_SIZE ); in mbedtls_entropy_func()
446 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_update_nv_seed()
456 memset( buf, 0, MBEDTLS_ENTROPY_BLOCK_SIZE ); in mbedtls_entropy_update_nv_seed()
468 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_write_seed_file()
[all …]
A Dentropy_poll.c224 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_nv_seed_poll()
225 size_t use_len = MBEDTLS_ENTROPY_BLOCK_SIZE; in mbedtls_nv_seed_poll()
228 memset( buf, 0, MBEDTLS_ENTROPY_BLOCK_SIZE ); in mbedtls_nv_seed_poll()
230 if( mbedtls_nv_seed_read( buf, MBEDTLS_ENTROPY_BLOCK_SIZE ) < 0 ) in mbedtls_nv_seed_poll()
/AliOS-Things-master/components/mbedtls/programs/test/
A Dselftest.c133 unsigned char seed_value[MBEDTLS_ENTROPY_BLOCK_SIZE]; in create_entropy_seed_file()
138 MBEDTLS_ENTROPY_BLOCK_SIZE ); in create_entropy_seed_file()
144 MBEDTLS_ENTROPY_BLOCK_SIZE, in create_entropy_seed_file()
149 if( MBEDTLS_ENTROPY_BLOCK_SIZE != output_len ) in create_entropy_seed_file()
152 mbedtls_platform_std_nv_seed_write( seed_value, MBEDTLS_ENTROPY_BLOCK_SIZE ); in create_entropy_seed_file()
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dentropy.h78 #define MBEDTLS_ENTROPY_BLOCK_SIZE 64 /**< Block size of entropy accumulator (SHA-512) */ macro
80 #define MBEDTLS_ENTROPY_BLOCK_SIZE 32 /**< Block size of entropy accumulator (SHA-256) */ macro
A Dcompat-1.3.h701 #define ENTROPY_BLOCK_SIZE MBEDTLS_ENTROPY_BLOCK_SIZE
A Dconfig.h.bak1138 * least MBEDTLS_ENTROPY_BLOCK_SIZE bytes in size that can be read from
1140 * implementation will only use the first MBEDTLS_ENTROPY_BLOCK_SIZE
/AliOS-Things-master/components/mbedtls/programs/random/
A Dgen_entropy.c72 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in main()

Completed in 23 milliseconds