engines/e_cswift.c:773: error: INTEGER_OVERFLOW_L2
  ([0, `rsa->iqmp->top`] - 1):unsigned64 by call to `cswift_mod_exp_crt`.
Showing all 9 steps of the trace


engines/e_cswift.c:742:1: Parameter `rsa->iqmp->top`
740.    
741.   #ifndef OPENSSL_NO_RSA
742. > static int cswift_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
743.   	{
744.   	int to_return = 0;

engines/e_cswift.c:773:14: Call
771.   	}
772.   
773.   	to_return = cswift_mod_exp_crt(r0, I, rsa->p, rsa->q, rsa->dmp1,
                    ^
774.   		rsa->dmq1, rsa->iqmp, ctx);
775.   err:

engines/e_cswift.c:609:1: Parameter `iqmp->top`
  607.   #ifndef OPENSSL_NO_RSA
  608.   /* Un petit mod_exp chinois */
  609. > static int cswift_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
  610.   			const BIGNUM *q, const BIGNUM *dmp1,
  611.   			const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx)

engines/e_cswift.c:671:6: Call
  669.   		goto err;
  670.   	}
  671.   	if(!cswift_bn_32copy(&sw_param.up.crt.iqmp, iqmp))
              ^
  672.   	{
  673.   		CSWIFTerr(CSWIFT_F_CSWIFT_MOD_EXP_CRT,CSWIFT_R_BN_EXPAND_FAIL);

engines/e_cswift.c:584:1: Parameter `in->top`
    582.   
    583.   #ifndef OPENSSL_NO_RSA
    584. > int cswift_bn_32copy(SW_LARGENUMBER * out, const BIGNUM * in)
    585.   {
    586.   	int mod;

engines/e_cswift.c:587:17: Call
    585.   {
    586.   	int mod;
    587.   	int numbytes = BN_num_bytes(in);
                           ^
    588.   
    589.   	mod = 0;

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, rsa->iqmp->top] - 1):unsigned64 by call to `cswift_mod_exp_crt` 
      248.   int BN_num_bits(const BIGNUM *a)
      249.   	{
      250.   	int i = a->top - 1;
              ^
      251.   	bn_check_top(a);
      252.   
