/openssl/crypto/ec/ |
H A D | ecdsa_vrf.c | 26 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, in ECDSA_do_verify() argument 30 return eckey->meth->verify_sig(dgst, dgst_len, sig, eckey); in ECDSA_do_verify() 41 int ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, in ECDSA_verify() argument 45 return eckey->meth->verify(type, dgst, dgst_len, sigbuf, sig_len, in ECDSA_verify()
|
H A D | ecdsa_ossl.c | 59 return eckey->group->meth->ecdsa_sign_sig(dgst, dgst_len, in ossl_ecdsa_sign_sig() 63 int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_verify_sig() argument 328 if (8 * dgst_len > i) in ossl_ecdsa_simple_sign_sig() 329 dgst_len = (i + 7) / 8; in ossl_ecdsa_simple_sign_sig() 330 if (!BN_bin2bn(dgst, dgst_len, m)) { in ossl_ecdsa_simple_sign_sig() 335 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) { in ossl_ecdsa_simple_sign_sig() 437 ret = ECDSA_do_verify(dgst, dgst_len, s, eckey); in ossl_ecdsa_verify() 505 if (8 * dgst_len > i) in ossl_ecdsa_simple_verify_sig() 506 dgst_len = (i + 7) / 8; in ossl_ecdsa_simple_verify_sig() 507 if (!BN_bin2bn(dgst, dgst_len, m)) { in ossl_ecdsa_simple_verify_sig() [all …]
|
H A D | ec_kmeth.c | 237 int dgst_len, in EC_KEY_METHOD_set_sign() argument 249 char *dgst, int dgst_len, in EC_KEY_METHOD_set_verify() argument 253 int dgst_len, in EC_KEY_METHOD_set_verify() 312 int dgst_len, in EC_KEY_METHOD_get_sign() argument 327 char *dgst, int dgst_len, in EC_KEY_METHOD_get_verify() argument 331 int dgst_len, in EC_KEY_METHOD_get_verify()
|
H A D | ec_local.h | 683 ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, int dgst_len, 687 int (*verify)(int type, const unsigned char *dgst, int dgst_len, 689 int (*verify_sig)(const unsigned char *dgst, int dgst_len, 714 ECDSA_SIG *ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, 717 int ossl_ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, 719 int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, 723 ECDSA_SIG *ossl_ecdsa_simple_sign_sig(const unsigned char *dgst, int dgst_len, 726 int ossl_ecdsa_simple_verify_sig(const unsigned char *dgst, int dgst_len,
|
H A D | ec_key.c | 1104 int dgst_len = (int)sizeof(dgst); in ecdsa_keygen_pairwise_test() local 1115 sig = ECDSA_do_sign(dgst, dgst_len, eckey); in ecdsa_keygen_pairwise_test() 1121 if (ECDSA_do_verify(dgst, dgst_len, sig, eckey) != 1) in ecdsa_keygen_pairwise_test()
|
/openssl/crypto/dsa/ |
H A D | dsa_vrf.c | 19 int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, in DSA_do_verify() argument 22 return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa); in DSA_do_verify()
|
H A D | dsa_key.c | 118 unsigned int dgst_len = (unsigned int)sizeof(dgst); in dsa_keygen_pairwise_test() local 129 sig = DSA_do_sign(dgst, (int)dgst_len, dsa); in dsa_keygen_pairwise_test() 135 if (DSA_do_verify(dgst, dgst_len, sig, dsa) != 1) in dsa_keygen_pairwise_test()
|
H A D | dsa_ossl.c | 35 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, 355 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, in dsa_do_verify() argument 409 if (dgst_len > (i >> 3)) in dsa_do_verify() 415 dgst_len = (i >> 3); in dsa_do_verify() 416 if (BN_bin2bn(dgst, dgst_len, u1) == NULL) in dsa_do_verify()
|
H A D | dsa_sign.c | 194 int DSA_verify(int type, const unsigned char *dgst, int dgst_len, in DSA_verify() argument 212 ret = DSA_do_verify(dgst, dgst_len, s, dsa); in DSA_verify()
|
H A D | dsa_local.h | 51 int (*dsa_do_verify) (const unsigned char *dgst, int dgst_len,
|
/openssl/include/openssl/ |
H A D | ec.h | 1385 int dgst_len, EC_KEY *eckey); 1410 OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, 1509 int dgst_len, 1517 char *dgst, int dgst_len, 1521 int dgst_len, const ECDSA_SIG *sig, 1553 int dgst_len, 1561 char *dgst, int dgst_len, 1565 int dgst_len,
|
H A D | dsa.h | 120 OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, 145 int dgst_len, const unsigned char *sigbuf,
|
/openssl/test/ |
H A D | ecdsatest.c | 79 unsigned int dgst_len = 0; in x9_62_tests() local 109 || !TEST_true(EVP_DigestFinal_ex(mctx, digest, &dgst_len)) in x9_62_tests() 132 || !TEST_ptr(signature = ECDSA_do_sign_ex(digest, dgst_len, in x9_62_tests() 135 || !TEST_int_eq(ECDSA_do_verify(digest, dgst_len, signature, key), 1)) in x9_62_tests()
|
/openssl/doc/man3/ |
H A D | DSA_do_sign.pod | 17 int DSA_do_verify(const unsigned char *dgst, int dgst_len,
|
H A D | ECDSA_sign.pod | 22 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dgst_len, 27 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
|