crypto/bn/bntest.c:1384: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_GF2m_mod_div`.
Showing all 12 steps of the trace


crypto/bn/bntest.c:1386:4: Call
1384.   			BN_GF2m_mod_div(d, a, c, b[j], ctx);
1385.   			BN_GF2m_mod_mul(e, d, c, b[j], ctx);
1386.   			BN_GF2m_mod_div(f, a, e, b[j], ctx);
           ^
1387.   #if 0 /* make test uses ouput in bc but bc can't handle GF(2^m) arithmetic */
1388.   			if (bp != NULL)

crypto/bn/bn_gf2m.c:606:1: Parameter `r->top`
  604.    * or y, x could equal y.
  605.    */
  606. > int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x, const BIGNUM *p, BN_CTX *ctx)
  607.   	{
  608.   	BIGNUM *xinv = NULL;

crypto/bn/bntest.c:1384:4: Call
1382.   		for (j=0; j < 2; j++)
1383.   			{
1384.   			BN_GF2m_mod_div(d, a, c, b[j], ctx);
           ^
1385.   			BN_GF2m_mod_mul(e, d, c, b[j], ctx);
1386.   			BN_GF2m_mod_div(f, a, e, b[j], ctx);

crypto/bn/bn_gf2m.c:606:1: Parameter `p->top`
  604.    * or y, x could equal y.
  605.    */
  606. > int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x, const BIGNUM *p, BN_CTX *ctx)
  607.   	{
  608.   	BIGNUM *xinv = NULL;

crypto/bn/bn_gf2m.c:619:7: Call
  617.   	if (xinv == NULL) goto err;
  618.   	
  619.   	if (!BN_GF2m_mod_inv(xinv, x, p, ctx)) goto err;
               ^
  620.   	if (!BN_GF2m_mod_mul(r, y, xinv, p, ctx)) goto err;
  621.   	bn_check_top(r);

crypto/bn/bn_gf2m.c:521:1: Parameter `p->top`
    519.    *     of Elliptic Curve Cryptography Over Binary Fields".
    520.    */
    521. > int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
    522.   	{
    523.   	BIGNUM *b, *c, *u, *v, *tmp;

crypto/bn/bn_gf2m.c:538:7: Call
    536.   
    537.   	if (!BN_one(b)) goto err;
    538.   	if (!BN_GF2m_mod(u, a, p)) goto err;
                 ^
    539.   	if (!BN_copy(v, p)) goto err;
    540.   

crypto/bn/bn_gf2m.c:359:1: Parameter `p->top`
      357.    * BN_GF2m_mod_arr function.
      358.    */
      359. > int	BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p)
      360.   	{
      361.   	int ret = 0;

crypto/bn/bn_gf2m.c:362:18: Call
      360.   	{
      361.   	int ret = 0;
      362.   	const int max = BN_num_bits(p) + 1;
                              ^
      363.   	int *arr=NULL;
      364.   	bn_check_top(a);

crypto/bn/bn_lib.c:248:1: <LHS trace>
246.   	}
247.   
248. > int BN_num_bits(const BIGNUM *a)
249.   	{
250.   	int i = a->top - 1;

crypto/bn/bn_lib.c:248:1: Parameter `a->top`
        246.   	}
        247.   
        248. > int BN_num_bits(const BIGNUM *a)
        249.   	{
        250.   	int i = a->top - 1;

crypto/bn/bn_lib.c:250:2: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_GF2m_mod_div` 
        248.   int BN_num_bits(const BIGNUM *a)
        249.   	{
        250.   	int i = a->top - 1;
                ^
        251.   	bn_check_top(a);
        252.   
