Lines Matching refs:p
497 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
499 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
501 int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
503 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
506 int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
511 int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
552 int BN_is_prime(const BIGNUM *p, int nchecks,
555 int BN_is_prime_fasttest(const BIGNUM *p, int nchecks,
563 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
564 int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
569 int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
573 int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
614 const BIGNUM *p,
631 int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
653 int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p);
656 const BIGNUM *p, BN_CTX *ctx);
658 int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
660 int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx);
663 const BIGNUM *p, BN_CTX *ctx);
666 const BIGNUM *p, BN_CTX *ctx);
668 int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
671 int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
681 int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]);
684 const int p[], BN_CTX *ctx);
686 int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
689 int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[],
693 const int p[], BN_CTX *ctx);
696 const int p[], BN_CTX *ctx);
699 const int p[], BN_CTX *ctx);
702 const int p[], BN_CTX *ctx);
703 int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max);
704 int BN_GF2m_arr2poly(const int p[], BIGNUM *a);
711 int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
712 int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
713 int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
714 int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
715 int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);