Loading crypto/bn/bn_lib.c +0 −1 Original line number Diff line number Diff line Loading @@ -462,7 +462,6 @@ BIGNUM *bn_expand2(BIGNUM *b, int words) A[0]=0; assert(A == &(b->d[b->dmax])); } return b; } Loading crypto/bn/bn_nist.c +2 −1 Original line number Diff line number Diff line Loading @@ -823,6 +823,7 @@ int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, if (tmp->top == BN_NIST_521_TOP) tmp->d[BN_NIST_521_TOP-1] &= BN_NIST_521_TOP_MASK; bn_fix_top(tmp); if (!BN_uadd(r, tmp, r)) return 0; top = r->top; Loading crypto/bn/bn_recp.c +2 −0 Original line number Diff line number Diff line Loading @@ -203,6 +203,8 @@ int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, ret=1; err: BN_CTX_end(ctx); if(dv) bn_fix_top(dv); if(rem) bn_fix_top(rem); return(ret); } Loading Loading
crypto/bn/bn_lib.c +0 −1 Original line number Diff line number Diff line Loading @@ -462,7 +462,6 @@ BIGNUM *bn_expand2(BIGNUM *b, int words) A[0]=0; assert(A == &(b->d[b->dmax])); } return b; } Loading
crypto/bn/bn_nist.c +2 −1 Original line number Diff line number Diff line Loading @@ -823,6 +823,7 @@ int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, if (tmp->top == BN_NIST_521_TOP) tmp->d[BN_NIST_521_TOP-1] &= BN_NIST_521_TOP_MASK; bn_fix_top(tmp); if (!BN_uadd(r, tmp, r)) return 0; top = r->top; Loading
crypto/bn/bn_recp.c +2 −0 Original line number Diff line number Diff line Loading @@ -203,6 +203,8 @@ int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, ret=1; err: BN_CTX_end(ctx); if(dv) bn_fix_top(dv); if(rem) bn_fix_top(rem); return(ret); } Loading