Home
last modified time | relevance | path

Searched refs:rng_get (Results 1 – 9 of 9) sorted by relevance

/external/mbedtls/programs/ssl/
Dssl_test_lib.h207 int rng_get( void *p_rng, unsigned char *output, size_t output_len );
Dssl_server2.c814 mbedtls_pk_parse_keyfile( new->key, key_file, "", rng_get, &rng ) != 0 ) in sni_parse()
1168 rng_get, &rng ) == 0 ) in ssl_async_start()
2701 opt.key_pwd, rng_get, &rng ) ) != 0 ) in main()
2727 opt.key_pwd2, rng_get, &rng ) ) != 0 ) in main()
2759 rng_get, &rng ) ) != 0 ) in main()
2779 rng_get, &rng ) ) != 0 ) in main()
3028 mbedtls_ssl_conf_rng( &conf, rng_get, &rng ); in main()
3060 rng_get, &rng, in main()
3085 if( ( ret = rng_get( &rng, name, sizeof( name ) ) ) != 0 || in main()
3086 ( ret = rng_get( &rng, kbuf, sizeof( kbuf ) ) ) != 0 || in main()
[all …]
Dssl_test_lib.c176 int rng_get( void *p_rng, unsigned char *output, size_t output_len ) in rng_get() function
Dssl_client2.c1836 ret = mbedtls_pk_parse_keyfile( &pkey, opt.key_file, opt.key_pwd, rng_get, &rng ); in main()
1841 mbedtls_test_cli_key_len, NULL, 0, rng_get, &rng ); in main()
2023 mbedtls_ssl_conf_rng( &conf, rng_get, &rng ); in main()
/external/openthread/third_party/mbedtls/repo/programs/ssl/
Dssl_test_lib.h229 int rng_get( void *p_rng, unsigned char *output, size_t output_len );
Dssl_test_lib.c172 int rng_get( void *p_rng, unsigned char *output, size_t output_len ) in rng_get() function
Dssl_server2.c2697 mbedtls_ssl_conf_rng( &conf, rng_get, &rng ); in main()
2716 rng_get, &rng, in main()
2738 rng_get, &rng ) ) != 0 ) in main()
2890 ssl_async_keys.f_rng = rng_get; in main()
Dssl_client2.c1895 mbedtls_ssl_conf_rng( &conf, rng_get, &rng ); in main()
/external/mbedtls/tests/suites/
Dtest_suite_ssl.function36 static int rng_get( void *p_rng, unsigned char *output, size_t output_len )
1028 mbedtls_ssl_conf_rng( &( ep->conf ), rng_get, NULL );