Lines Matching refs:mdnid
181 int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid, in X509_SIG_INFO_get() argument
184 if (mdnid != NULL) in X509_SIG_INFO_get()
185 *mdnid = siginf->mdnid; in X509_SIG_INFO_get()
195 void X509_SIG_INFO_set(X509_SIG_INFO *siginf, int mdnid, int pknid, in X509_SIG_INFO_set() argument
198 siginf->mdnid = mdnid; in X509_SIG_INFO_set()
204 int X509_get_signature_info(X509 *x, int *mdnid, int *pknid, int *secbits, in X509_get_signature_info() argument
208 return X509_SIG_INFO_get(&x->siginf, mdnid, pknid, secbits, flags); in X509_get_signature_info()
215 int pknid, mdnid, md_size; in x509_sig_info_init() local
219 siginf->mdnid = NID_undef; in x509_sig_info_init()
223 if (!OBJ_find_sigid_algs(OBJ_obj2nid(alg->algorithm), &mdnid, &pknid) in x509_sig_info_init()
228 siginf->mdnid = mdnid; in x509_sig_info_init()
231 switch (mdnid) { in x509_sig_info_init()
278 if ((md = EVP_get_digestbynid(mdnid)) == NULL) { in x509_sig_info_init()
288 switch (mdnid) { in x509_sig_info_init()