crypto/ec/ecp_oct.c:139: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_usub`.
Showing all 9 steps of the trace


crypto/ec/ecp_oct.c:67:14: Call
65.           if (!BN_mod_sqr(tmp2, x_, group->field, ctx))
66.               goto err;
67.           if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx))
                   ^
68.               goto err;
69.       }

crypto/bn/bn_mod.c:73:1: Parameter `*r->d`
  71.   
  72.   /* slow but works */
  73. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
  74.                  BN_CTX *ctx)
  75.   {

crypto/ec/ecp_oct.c:120:18: Call
118.       }
119.   
120.       if (y_bit != BN_is_odd(y)) {
                        ^
121.           if (BN_is_zero(y)) {
122.               int kron;

crypto/bn/bn_lib.c:935:1: Parameter `*a->d`
  933.   }
  934.   
  935. > int BN_is_odd(const BIGNUM *a)
  936.   {
  937.       return (a->top > 0) && (a->d[0] & 1);

crypto/ec/ecp_oct.c:139:14: Call
137.               goto err;
138.           }
139.           if (!BN_usub(y, group->field, y))
                    ^
140.               goto err;
141.       }

crypto/bn/bn_add.c:117:1: <LHS trace>
115.   
116.   /* unsigned subtraction of b from a, a must be larger than b. */
117. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
118.   {
119.       int max, min, dif;

crypto/bn/bn_add.c:117:1: Parameter `*a->d`
  115.   
  116.   /* unsigned subtraction of b from a, a must be larger than b. */
  117. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
  118.   {
  119.       int max, min, dif;

crypto/bn/bn_add.c:169:13: Assignment
  167.           while (dif) {
  168.               dif--;
  169.               t1 = *(ap++);
                     ^
  170.               t2 = (t1 - 1) & BN_MASK2;
  171.               *(rp++) = t2;

crypto/bn/bn_add.c:170:13: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_usub` 
  168.               dif--;
  169.               t1 = *(ap++);
  170.               t2 = (t1 - 1) & BN_MASK2;
                     ^
  171.               *(rp++) = t2;
  172.               if (t1)
