Searched refs:hostap_rng_ctx (Results 1 – 2 of 2) sorted by relevance
/hostap-latest/src/crypto/ |
D | crypto_mbedtls_alt.c | 229 void *hostap_rng_ctx(void) in hostap_rng_ctx() function 1223 …return mbedtls_mpi_random((mbedtls_mpi *)r, 0, (mbedtls_mpi *)m, hostap_rng_fn, hostap_rng_ctx()) ? in crypto_bignum_rand() 1451 … mbedtls_dhm_make_public(ctx, (int)prime_len, pubkey, prime_len, hostap_rng_fn, hostap_rng_ctx())) in crypto_mbedtls_dh_init_public() 1516 mbedtls_dhm_calc_secret(&ctx, secret, *len, len, hostap_rng_fn, hostap_rng_ctx()) ? in crypto_dh_derive_secret() 1608 …mbedtls_dhm_calc_secret(ctx, wpabuf_mhead(buf), olen, &olen, hostap_rng_fn, hostap_rng_ctx()) == 0) in dh5_derive_shared() 1758 … mbedtls_ecp_gen_key(grp_id, mbedtls_pk_ec(*pk), hostap_rng_fn, hostap_rng_ctx()) ? in crypto_mbedtls_keypair_gen() 1966 …s_ecdh_calc_secret(&ecdh->ctx, &len, wpabuf_mhead(buf), len, hostap_rng_fn, hostap_rng_ctx()) == 0) in crypto_ecdh_set_peerkey() 2265 (const mbedtls_ecp_point *)p, hostap_rng_fn, hostap_rng_ctx()) ? in crypto_ec_point_mul() 2386 if (mbedtls_pk_parse_key(ctx, der, der_len, NULL, 0, hostap_rng_fn, hostap_rng_ctx()) == 0) in crypto_ec_key_parse_priv() 2555 mbedtls_ecp_gen_privkey(ecp_kp_grp, ecp_kp_d, hostap_rng_fn, hostap_rng_ctx()) == 0) in crypto_ec_key_set_pub_point_for_group() [all …]
|
D | tls_mbedtls_alt.c | 63 extern void* hostap_rng_ctx(void); 351 mbedtls_ssl_conf_rng(&tls_conf->conf, hostap_rng_fn, hostap_rng_ctx()); in tls_conf_init() 405 mbedtls_ssl_ticket_setup(&tls_ctx_global.ticket_ctx, hostap_rng_fn, hostap_rng_ctx(), in tls_init() 1618 pwd ? os_strlen(pwd) : 0, hostap_rng_fn, hostap_rng_ctx()); in tls_mbedtls_set_certs()
|