crypto/rsa/rsa_sp800_56b_check.c:186: error: INTEGER_OVERFLOW_L2
  ([0, 7+max(0, `ctx->stack.depth`)] - 1):unsigned32 by call to `BN_CTX_end`.
Showing all 9 steps of the trace


crypto/rsa/rsa_sp800_56b_check.c:157:1: Parameter `ctx->stack.depth`
155.    *     (Step 6b) 1 = (d*e) mod LCM(p–1, q–1)
156.    */
157. > int rsa_check_private_exponent(const RSA *rsa, int nbits, BN_CTX *ctx)
158.   {
159.       int ret;

crypto/rsa/rsa_sp800_56b_check.c:166:5: Call
164.           return 0;
165.   
166.       BN_CTX_start(ctx);
           ^
167.       r = BN_CTX_get(ctx);
168.       p1 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:171:1: Parameter `ctx->stack.depth`
  169.   }
  170.   
  171. > void BN_CTX_start(BN_CTX *ctx)
  172.   {
  173.       CTXDBG("ENTER BN_CTX_start()", ctx);

crypto/rsa/rsa_sp800_56b_check.c:186:5: Call
184.       BN_clear(lcm);
185.       BN_clear(gcd);
186.       BN_CTX_end(ctx);
           ^
187.       return ret;
188.   }

crypto/bn/bn_ctx.c:185:1: Parameter `ctx->stack.depth`
  183.   }
  184.   
  185. > void BN_CTX_end(BN_CTX *ctx)
  186.   {
  187.       CTXDBG("ENTER BN_CTX_end()", ctx);

crypto/bn/bn_ctx.c:191:27: Call
  189.           ctx->err_stack--;
  190.       else {
  191.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                   ^
  192.           /* Does this stack frame have anything to release? */
  193.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:266:1: <LHS trace>
264.   }
265.   
266. > static unsigned int BN_STACK_pop(BN_STACK *st)
267.   {
268.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:266:1: Parameter `st->depth`
    264.   }
    265.   
    266. > static unsigned int BN_STACK_pop(BN_STACK *st)
    267.   {
    268.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:268:12: Binary operation: ([0, 7+max(0, ctx->stack.depth)] - 1):unsigned32 by call to `BN_CTX_end` 
    266.   static unsigned int BN_STACK_pop(BN_STACK *st)
    267.   {
    268.       return st->indexes[--(st->depth)];
                      ^
    269.   }
    270.   
