crypto/bn/bn_kron.c:173: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_nnmod`.
Showing all 20 steps of the trace


crypto/bn/bn_kron.c:87:9: Call
85.   	err = !BN_copy(A, a);
86.   	if (err) goto end;
87.   	err = !BN_copy(B, b);
              ^
88.   	if (err) goto end;
89.   

crypto/bn/bn_lib.c:497:1: Parameter `a->top`
  495.   	}
  496.   
  497. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
  498.   	{
  499.   	int i;

crypto/bn/bn_kron.c:114:10: Call
112.   	/* now  B  is non-zero */
113.   	i = 0;
114.   	while (!BN_is_bit_set(B, i))
                ^
115.   		i++;
116.   	err = !BN_rshift(B, B, i);

crypto/bn/bn_lib.c:757:1: Parameter `a->top`
  755.   	}
  756.   
  757. > int BN_is_bit_set(const BIGNUM *a, int n)
  758.   	{
  759.   	int i,j;

crypto/bn/bn_kron.c:116:9: Call
114.   	while (!BN_is_bit_set(B, i))
115.   		i++;
116.   	err = !BN_rshift(B, B, i);
               ^
117.   	if (err) goto end;
118.   	if (i & 1)

crypto/bn/bn_shift.c:168:1: Parameter `r->dmax`
  166.   	}
  167.   
  168. > int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
  169.   	{
  170.   	int i,j,nw,lb,rb;

crypto/bn/bn_kron.c:156:11: Call
154.   		/* now  A  is non-zero */
155.   		i = 0;
156.   		while (!BN_is_bit_set(A, i))
                 ^
157.   			i++;
158.   		err = !BN_rshift(A, A, i);

crypto/bn/bn_lib.c:757:1: Parameter `a->top`
  755.   	}
  756.   
  757. > int BN_is_bit_set(const BIGNUM *a, int n)
  758.   	{
  759.   	int i,j;

crypto/bn/bn_kron.c:158:10: Call
156.   		while (!BN_is_bit_set(A, i))
157.   			i++;
158.   		err = !BN_rshift(A, A, i);
                ^
159.   		if (err) goto end;
160.   		if (i & 1)

crypto/bn/bn_shift.c:168:1: Parameter `r->dmax`
  166.   	}
  167.   
  168. > int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
  169.   	{
  170.   	int i,j,nw,lb,rb;

crypto/bn/bn_kron.c:173:10: Call
171.   		
172.   		/* (A, B) := (B mod |A|, |A|) */
173.   		err = !BN_nnmod(B, B, A, ctx);
                ^
174.   		if (err) goto end;
175.   		tmp = A; A = B; B = tmp;

crypto/bn/bn_mod.c:127:1: Parameter `m->top`
  125.   
  126.   
  127. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
  128.   	{
  129.   	/* like BN_mod, but returns non-negative remainder

crypto/bn/bn_mod.c:132:8: Call
  130.   	 * (i.e.,  0 <= r < |d|  always holds) */
  131.   
  132.   	if (!(BN_mod(r,m,d,ctx)))
                ^
  133.   		return 0;
  134.   	if (!r->neg)

crypto/bn/bn_div.c:181:1: Parameter `num->top`
    179.   static int BN_div_no_branch(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num,
    180.           const BIGNUM *divisor, BN_CTX *ctx);
    181. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
    182.   	   BN_CTX *ctx)
    183.   	{

crypto/bn/bn_div.c:204:10: Call
    202.   	if ((BN_get_flags(num, BN_FLG_CONSTTIME) != 0) || (BN_get_flags(divisor, BN_FLG_CONSTTIME) != 0))
    203.   		{
    204.   		return BN_div_no_branch(dv, rm, num, divisor, ctx);
                    ^
    205.   		}
    206.   

crypto/bn/bn_div.c:426:1: Parameter `num->top`
      424.    * branches that may leak sensitive information.
      425.    */
      426. > static int BN_div_no_branch(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, 
      427.   	const BIGNUM *divisor, BN_CTX *ctx)
      428.   	{

crypto/bn/bn_div.c:460:8: Call
      458.   	sdiv->neg=0;
      459.   	norm_shift+=BN_BITS2;
      460.   	if (!(BN_lshift(snum,num,norm_shift))) goto err;
                    ^
      461.   	snum->neg=0;
      462.   

crypto/bn/bn_shift.c:132:1: <LHS trace>
130.   	}
131.   
132. > int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
133.   	{
134.   	int i,nw,lb,rb;

crypto/bn/bn_shift.c:132:1: Parameter `a->top`
        130.   	}
        131.   
        132. > int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
        133.   	{
        134.   	int i,nw,lb,rb;

crypto/bn/bn_shift.c:150:8: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_nnmod` 
        148.   	t[a->top+nw]=0;
        149.   	if (lb == 0)
        150.   		for (i=a->top-1; i>=0; i--)
                      ^
        151.   			t[nw+i]=f[i];
        152.   	else
