Lines Matching refs:pknid
181 int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid, in X509_SIG_INFO_get() argument
186 if (pknid != NULL) in X509_SIG_INFO_get()
187 *pknid = siginf->pknid; 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
199 siginf->pknid = pknid; 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
220 siginf->pknid = NID_undef; in x509_sig_info_init()
223 if (!OBJ_find_sigid_algs(OBJ_obj2nid(alg->algorithm), &mdnid, &pknid) in x509_sig_info_init()
224 || pknid == NID_undef) { in x509_sig_info_init()
229 siginf->pknid = pknid; in x509_sig_info_init()
234 ameth = EVP_PKEY_asn1_find(NULL, pknid); in x509_sig_info_init()