Lines Matching refs:dgst_len

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()
270 ECDSA_SIG *ossl_ecdsa_simple_sign_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_simple_sign_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()
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
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()
512 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) { in ossl_ecdsa_simple_verify_sig()