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


crypto/ec/ecp_smpl.c:715:7: Call
713.   		}
714.   	
715.   	if (!BN_mod_sqrt(y, tmp1, &group->field, ctx))
             ^
716.   		{
717.   		unsigned long err = ERR_peek_last_error();

crypto/bn/bn_sqrt.c:62:1: Parameter `*p->d`
  60.   
  61.   
  62. > BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) 
  63.   /* Returns 'ret' such that
  64.    *      ret^2 == a (mod p),

crypto/ec/ecp_smpl.c:745:8: Call
743.   			goto err;
744.   			}
745.   		if (!BN_usub(y, &group->field, y)) goto err;
              ^
746.   		}
747.   	if (y_bit != BN_is_odd(y))

crypto/bn/bn_add.c:166:1: <LHS trace>
164.   
165.   /* unsigned subtraction of b from a, a must be larger than b. */
166. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
167.   	{
168.   	int max,min,dif;

crypto/bn/bn_add.c:166:1: Parameter `*a->d`
  164.   
  165.   /* unsigned subtraction of b from a, a must be larger than b. */
  166. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
  167.   	{
  168.   	int max,min,dif;

crypto/bn/bn_add.c:229:4: Assignment
  227.   			{
  228.   			dif--;
  229.   			t1 = *(ap++);
            ^
  230.   			t2 = (t1-1)&BN_MASK2;
  231.   			*(rp++) = t2;

crypto/bn/bn_add.c:230:4: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_usub` 
  228.   			dif--;
  229.   			t1 = *(ap++);
  230.   			t2 = (t1-1)&BN_MASK2;
            ^
  231.   			*(rp++) = t2;
  232.   			if (t1)
