Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 194) sorted by relevance

12345678

/openssl/apps/lib/
H A Dlog.c16 int log_set_verbosity(const char *prog, int level) in log_set_verbosity() argument
18 if (level < LOG_EMERG || level > LOG_TRACE) { in log_set_verbosity()
20 "Invalid verbosity level %d", level); in log_set_verbosity()
23 verbosity = level; in log_set_verbosity()
35 int level = *(int *)levPtr; in print_syslog() local
38 syslog(level, "%.*s", ilen, str); in print_syslog()
78 if (verbosity >= level) in trace_log_message()
95 if (verbosity < level) { in trace_log_message()
101 vsyslog(level, fmt, ap); in trace_log_message()
102 if (level <= LOG_ERR) in trace_log_message()
[all …]
H A Dhttp_server.c37 #define log_HTTP(prog, level, text) \ argument
38 trace_log_message(OSSL_TRACE_CATEGORY_HTTP, prog, level, "%s", text)
39 #define log_HTTP1(prog, level, fmt, arg) \ argument
40 trace_log_message(OSSL_TRACE_CATEGORY_HTTP, prog, level, fmt, arg)
41 #define log_HTTP2(prog, level, fmt, arg1, arg2) \ argument
42 trace_log_message(OSSL_TRACE_CATEGORY_HTTP, prog, level, fmt, arg1, arg2)
43 #define log_HTTP3(prog, level, fmt, a1, a2, a3) \ argument
44 trace_log_message(OSSL_TRACE_CATEGORY_HTTP, prog, level, fmt, a1, a2, a3)
/openssl/crypto/x509/
H A Dpcy_node.c50 node = sk_X509_POLICY_NODE_value(level->nodes, i); in ossl_policy_level_find_node()
76 if (level != NULL) { in ossl_policy_level_add_node()
78 if (level->anyPolicy) in ossl_policy_level_add_node()
80 level->anyPolicy = node; in ossl_policy_level_add_node()
83 if (level->nodes == NULL) in ossl_policy_level_add_node()
84 level->nodes = ossl_policy_node_cmp_new(); in ossl_policy_level_add_node()
85 if (level->nodes == NULL) { in ossl_policy_level_add_node()
116 if (level != NULL) { in ossl_policy_level_add_node()
117 if (level->anyPolicy == node) in ossl_policy_level_add_node()
118 level->anyPolicy = NULL; in ossl_policy_level_add_node()
[all …]
H A Dpcy_lib.c58 int X509_policy_level_node_count(X509_POLICY_LEVEL *level) in X509_policy_level_node_count() argument
61 if (!level) in X509_policy_level_node_count()
63 if (level->anyPolicy) in X509_policy_level_node_count()
67 if (level->nodes) in X509_policy_level_node_count()
68 n += sk_X509_POLICY_NODE_num(level->nodes); in X509_policy_level_node_count()
72 X509_POLICY_NODE *X509_policy_level_get0_node(const X509_POLICY_LEVEL *level, int i) in X509_policy_level_get0_node() argument
74 if (!level) in X509_policy_level_get0_node()
76 if (level->anyPolicy) { in X509_policy_level_get0_node()
78 return level->anyPolicy; in X509_policy_level_get0_node()
81 return sk_X509_POLICY_NODE_value(level->nodes, i); in X509_policy_level_get0_node()
/openssl/crypto/cmp/
H A Dcmp_util.c49 const char *end_level = strchr(level, ':'); in parse_level()
56 if (HAS_PREFIX(level, OSSL_CMP_LOG_PREFIX)) in parse_level()
57 level += strlen(OSSL_CMP_LOG_PREFIX); in parse_level()
58 len = end_level - level; in parse_level()
61 OPENSSL_strlcpy(level_copy, level, len + 1); in parse_level()
83 *level = -1; in ossl_cmp_log_parse_metadata()
131 level == OSSL_CMP_LOG_EMERG ? "EMERG" : in OSSL_CMP_print_to_bio()
132 level == OSSL_CMP_LOG_ALERT ? "ALERT" : in OSSL_CMP_print_to_bio()
133 level == OSSL_CMP_LOG_CRIT ? "CRIT" : in OSSL_CMP_print_to_bio()
134 level == OSSL_CMP_LOG_ERR ? "error" : in OSSL_CMP_print_to_bio()
[all …]
H A Dcmp_local.h837 int ossl_cmp_print_log(OSSL_CMP_severity level, const OSSL_CMP_CTX *ctx,
840 # define ossl_cmp_log(level, ctx, msg) \ argument
842 OPENSSL_LINE, #level, "%s", msg)
843 # define ossl_cmp_log1(level, ctx, fmt, arg1) \ argument
845 OPENSSL_LINE, #level, fmt, arg1)
846 # define ossl_cmp_log2(level, ctx, fmt, arg1, arg2) \ argument
848 OPENSSL_LINE, #level, fmt, arg1, arg2)
849 # define ossl_cmp_log3(level, ctx, fmt, arg1, arg2, arg3) \ argument
851 OPENSSL_LINE, #level, fmt, arg1, arg2, arg3)
852 # define ossl_cmp_log4(level, ctx, fmt, arg1, arg2, arg3, arg4) \ argument
[all …]
H A Dcmp_genm.c22 OSSL_CMP_severity level, OSSL_CMP_CTX *ctx, in cert_msg() argument
27 ossl_cmp_print_log(level, ctx, func, file, lineno, in cert_msg()
28 level == OSSL_CMP_LOG_WARNING ? "WARN" : "ERR", in cert_msg()
42 OSSL_CMP_severity level = in ossl_X509_check() local
46 cert_msg(OPENSSL_FUNC, OPENSSL_FILE, OPENSSL_LINE, level, ctx, in ossl_X509_check()
52 cert_msg(OPENSSL_FUNC, OPENSSL_FILE, OPENSSL_LINE, level, ctx, in ossl_X509_check()
/openssl/crypto/
H A Dsparse_array.c158 int level; in ossl_sa_get() local
166 for (level = sa->levels - 1; p != NULL && level > 0; level--) in ossl_sa_get()
167 p = (void **)p[(n >> (OPENSSL_SA_BLOCK_BITS * level)) in ossl_sa_get()
181 int i, level = 1; in ossl_sa_set() local
188 for (level = 1; level < SA_BLOCK_MAX_LEVELS; level++) in ossl_sa_set()
192 for (;sa->levels < level; sa->levels++) { in ossl_sa_set()
203 for (level = sa->levels - 1; level > 0; level--) { in ossl_sa_set()
204 i = (posn >> (OPENSSL_SA_BLOCK_BITS * level)) & SA_BLOCK_MASK; in ossl_sa_set()
/openssl/util/perl/TLSProxy/
H A DAlert.pm17 $level,
23 level => $level,
41 sub level subroutine
44 return $self->{level};
/openssl/doc/man3/
H A DSSL_CTX_set_security_level.pod11 void SSL_CTX_set_security_level(SSL_CTX *ctx, int level);
12 void SSL_set_security_level(SSL *s, int level);
42 the security level to B<level>. If not set the library default security level
46 retrieve the current security level.
64 of each level is described below.
75 The security level corresponds to a minimum of 80 bits of security. Any
82 DTLS 1.0 are all disabled at this level.
100 Security level set to 192 bits of security. As a result RSA, DSA and
126 By setting an appropriate security level much of this complexity can be
151 or a certificate with a signature with SHA1 digest at level 1 using
[all …]
H A DOSSL_CMP_log_open.pod30 /* severity level declarations resemble those from syslog.h */
44 OSSL_CMP_severity level, const char *msg);
46 int line, OSSL_CMP_severity level, const char *msg);
64 OSSL_CMP_severity level, const char *msg);
70 a severity level, and
75 level and the callback function has a I<level> parameter indicating such a
76 level, such that error, warning, info, debug, etc. can be treated differently.
77 The callback is activated only when the severity level is sufficient according
78 to the current level of verbosity, which by default is B<OSSL_CMP_LOG_INFO>.
95 severity level, and log message or error queue message to the given I<bio>.
/openssl/doc/internal/man3/
H A Dossl_cmp_print_log.pod25 int ossl_cmp_print_log(OSSL_CMP_severity level, const OSSL_CMP_CTX *ctx,
33 #define ossl_cmp_log(level, ctx, msg)
34 #define ossl_cmp_log1(level, ctx, fmt, arg1)
35 #define ossl_cmp_log2(level, ctx, fmt, arg1, arg2)
36 #define ossl_cmp_log3(level, ctx, fmt, arg1, arg2, arg3)
37 #define ossl_cmp_log4(level, ctx, fmt, arg1, arg2, arg3, arg4)
48 log callback of the B<ctx> if present and the severity level is sufficient.
51 In any case the B<level>, B<func>, B<file>, and B<line> parameters
66 according to the pattern OSSL_CMP_LOG_START#level ": %s\n", filling in
67 the variable pointed to by I<level> with the severity level or -1,
[all …]
/openssl/doc/man7/
H A Dossl-guide-migration.pod98 algorithms: the "high level" APIs (such as the C<EVP> APIs) and the "low level"
113 your code to use the high level APIs instead.
1082 =head4 Deprecated low-level object creation
1103 =head4 Deprecated low-level digest functions
1121 =head4 Deprecated low-level MAC functions
1292 See L</Deprecated low-level MAC functions>.
1298 See L</Deprecated low-level MAC functions>.
1830 See L</Deprecated low-level MAC functions>.
1867 See L</Deprecated low-level MAC functions>.
1874 See L</Deprecated low-level MAC functions>.
[all …]
H A Devp.pod5 evp - high-level cryptographic functions
13 The EVP library provides a high-level interface to cryptographic
28 The B<EVP_PKEY>I<XXX> functions provide a high-level interface to
76 Although low-level algorithm specific functions exist for many algorithms
78 versions of new algorithms cannot be accessed using the low-level functions.
80 cleanly supported at the low-level and some operations are more efficient
81 using the high-level interface.
/openssl/test/testutil/
H A Ddriver.c45 static int level = 0; variable
110 level = 4 * atoi(TAP_levels); in setup_test_framework()
111 test_adjust_streams_tap_level(level); in setup_test_framework()
222 level = 4 * value; in process_shared_options()
223 test_adjust_streams_tap_level(level); in process_shared_options()
304 if (level > 0) { in run_tests()
352 level += 4; in run_tests()
353 test_adjust_streams_tap_level(level); in run_tests()
398 level -= 4; in run_tests()
399 test_adjust_streams_tap_level(level); in run_tests()
H A Dbasic_output.c56 void test_adjust_streams_tap_level(int level) in test_adjust_streams_tap_level() argument
58 BIO_set_indent(tap_out, level); in test_adjust_streams_tap_level()
59 BIO_set_indent(tap_err, level); in test_adjust_streams_tap_level()
/openssl/doc/designs/quic-design/
H A Dquic-fc.md8 transmission of stream data could be prevented by connection-level flow control,
9 by stream-level flow control, or both. Flow control uses a credit-based model in
14 It is important to note that both connection and stream-level flow control
29 QUIC flow control at connection level is based on the sum of all the logical
32 Connection-level flow control is controlled by the `MAX_DATA` frame;
33 stream-level flow control is controlled by the `MAX_STREAM_DATA` frame.
151 An initial connection-level credit is communicated by the peer in the
158 Stream-level flow control works exactly the same as connection-level flow
172 Window function on the connection-level and stream-level state machines,
218 RX-side stream-level flow control works similarly to RX-side connection-level
[all …]
/openssl/crypto/bio/
H A Dbss_log.c85 static void xopenlog(BIO *bp, char *name, int level);
243 static void xopenlog(BIO *bp, char *name, int level) in xopenlog() argument
302 static void xopenlog(BIO *bp, char *name, int level) in xopenlog() argument
304 VMS_OPC_target = level; in xopenlog()
391 static void xopenlog(BIO *bp, char *name, int level) in xopenlog() argument
394 openlog(name, LOG_PID | LOG_CONS | LOG_NDELAY, level); in xopenlog()
396 openlog(name, LOG_PID | LOG_CONS, level); in xopenlog()
/openssl/crypto/encode_decode/
H A Dencoder_lib.c31 int level; /* Recursion level */ member
440 new_data.level = data->level + 1; in encoder_process()
445 data->level, (void *)data->ctx, in encoder_process()
463 data->level, in encoder_process()
473 data->level, in encoder_process()
492 data->level, in encoder_process()
529 data->level, new_data.level); in encoder_process()
543 data->level, (void *)data->ctx); in encoder_process()
645 data->level, (void *)data->ctx, in encoder_process()
/openssl/apps/include/
H A Dlog.h31 int log_set_verbosity(const char *prog, int level);
48 const char *prog, int level, const char *fmt, ...);
/openssl/include/openssl/
H A Dcmp_util.h45 OSSL_CMP_severity level, const char *msg);
48 int line, OSSL_CMP_severity level, const char *msg);
/openssl/ssl/
H A Dssl_cert.c1174 int level; in ssl_get_security_level_bits() local
1187 if (level > 5) in ssl_get_security_level_bits()
1188 level = 5; in ssl_get_security_level_bits()
1189 else if (level < 0) in ssl_get_security_level_bits()
1190 level = 0; in ssl_get_security_level_bits()
1193 *levelp = level; in ssl_get_security_level_bits()
1195 return minbits_table[level]; in ssl_get_security_level_bits()
1202 int level, minbits, pfs_mask; in ssl_security_default_callback() local
1207 if (level == 0) { in ssl_security_default_callback()
1256 if (level >= 2) in ssl_security_default_callback()
[all …]
H A Ds3_msg.c44 int ssl3_send_alert(SSL_CONNECTION *s, int level, int desc) in ssl3_send_alert() argument
61 if ((level == SSL3_AL_FATAL) && (s->session != NULL)) in ssl3_send_alert()
65 s->s3.send_alert[0] = level; in ssl3_send_alert()
/openssl/test/helpers/
H A Dcmp_testlib.c78 OSSL_CMP_severity level, const char *msg) in print_to_bio_out() argument
80 return OSSL_CMP_print_to_bio(bio_out, func, file, line, level, msg); in print_to_bio_out()
/openssl/ssl/quic/
H A Dquic_tls.c60 int level; member
92 int role, int direction, int level, uint16_t epoch, in quic_new_record_layer() argument
116 rl->level = level; in quic_new_record_layer()
138 switch (level) { in quic_new_record_layer()
263 dummyrec[0] = (rl->level == OSSL_RECORD_PROTECTION_LEVEL_NONE) in quic_write_records()
280 if (rl->level != OSSL_RECORD_PROTECTION_LEVEL_NONE) { in quic_write_records()
394 dummyrec[0] = (rl->level == OSSL_RECORD_PROTECTION_LEVEL_NONE) in quic_read_record()

Completed in 104 milliseconds

12345678