Lines Matching refs:secbits
302 if (p == NULL || !OSSL_PARAM_get_uint(p, &ginf->secbits)) { in add_provider_groups()
489 if (p == NULL || !OSSL_PARAM_get_uint(p, &sinf->secbits)) { in add_provider_sigalgs()
898 return ssl_security(s, op, ginfo->secbits, in tls_group_allowed()
1962 int secbits = 0; in sigalg_security_bits() local
1971 secbits = EVP_MD_get_size(md) * 4; in sigalg_security_bits()
1972 if (secbits <= 0) in sigalg_security_bits()
1985 secbits = 64; in sigalg_security_bits()
1987 secbits = 67; in sigalg_security_bits()
1989 secbits = 39; in sigalg_security_bits()
1993 secbits = 128; in sigalg_security_bits()
1995 secbits = 224; in sigalg_security_bits()
2001 if ((secbits == 0) && (lu->sig_idx >= SSL_PKEY_NUM) in sigalg_security_bits()
2003 secbits = ctx->sigalg_list[lu->sig_idx - SSL_PKEY_NUM].secbits; in sigalg_security_bits()
2005 return secbits; in sigalg_security_bits()
2021 int secbits = 0; in tls12_check_peer_sigalg() local
2126 secbits = sigalg_security_bits(SSL_CONNECTION_GET_CTX(s), lu); in tls12_check_peer_sigalg()
2127 if (secbits == 0 || in tls12_check_peer_sigalg()
2128 !ssl_security(s, SSL_SECOP_SIGALG_CHECK, secbits, in tls12_check_peer_sigalg()
2643 int secbits; in tls12_sigalg_allowed() local
2705 secbits = sigalg_security_bits(SSL_CONNECTION_GET_CTX(s), lu); in tls12_sigalg_allowed()
2708 return ssl_security(s, op, secbits, lu->hash, (void *)sigalgstr); in tls12_sigalg_allowed()
3624 int secbits = -1; in ssl_security_cert_key() local
3634 secbits = EVP_PKEY_get_security_bits(pkey); in ssl_security_cert_key()
3637 return ssl_security(s, op, secbits, 0, x); in ssl_security_cert_key()
3639 return ssl_ctx_security(ctx, op, secbits, 0, x); in ssl_security_cert_key()
3646 int secbits, nid, pknid; in ssl_security_cert_sig() local
3651 if (!X509_get_signature_info(x, &nid, &pknid, &secbits, NULL)) in ssl_security_cert_sig()
3652 secbits = -1; in ssl_security_cert_sig()
3657 return ssl_security(s, op, secbits, nid, x); in ssl_security_cert_sig()
3659 return ssl_ctx_security(ctx, op, secbits, nid, x); in ssl_security_cert_sig()