Lines Matching refs:p_rng
255 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in ecdsa_sign_restartable() argument
318 MBEDTLS_MPI_CHK( mbedtls_ecp_gen_privkey( grp, pk, f_rng, p_rng ) ); in ecdsa_sign_restartable()
405 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_ecdsa_sign() argument
416 f_rng, p_rng, f_rng, p_rng, NULL ) ); in mbedtls_ecdsa_sign()
437 mbedtls_hmac_drbg_context *p_rng = &rng_ctx; in ecdsa_sign_det_restartable() local
455 p_rng = &rs_ctx->det->rng_ctx; in ecdsa_sign_det_restartable()
467 mbedtls_hmac_drbg_seed_buf( p_rng, md_info, data, 2 * grp_len ); in ecdsa_sign_det_restartable()
479 mbedtls_hmac_drbg_random, p_rng ); in ecdsa_sign_det_restartable()
482 mbedtls_hmac_drbg_random, p_rng, in ecdsa_sign_det_restartable()
683 void *p_rng, in mbedtls_ecdsa_write_signature_restartable() argument
702 p_rng, rs_ctx ) ); in mbedtls_ecdsa_write_signature_restartable()
710 hash, hlen, f_rng, p_rng ) ); in mbedtls_ecdsa_write_signature_restartable()
714 hash, hlen, f_rng, p_rng, f_rng, in mbedtls_ecdsa_write_signature_restartable()
715 p_rng, rs_ctx ) ); in mbedtls_ecdsa_write_signature_restartable()
736 void *p_rng ) in mbedtls_ecdsa_write_signature() argument
744 f_rng, p_rng, NULL ) ); in mbedtls_ecdsa_write_signature()
831 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_ecdsa_genkey() argument
842 &ctx->Q, f_rng, p_rng ) ); in mbedtls_ecdsa_genkey()