Home
last modified time | relevance | path

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

12

/mbedtls-3.6.0/include/mbedtls/
Ddebug.h25 #define MBEDTLS_SSL_DEBUG_MSG(level, args) \ argument
26 mbedtls_debug_print_msg(ssl, level, __FILE__, __LINE__, \
29 #define MBEDTLS_SSL_DEBUG_RET(level, text, ret) \ argument
30 mbedtls_debug_print_ret(ssl, level, __FILE__, __LINE__, text, ret)
32 #define MBEDTLS_SSL_DEBUG_BUF(level, text, buf, len) \ argument
33 mbedtls_debug_print_buf(ssl, level, __FILE__, __LINE__, text, buf, len)
36 #define MBEDTLS_SSL_DEBUG_MPI(level, text, X) \ argument
37 mbedtls_debug_print_mpi(ssl, level, __FILE__, __LINE__, text, X)
41 #define MBEDTLS_SSL_DEBUG_ECP(level, text, X) \ argument
42 mbedtls_debug_print_ecp(ssl, level, __FILE__, __LINE__, text, X)
[all …]
/mbedtls-3.6.0/library/
Ddebug.c34 static inline void debug_send_line(const mbedtls_ssl_context *ssl, int level, in debug_send_line() argument
46 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, idstr); in debug_send_line()
48 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, str); in debug_send_line()
53 void mbedtls_debug_print_msg(const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg() argument
66 level > debug_threshold) { in mbedtls_debug_print_msg()
84 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_msg()
87 void mbedtls_debug_print_ret(const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret() argument
96 level > debug_threshold) { in mbedtls_debug_print_ret()
112 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_ret()
115 void mbedtls_debug_print_buf(const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf() argument
[all …]
Dssl_debug_helpers.h37 int level, const char *file, int line,
42 int level, const char *file, int line,
48 int level, const char *file, int line,
52 #define MBEDTLS_SSL_PRINT_EXTS(level, hs_msg_type, extensions_mask) \ argument
53 mbedtls_ssl_print_extensions(ssl, level, __FILE__, __LINE__, \
56 #define MBEDTLS_SSL_PRINT_EXT(level, hs_msg_type, extension_type, extra) \ argument
57 mbedtls_ssl_print_extension(ssl, level, __FILE__, __LINE__, \
62 #define MBEDTLS_SSL_PRINT_TICKET_FLAGS(level, flags) \ argument
63 mbedtls_ssl_print_ticket_flags(ssl, level, __FILE__, __LINE__, flags)
68 #define MBEDTLS_SSL_PRINT_EXTS(level, hs_msg_type, extension_mask) argument
[all …]
Dmps_trace.c79 void mbedtls_mps_trace_indent(int level, mbedtls_mps_trace_type ty) in mbedtls_mps_trace_indent() argument
81 if (level > 0) { in mbedtls_mps_trace_indent()
82 while (--level) { in mbedtls_mps_trace_indent()
Dmps_trace.h105 void mbedtls_mps_trace_indent(int level, mbedtls_mps_trace_type ty);
/mbedtls-3.6.0/scripts/data_files/
Derror.fmt31 /* Extract the high-level part from the error code. */
54 /* Extract the low-level part from the error code. */
89 // Translate high level error code.
100 // level code.
113 // If high level code is present, make a concatenation between both
129 // Translate low level error code.
/mbedtls-3.6.0/scripts/mbedtls_dev/
Dcrypto_knowledge.py17 def short_expression(original: str, level: int = 0) -> str:
28 if level >= 1:
119 def short_expression(self, level: int = 0) -> str:
124 return short_expression(self.expression, level=level)
447 def short_expression(self, level: int = 0) -> str:
452 return short_expression(self.expression, level=level)
/mbedtls-3.6.0/tests/suites/
Dtest_suite_debug.function11 void string_debug(void *data, int level, const char *file, int line, const char *str)
15 ((void) level);
54 void debug_print_msg_threshold(int threshold, int level, char *file,
79 mbedtls_debug_print_msg(&ssl, level, file, line,
Dtest_suite_debug.data1 Debug print msg (threshold 1, level 0)
4 Debug print msg (threshold 1, level 1)
7 Debug print msg (threshold 1, level 2)
10 Debug print msg (threshold 0, level 1)
13 Debug print msg (threshold 0, level 5)
Dtest_suite_bignum_mod_raw.function692 mbedtls_mpi_uint *R = NULL; /* for result of low-level conversion */
708 /* Higher-level conversion is in-place, so expected result must have the
717 /* 1. Test low-level function first */
725 /* Test that the low-level function gives the required value */
734 /* 2. Test higher-level cannonical to Montgomery conversion */
756 mbedtls_mpi_uint *R = NULL; /* for result of low-level conversion */
772 /* Higher-level conversion is in-place, so expected result must have the
781 /* 1. Test low-level function first */
789 /* Test that the low-level function gives the required value */
798 /* 2. Test higher-level Montgomery to cannonical conversion */
/mbedtls-3.6.0/programs/ssl/
Dssl_client1.c45 static void my_debug(void *ctx, int level, in my_debug() argument
49 ((void) level); in my_debug()
Ddtls_client.c59 static void my_debug(void *ctx, int level, in my_debug() argument
63 ((void) level); in my_debug()
Dssl_fork_server.c62 static void my_debug(void *ctx, int level, in my_debug() argument
66 ((void) level); in my_debug()
Dssl_server.c56 static void my_debug(void *ctx, int level, in my_debug() argument
60 ((void) level); in my_debug()
Ddtls_server.c66 static void my_debug(void *ctx, int level, in my_debug() argument
70 ((void) level); in my_debug()
Dssl_pthread_server.c66 static void my_mutexed_debug(void *ctx, int level, in my_mutexed_debug() argument
74 ((void) level); in my_mutexed_debug()
Dssl_test_lib.h103 void my_debug(void *ctx, int level,
Dssl_test_lib.c23 void my_debug(void *ctx, int level, in my_debug() argument
37 basename, line, level, str); in my_debug()
Dssl_mail_client.c139 static void my_debug(void *ctx, int level, in my_debug() argument
143 ((void) level); in my_debug()
/mbedtls-3.6.0/docs/architecture/psa-migration/
Dstrategy.md251 dispatch to PSA, but not the low-level legacy API, for all operations.
282 MD (not low-level hash APIs), which then dispatches to PSA if applicable.
287 - Step 3 is done for hashes and top-level ECC modules (ECDSA, ECDH, ECJPAKE).
296 - for ECC, we have no internal uses of the top-level algorithms (ECDSA, ECDH,
312 low-level module but logically belongs in a higher-level module can be moved
328 available via the legacy API(s) is it using (MD and/or low-level).
451 Generally speaking, we would retire all of the low-level, non-generic modules,
456 the low-level, alg-specific ones.)
482 the low-level crypto APIs and making PK, MD and Cipher optional compatibility
484 cases use the low level crypto APIs; we would need to either keep using that
/mbedtls-3.6.0/programs/x509/
Dcert_app.c89 static void my_debug(void *ctx, int level, in my_debug() argument
93 ((void) level); in my_debug()
/mbedtls-3.6.0/tests/scripts/
Dcheck_files.py389 def setup_logger(self, log_file, level=logging.INFO): argument
391 self.logger.setLevel(level)
/mbedtls-3.6.0/docs/
D3.0-migration-guide.md42 ### Introduce a level of indirection and versioning in the config files
156 ## Low-level crypto
158 Please also refer to the section [High-level crypto](#high-level-crypto) for
303 If you're simply using the AES module, you should be calling the higher-level
399 ## High-level crypto
401 Please also refer to the section [Low-level crypto](#low-level-crypto) for
446 This affects users of the PK API as well as users of the low-level API in the RSA module. Users of …
686 ### Remove support for TLS record-level compression
692 cause any failures however if you used to enable TLS record-level compression
717 ### Remove support for TLS record-level hardware acceleration
/mbedtls-3.6.0/tests/
DCMakeLists.txt7 # the top level CMakeLists.txt.
272 # If a warning level has been defined, suppress all warnings for test code
/mbedtls-3.6.0/
D.pylintrc53 # many messages that use formatting and are below the log level).

12