Lines Matching refs:p_rng
1079 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in ecp_randomize_jac() argument
1091 mbedtls_mpi_fill_random( &l, p_size, f_rng, p_rng ); in ecp_randomize_jac()
1277 void *p_rng ) in ecp_mul_comb_core() argument
1290 MBEDTLS_MPI_CHK( ecp_randomize_jac( grp, R, f_rng, p_rng ) ); in ecp_mul_comb_core()
1312 void *p_rng ) in ecp_mul_comb() argument
1399 MBEDTLS_MPI_CHK( ecp_mul_comb_core( grp, R, T, pre_len, k, d, f_rng, p_rng ) ); in ecp_mul_comb()
1461 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in ecp_randomize_mxz() argument
1473 mbedtls_mpi_fill_random( &l, p_size, f_rng, p_rng ); in ecp_randomize_mxz()
1553 void *p_rng ) in ecp_mul_mxz() argument
1577 MBEDTLS_MPI_CHK( ecp_randomize_mxz( grp, &RP, f_rng, p_rng ) ); in ecp_mul_mxz()
1613 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_ecp_mul() argument
1627 return( ecp_mul_mxz( grp, R, m, P, f_rng, p_rng ) ); in mbedtls_ecp_mul()
1631 return( ecp_mul_comb( grp, R, m, P, f_rng, p_rng ) ); in mbedtls_ecp_mul()
1819 void *p_rng ) in mbedtls_ecp_gen_keypair_base() argument
1831 MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( d, n_size, f_rng, p_rng ) ); in mbedtls_ecp_gen_keypair_base()
1864 MBEDTLS_MPI_CHK( f_rng( p_rng, rnd, n_size ) ); in mbedtls_ecp_gen_keypair_base()
1891 return( mbedtls_ecp_mul( grp, Q, d, G, f_rng, p_rng ) ); in mbedtls_ecp_gen_keypair_base()
1900 void *p_rng ) in mbedtls_ecp_gen_keypair() argument
1902 return( mbedtls_ecp_gen_keypair_base( grp, &grp->G, d, Q, f_rng, p_rng ) ); in mbedtls_ecp_gen_keypair()
1909 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_ecp_gen_key() argument
1916 return( mbedtls_ecp_gen_keypair( &key->grp, &key->d, &key->Q, f_rng, p_rng ) ); in mbedtls_ecp_gen_key()