Lines Matching refs:level
1183 int level; in ssl_get_security_level_bits() local
1192 level = SSL_CTX_get_security_level(ctx); in ssl_get_security_level_bits()
1194 level = SSL_get_security_level(s); in ssl_get_security_level_bits()
1196 if (level > 5) in ssl_get_security_level_bits()
1197 level = 5; in ssl_get_security_level_bits()
1198 else if (level < 0) in ssl_get_security_level_bits()
1199 level = 0; in ssl_get_security_level_bits()
1202 *levelp = level; in ssl_get_security_level_bits()
1204 return minbits_table[level]; in ssl_get_security_level_bits()
1211 int level, minbits, pfs_mask; in ssl_security_default_callback() local
1214 minbits = ssl_get_security_level_bits(s, ctx, &level); in ssl_security_default_callback()
1216 if (level == 0) { in ssl_security_default_callback()
1245 if (level >= 3 && c->min_tls != TLS1_3_VERSION && in ssl_security_default_callback()
1255 if (nid <= TLS1_1_VERSION && level > 0) in ssl_security_default_callback()
1259 if (DTLS_VERSION_LT(nid, DTLS1_2_VERSION) && level > 0) in ssl_security_default_callback()
1265 if (level >= 2) in ssl_security_default_callback()
1269 if (level >= 3) in ssl_security_default_callback()