Lines Matching refs:mbedtls_entropy_context
69 void mbedtls_entropy_init( mbedtls_entropy_context *ctx ) in mbedtls_entropy_init()
71 memset( ctx, 0, sizeof(mbedtls_entropy_context) ); in mbedtls_entropy_init()
120 void mbedtls_entropy_free( mbedtls_entropy_context *ctx ) in mbedtls_entropy_free()
128 mbedtls_zeroize( ctx, sizeof( mbedtls_entropy_context ) ); in mbedtls_entropy_free()
131 int mbedtls_entropy_add_source( mbedtls_entropy_context *ctx, in mbedtls_entropy_add_source()
168 static int entropy_update( mbedtls_entropy_context *ctx, unsigned char source_id, in entropy_update()
201 int mbedtls_entropy_update_manual( mbedtls_entropy_context *ctx, in mbedtls_entropy_update_manual()
224 static int entropy_gather_internal( mbedtls_entropy_context *ctx ) in entropy_gather_internal()
267 int mbedtls_entropy_gather( mbedtls_entropy_context *ctx ) in mbedtls_entropy_gather()
289 mbedtls_entropy_context *ctx = (mbedtls_entropy_context *) data; in mbedtls_entropy_func()
382 int mbedtls_entropy_update_nv_seed( mbedtls_entropy_context *ctx ) in mbedtls_entropy_update_nv_seed()
403 int mbedtls_entropy_write_seed_file( mbedtls_entropy_context *ctx, const char *path ) in mbedtls_entropy_write_seed_file()
428 int mbedtls_entropy_update_seed_file( mbedtls_entropy_context *ctx, const char *path ) in mbedtls_entropy_update_seed_file()
582 mbedtls_entropy_context ctx; in mbedtls_entropy_self_test()