Lines Matching refs:dgst
35 const unsigned char *dgst, int dlen,
50 ECDSA_SIG *ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_sign_sig() argument
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
71 return eckey->group->meth->ecdsa_verify_sig(dgst, dgst_len, sig, eckey); in ossl_ecdsa_verify_sig()
74 int ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, in ossl_ecdsa_sign() argument
85 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); in ossl_ecdsa_sign()
95 int ossl_ecdsa_deterministic_sign(const unsigned char *dgst, int dlen, in ossl_ecdsa_deterministic_sign() argument
115 if (!ecdsa_sign_setup(eckey, NULL, &kinv, &r, dgst, dlen, in ossl_ecdsa_deterministic_sign()
119 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); in ossl_ecdsa_deterministic_sign()
134 const unsigned char *dgst, int dlen, in ecdsa_sign_setup() argument
199 if (dgst != NULL) { in ecdsa_sign_setup()
204 dgst, dlen, in ecdsa_sign_setup()
210 dgst, dlen, ctx); in ecdsa_sign_setup()
270 ECDSA_SIG *ossl_ecdsa_simple_sign_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_simple_sign_sig() argument
330 if (!BN_bin2bn(dgst, dgst_len, m)) { in ossl_ecdsa_simple_sign_sig()
341 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len, in ossl_ecdsa_simple_sign_sig()
419 int ossl_ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, in ossl_ecdsa_verify() argument
437 ret = ECDSA_do_verify(dgst, dgst_len, s, eckey); in ossl_ecdsa_verify()
444 int ossl_ecdsa_simple_verify_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_simple_verify_sig() argument
507 if (!BN_bin2bn(dgst, dgst_len, m)) { in ossl_ecdsa_simple_verify_sig()