Home | History | Annotate | Download | only in bn

Lines Matching full:bignum

115 static BIGNUM *euclid(BIGNUM *a, BIGNUM *b);
117 int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
119 BIGNUM *a,*b,*t;
147 static BIGNUM *euclid(BIGNUM *a, BIGNUM *b)
149 BIGNUM *t;
206 static BIGNUM *BN_mod_inverse_no_branch(BIGNUM *in,
207 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
208 BIGNUM *BN_mod_inverse(BIGNUM *in,
209 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
211 BIGNUM *A,*B,*X,*Y,*M,*D,*T,*R=NULL;
212 BIGNUM *ret=NULL;
347 BIGNUM *tmp;
402 tmp=A; /* keep the BIGNUM object, the value does not matter */
455 M=Y; /* keep the BIGNUM object, the value does not matter */
506 static BIGNUM *BN_mod_inverse_no_branch(BIGNUM *in,
507 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
509 BIGNUM *A,*B,*X,*Y,*M,*D,*T,*R=NULL;
510 BIGNUM local_A, local_B;
511 BIGNUM *pA, *pB;
512 BIGNUM *ret=NULL;
559 BIGNUM *tmp;
582 tmp=A; /* keep the BIGNUM object, the value does not matter */
611 M=Y; /* keep the BIGNUM object, the value does not matter */