Lines Matching refs:secbits
182 int *secbits, uint32_t *flags) in X509_SIG_INFO_get() argument
188 if (secbits != NULL) in X509_SIG_INFO_get()
189 *secbits = siginf->secbits; in X509_SIG_INFO_get()
196 int secbits, uint32_t flags) in X509_SIG_INFO_set() argument
200 siginf->secbits = secbits; 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()
221 siginf->secbits = -1; in x509_sig_info_init()
239 int secbits; in x509_sig_info_init() local
241 secbits = EVP_PKEY_get_security_bits(pubkey); in x509_sig_info_init()
242 if (secbits != 0) { 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()