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);
209 BIGNUM *BN_mod_inverse(BIGNUM *in,
210 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
212 BIGNUM *A,*B,*X,*Y,*M,*D,*T,*R=NULL;
213 BIGNUM *ret=NULL;
348 BIGNUM *tmp;
403 tmp=A; /* keep the BIGNUM object, the value does not matter */
456 M=Y; /* keep the BIGNUM object, the value does not matter */
507 static BIGNUM *BN_mod_inverse_no_branch(BIGNUM *in,
508 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
510 BIGNUM *A,*B,*X,*Y,*M,*D,*T,*R=NULL;
511 BIGNUM local_A, local_B;
512 BIGNUM *pA, *pB;
513 BIGNUM *ret=NULL;
560 BIGNUM *tmp;
583 tmp=A; /* keep the BIGNUM object, the value does not matter */
612 M=Y; /* keep the BIGNUM object, the value does not matter */