engines/e_cswift.c:704: error: INTEGER_OVERFLOW_L2
  ([0, `p->top`] - 1):unsigned64 by call to `BN_num_bits`.
Showing all 6 steps of the trace


engines/e_cswift.c:637:11: Call
635.   	/* Prepare the params */
636.   	argument = BN_new();
637.   	result = BN_new();
                 ^
638.   	if(!result || !argument)
639.   		{

crypto/bn/bn_lib.c:310:2: Assignment
  308.   	ret->top=0;
  309.   	ret->neg=0;
  310.   	ret->dmax=0;
          ^
  311.   	ret->d=NULL;
  312.   	bn_check_top(ret);

engines/e_cswift.c:704:19: Call
702.   	arg.nbytes = BN_bn2bin(a, (unsigned char *)argument->d);
703.   	arg.value = (unsigned char *)argument->d;
704.   	res.nbytes = 2 * BN_num_bytes(p);
                         ^
705.   	memset(result->d, 0, res.nbytes);
706.   	res.value = (unsigned char *)result->d;

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