Lines Matching full:bignum
224 int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
227 const BIGNUM *at, *bt;
262 int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[])
360 int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p)
385 int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const int p[], BN_CTX *ctx)
388 BIGNUM *s;
438 int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx)
462 int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[], BN_CTX *ctx)
465 BIGNUM *s;
494 int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
522 int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
524 BIGNUM *b, *c, *u, *v, *tmp;
585 int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *xx, const int p[], BN_CTX *ctx)
587 BIGNUM *field;
608 int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x, const BIGNUM *p, BN_CTX *ctx)
610 BIGNUM *xinv = NULL;
637 int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x, const BIGNUM *p, BN_CTX *ctx)
639 BIGNUM *a, *b, *u, *v;
711 int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *yy, const BIGNUM *xx, const int p[], BN_CTX *ctx)
713 BIGNUM *field;
736 int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const int p[], BN_CTX *ctx)
739 BIGNUM *u;
779 int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx)
805 int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a, const int p[], BN_CTX *ctx)
808 BIGNUM *u;
838 int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
862 int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a_, const int p[], BN_CTX *ctx)
865 BIGNUM *a, *z, *rho, *w, *w2, *tmp;
956 int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
984 int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max)
1020 int BN_GF2m_arr2poly(const int p[], BIGNUM *a)