Lines Matching refs:dgst
17 int ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, in ossl_ecdsa_sign() argument
23 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); in ossl_ecdsa_sign()
35 const unsigned char *dgst, int dlen) in ecdsa_sign_setup() argument
90 if (dgst != NULL) { in ecdsa_sign_setup()
92 dgst, dlen, ctx)) { in ecdsa_sign_setup()
154 ECDSA_SIG *ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_sign_sig() argument
209 if (!BN_bin2bn(dgst, dgst_len, m)) { in ossl_ecdsa_sign_sig()
220 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) { in ossl_ecdsa_sign_sig()
292 int ossl_ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, in ossl_ecdsa_verify() argument
310 ret = ECDSA_do_verify(dgst, dgst_len, s, eckey); in ossl_ecdsa_verify()
317 int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_verify_sig() argument
380 if (!BN_bin2bn(dgst, dgst_len, m)) { in ossl_ecdsa_verify_sig()