crypto/ecdsa/ecs_ossl.c:312: error: INTEGER_OVERFLOW_L2
  ([1, +oo] - [-125, 127]):unsigned64 by call to `ecdsa_sign_setup`.
Showing all 11 steps of the trace


crypto/ecdsa/ecs_ossl.c:256:1: Parameter `dgst_len`
254.   }
255.   
256. > static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len,
257.                                   const BIGNUM *in_kinv, const BIGNUM *in_r,
258.                                   EC_KEY *eckey)

crypto/ecdsa/ecs_ossl.c:312:18: Call
310.       do {
311.           if (in_kinv == NULL || in_r == NULL) {
312.               if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) {
                        ^
313.                   ECDSAerr(ECDSA_F_ECDSA_DO_SIGN, ERR_R_ECDSA_LIB);
314.                   goto err;

crypto/ecdsa/ecs_ossl.c:100:1: Parameter `dlen`
  98.   }
  99.   
  100. > static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in,
  101.                               BIGNUM **kinvp, BIGNUM **rp,
  102.                               const unsigned char *dgst, int dlen)

crypto/ecdsa/ecs_ossl.c:144:22: Call
  142.           do
  143.               if (dgst != NULL) {
  144.                   if (!BN_generate_dsa_nonce
                              ^
  145.                       (k, order, EC_KEY_get0_private_key(eckey), dgst, dlen,
  146.                        ctx)) {

crypto/bn/bn_rand.c:300:1: Parameter `message_len`
    298.    * used.
    299.    */
    300. > int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
    301.                             const BIGNUM *priv, const unsigned char *message,
    302.                             size_t message_len, BN_CTX *ctx)

crypto/bn/bn_rand.c:342:9: Call
    340.           SHA512_Update(&sha, &done, sizeof(done));
    341.           SHA512_Update(&sha, private_bytes, sizeof(private_bytes));
    342.           SHA512_Update(&sha, message, message_len);
                   ^
    343.           SHA512_Update(&sha, random_bytes, sizeof(random_bytes));
    344.           SHA512_Final(digest, &sha);

crypto/sha/sha512.c:185:1: <LHS trace>
183.   }
184.   
185. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
186.   {
187.       SHA_LONG64 l;

crypto/sha/sha512.c:185:1: Parameter `len`
      183.   }
      184.   
      185. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
      186.   {
      187.       SHA_LONG64 l;

crypto/sha/sha512.c:185:1: <RHS trace>
183.   }
184.   
185. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
186.   {
187.       SHA_LONG64 l;

crypto/sha/sha512.c:185:1: Parameter `len`
      183.   }
      184.   
      185. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
      186.   {
      187.       SHA_LONG64 l;

crypto/sha/sha512.c:209:13: Binary operation: ([1, +oo] - [-125, 127]):unsigned64 by call to `ecdsa_sign_setup` 
      207.           } else {
      208.               memcpy(p + c->num, data, n), c->num = 0;
      209.               len -= n, data += n;
                         ^
      210.               sha512_block_data_order(c, p, 1);
      211.           }
