Lines Matching refs:siginf
181 int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid, in X509_SIG_INFO_get() argument
185 *mdnid = siginf->mdnid; in X509_SIG_INFO_get()
187 *pknid = siginf->pknid; in X509_SIG_INFO_get()
189 *secbits = siginf->secbits; in X509_SIG_INFO_get()
191 *flags = siginf->flags; in X509_SIG_INFO_get()
192 return (siginf->flags & X509_SIG_INFO_VALID) != 0; 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()
199 siginf->pknid = pknid; in X509_SIG_INFO_set()
200 siginf->secbits = secbits; in X509_SIG_INFO_set()
201 siginf->flags = flags; in X509_SIG_INFO_set()
208 return X509_SIG_INFO_get(&x->siginf, mdnid, pknid, secbits, flags); in X509_get_signature_info()
212 static int x509_sig_info_init(X509_SIG_INFO *siginf, const X509_ALGOR *alg, in x509_sig_info_init() argument
219 siginf->mdnid = NID_undef; in x509_sig_info_init()
220 siginf->pknid = NID_undef; in x509_sig_info_init()
221 siginf->secbits = -1; in x509_sig_info_init()
222 siginf->flags = 0; in x509_sig_info_init()
228 siginf->mdnid = mdnid; in x509_sig_info_init()
229 siginf->pknid = pknid; in x509_sig_info_init()
236 && ameth->siginf_set(siginf, alg, sig)) in x509_sig_info_init()
243 siginf->secbits = secbits; in x509_sig_info_init()
260 siginf->secbits = 63; in x509_sig_info_init()
267 siginf->secbits = 39; in x509_sig_info_init()
274 siginf->secbits = 105; in x509_sig_info_init()
285 siginf->secbits = md_size * 4; in x509_sig_info_init()
293 siginf->flags |= X509_SIG_INFO_TLS; in x509_sig_info_init()
295 siginf->flags |= X509_SIG_INFO_VALID; in x509_sig_info_init()
302 return x509_sig_info_init(&x->siginf, &x->sig_alg, &x->signature, in ossl_x509_init_sig_info()