Lines Matching refs:dlen
28 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
32 BIGNUM **rp, const unsigned char *dgst, int dlen,
76 DSA_SIG *ossl_dsa_do_sign_int(const unsigned char *dgst, int dlen, DSA *dsa, in ossl_dsa_do_sign_int() argument
118 if (!dsa_sign_setup(dsa, ctx, &kinv, &ret->r, dgst, dlen, in ossl_dsa_do_sign_int()
122 if (dlen > BN_num_bytes(dsa->params.q)) in ossl_dsa_do_sign_int()
128 dlen = BN_num_bytes(dsa->params.q); in ossl_dsa_do_sign_int()
129 if (BN_bin2bn(dgst, dlen, m) == NULL) in ossl_dsa_do_sign_int()
204 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) in dsa_do_sign() argument
206 return ossl_dsa_do_sign_int(dgst, dlen, dsa, in dsa_do_sign()
219 const unsigned char *dgst, int dlen, in dsa_sign_setup() argument
275 dgst, dlen, in dsa_sign_setup()
287 dlen, ctx)) in dsa_sign_setup()