Searched refs:rng (Results 1 – 6 of 6) sorted by relevance
/mbedtls-development/programs/ssl/ |
A D | ssl_test_lib.c | 72 void rng_init( rng_context_t *rng ) in rng_init() argument 75 (void) rng; in rng_init() 80 mbedtls_ctr_drbg_init( &rng->drbg ); in rng_init() 82 mbedtls_hmac_drbg_init( &rng->drbg ); in rng_init() 87 mbedtls_entropy_init( &rng->entropy ); in rng_init() 103 (void) rng; in rng_seed() 152 void rng_free( rng_context_t *rng ) in rng_free() argument 155 (void) rng; in rng_free() 163 mbedtls_ctr_drbg_free( &rng->drbg ); in rng_free() 165 mbedtls_hmac_drbg_free( &rng->drbg ); in rng_free() [all …]
|
A D | ssl_test_lib.h | 183 void rng_init( rng_context_t *rng ); 199 int rng_seed( rng_context_t *rng, int reproducible, const char *pers ); 206 void rng_free( rng_context_t *rng );
|
A D | ssl_server2.c | 553 rng_context_t rng; variable 1080 rng_get, &rng ) == 0 ) in ssl_async_start() 1411 rng_init( &rng ); in main() 2327 ret = rng_seed( &rng, opt.reproducible, pers ); in main() 2460 rng_get, &rng ) ) != 0 ) in main() 2480 rng_get, &rng ) ) != 0 ) in main() 2690 mbedtls_ssl_conf_rng( &conf, rng_get, &rng ); in main() 2709 rng_get, &rng, in main() 2731 rng_get, &rng ) ) != 0 ) in main() 2865 ssl_async_keys.p_rng = &rng; in main() [all …]
|
A D | ssl_client2.c | 701 rng_context_t rng; in main() local 758 rng_init( &rng ); in main() 1583 ret = rng_seed( &rng, opt.reproducible, pers ); in main() 1669 ret = mbedtls_pk_parse_keyfile( &pkey, opt.key_file, opt.key_pwd, rng_get, &rng ); in main() 1674 mbedtls_test_cli_key_len, NULL, 0, rng_get, &rng ); in main() 1843 mbedtls_ssl_conf_rng( &conf, rng_get, &rng ); in main() 3051 rng_free( &rng ); in main()
|
/mbedtls-development/library/ |
A D | psa_crypto.c | 106 mbedtls_psa_random_context_t rng; member 115 &global_data.rng.drbg; 5455 memset( rng, 0, sizeof( *rng ) ); in mbedtls_psa_random_init() 5460 if( rng->entropy_init == NULL ) in mbedtls_psa_random_init() 5462 if( rng->entropy_free == NULL ) in mbedtls_psa_random_init() 5465 rng->entropy_init( &rng->entropy ); in mbedtls_psa_random_init() 5470 mbedtls_entropy_add_source( &rng->entropy, in mbedtls_psa_random_init() 5485 memset( rng, 0, sizeof( *rng ) ); in mbedtls_psa_random_free() 5488 rng->entropy_free( &rng->entropy ); in mbedtls_psa_random_free() 5498 (void) rng; in mbedtls_psa_random_seed() [all …]
|
/mbedtls-development/tests/suites/ |
A D | test_suite_ecp.data | 695 ECP point multiplication rng fail secp256r1 699 ECP point multiplication rng fail Curve25519
|
Completed in 29 milliseconds