Home | History | Annotate | Download | only in ecdsa

Lines Matching defs:sig_len

296 	unsigned int	sig_len, degree, r_len, s_len, bn_len, buf_len;
387 sig_len = ECDSA_size(eckey);
388 if ((signature = OPENSSL_malloc(sig_len)) == NULL)
390 if (!ECDSA_sign(0, digest, 20, signature, &sig_len, eckey))
398 if (ECDSA_verify(0, digest, 20, signature, sig_len, eckey) != 1)
406 if (ECDSA_verify(0, digest, 20, signature, sig_len,
415 if (ECDSA_verify(0, wrong_digest, 20, signature, sig_len,
424 if (ECDSA_verify(0, digest, 20, signature, sig_len - 1,
437 if ((ecdsa_sig = d2i_ECDSA_SIG(NULL, &sig_ptr, sig_len)) == NULL)
470 sig_len = i2d_ECDSA_SIG(ecdsa_sig, &sig_ptr2);
471 if (ECDSA_verify(0, digest, 20, signature, sig_len, eckey) == 1)
483 sig_len = i2d_ECDSA_SIG(ecdsa_sig, &sig_ptr2);
484 if (ECDSA_verify(0, digest, 20, signature, sig_len, eckey) != 1)