Lines Matching refs:hostap_rng_ctx
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()
2825 &sig_len, hostap_rng_fn, hostap_rng_ctx()) == 0) in crypto_ec_key_sign()
2848 &sig_len, hostap_rng_fn, hostap_rng_ctx())) in crypto_ec_key_sign_r_s()
3214 …x509write_csr_der((mbedtls_x509write_csr *)csr, buf, sizeof(buf), hostap_rng_fn, hostap_rng_ctx()); in crypto_csr_sign()