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


crypto/ec/ecdsa_ossl.c:194:1: Parameter `dgst_len`
192.   }
193.   
194. > ECDSA_SIG *ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len,
195.                                  const BIGNUM *in_kinv, const BIGNUM *in_r,
196.                                  EC_KEY *eckey)

crypto/ec/ecdsa_ossl.c:260:18: Call
258.       do {
259.           if (in_kinv == NULL || in_r == NULL) {
260.               if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) {
                        ^
261.                   ECerr(EC_F_OSSL_ECDSA_SIGN_SIG, ERR_R_ECDSA_LIB);
262.                   goto err;

crypto/ec/ecdsa_ossl.c:34:1: Parameter `dlen`
  32.   }
  33.   
  34. > static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in,
  35.                               BIGNUM **kinvp, BIGNUM **rp,
  36.                               const unsigned char *dgst, int dlen)

crypto/ec/ecdsa_ossl.c:84:22: Call
  82.           do
  83.               if (dgst != NULL) {
  84.                   if (!BN_generate_dsa_nonce
                             ^
  85.                       (k, order, EC_KEY_get0_private_key(eckey), dgst, dlen,
  86.                        ctx)) {

crypto/bn/bn_rand.c:192:1: Parameter `message_len`
    190.    * used.
    191.    */
    192. > int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
    193.                             const BIGNUM *priv, const unsigned char *message,
    194.                             size_t message_len, BN_CTX *ctx)

crypto/bn/bn_rand.c:234:9: Call
    232.           SHA512_Update(&sha, &done, sizeof(done));
    233.           SHA512_Update(&sha, private_bytes, sizeof(private_bytes));
    234.           SHA512_Update(&sha, message, message_len);
                   ^
    235.           SHA512_Update(&sha, random_bytes, sizeof(random_bytes));
    236.           SHA512_Final(digest, &sha);

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

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

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

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

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