crypto/rsa/rsa_sp800_56b_check.c:67: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_CTX_end`.
Showing all 9 steps of the trace


crypto/rsa/rsa_sp800_56b_check.c:57:14: Call
55.             && (BN_cmp(rsa->iqmp, rsa->p) < 0)
56.             /* (d) 1 = (dP . e) mod (p - 1)*/
57.             && BN_mod_mul(r, rsa->dmp1, rsa->e, p1, ctx)
                   ^
58.             && BN_is_one(r)
59.             /* (e) 1 = (dQ . e) mod (q - 1) */

crypto/bn/bn_mod.c:218:5: Call
  216.       ret = 1;
  217.    err:
  218.       BN_CTX_end(ctx);
             ^
  219.       return ret;
  220.   }

crypto/bn/bn_ctx.c:185:1: Parameter `ctx->pool.used`
    183.   }
    184.   
    185. > void BN_CTX_end(BN_CTX *ctx)
    186.   {
    187.       if (ctx == NULL)

crypto/rsa/rsa_sp800_56b_check.c:67:5: Call
65.       BN_clear(p1);
66.       BN_clear(q1);
67.       BN_CTX_end(ctx);
          ^
68.       return ret;
69.   }

crypto/bn/bn_ctx.c:185:1: Parameter `ctx->pool.used`
  183.   }
  184.   
  185. > void BN_CTX_end(BN_CTX *ctx)
  186.   {
  187.       if (ctx == NULL)

crypto/bn/bn_ctx.c:196:13: Call
  194.           /* Does this stack frame have anything to release? */
  195.           if (fp < ctx->used)
  196.               BN_POOL_release(&ctx->pool, ctx->used - fp);
                     ^
  197.           ctx->used = fp;
  198.           /* Unjam "too_many" in case "get" had failed */

crypto/bn/bn_ctx.c:340:1: <LHS trace>
338.   }
339.   
340. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
341.   {
342.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:340:1: Parameter `p->used`
    338.   }
    339.   
    340. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
    341.   {
    342.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:342:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_CTX_end` 
    340.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
    341.   {
    342.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
               ^
    343.   
    344.       p->used -= num;
