Home
last modified time | relevance | path

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

12

/mbedtls-3.5.0/include/mbedtls/
Ddebug.h37 #define MBEDTLS_SSL_DEBUG_MSG(level, args) \ argument
38 mbedtls_debug_print_msg(ssl, level, __FILE__, __LINE__, \
41 #define MBEDTLS_SSL_DEBUG_RET(level, text, ret) \ argument
42 mbedtls_debug_print_ret(ssl, level, __FILE__, __LINE__, text, ret)
44 #define MBEDTLS_SSL_DEBUG_BUF(level, text, buf, len) \ argument
45 mbedtls_debug_print_buf(ssl, level, __FILE__, __LINE__, text, buf, len)
48 #define MBEDTLS_SSL_DEBUG_MPI(level, text, X) \ argument
49 mbedtls_debug_print_mpi(ssl, level, __FILE__, __LINE__, text, X)
53 #define MBEDTLS_SSL_DEBUG_ECP(level, text, X) \ argument
54 mbedtls_debug_print_ecp(ssl, level, __FILE__, __LINE__, text, X)
[all …]
/mbedtls-3.5.0/library/
Ddebug.c45 static inline void debug_send_line(const mbedtls_ssl_context *ssl, int level, in debug_send_line() argument
57 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, idstr); in debug_send_line()
59 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, str); in debug_send_line()
64 void mbedtls_debug_print_msg(const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg() argument
75 level > debug_threshold) { in mbedtls_debug_print_msg()
88 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_msg()
91 void mbedtls_debug_print_ret(const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret() argument
100 level > debug_threshold) { in mbedtls_debug_print_ret()
116 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_ret()
119 void mbedtls_debug_print_buf(const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf() argument
[all …]
Dssl_debug_helpers.h49 int level, const char *file, int line,
54 int level, const char *file, int line,
60 int level, const char *file, int line,
64 #define MBEDTLS_SSL_PRINT_EXTS(level, hs_msg_type, extensions_mask) \ argument
65 mbedtls_ssl_print_extensions(ssl, level, __FILE__, __LINE__, \
68 #define MBEDTLS_SSL_PRINT_EXT(level, hs_msg_type, extension_type, extra) \ argument
69 mbedtls_ssl_print_extension(ssl, level, __FILE__, __LINE__, \
74 #define MBEDTLS_SSL_PRINT_TICKET_FLAGS(level, flags) \ argument
75 mbedtls_ssl_print_ticket_flags(ssl, level, __FILE__, __LINE__, flags)
80 #define MBEDTLS_SSL_PRINT_EXTS(level, hs_msg_type, extension_mask) argument
[all …]
Dmps_trace.c93 void mbedtls_mps_trace_indent(int level, mbedtls_mps_trace_type ty) in mbedtls_mps_trace_indent() argument
95 if (level > 0) { in mbedtls_mps_trace_indent()
96 while (--level) { in mbedtls_mps_trace_indent()
Dmps_trace.h119 void mbedtls_mps_trace_indent(int level, mbedtls_mps_trace_type ty);
/mbedtls-3.5.0/scripts/data_files/
Derror.fmt43 /* Extract the high-level part from the error code. */
66 /* Extract the low-level part from the error code. */
101 // Translate high level error code.
112 // level code.
125 // If high level code is present, make a concatenation between both
141 // Translate low level error code.
/mbedtls-3.5.0/scripts/mbedtls_dev/
Dcrypto_knowledge.py28 def short_expression(original: str, level: int = 0) -> str:
39 if level >= 1:
130 def short_expression(self, level: int = 0) -> str:
135 return short_expression(self.expression, level=level)
450 def short_expression(self, level: int = 0) -> str:
455 return short_expression(self.expression, level=level)
/mbedtls-3.5.0/tests/suites/
Dtest_suite_debug.function12 void string_debug(void *data, int level, const char *file, int line, const char *str)
16 ((void) level);
55 void debug_print_msg_threshold(int threshold, int level, char *file,
78 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.function722 mbedtls_mpi_uint *R = NULL; /* for result of low-level conversion */
738 /* Higher-level conversion is in-place, so expected result must have the
748 /* 1. Test low-level function first */
756 /* Test that the low-level function gives the required value */
765 /* 2. Test higher-level cannonical to Montgomery conversion */
787 mbedtls_mpi_uint *R = NULL; /* for result of low-level conversion */
803 /* Higher-level conversion is in-place, so expected result must have the
813 /* 1. Test low-level function first */
821 /* Test that the low-level function gives the required value */
830 /* 2. Test higher-level Montgomery to cannonical conversion */
/mbedtls-3.5.0/programs/ssl/
Dssl_client1.c57 static void my_debug(void *ctx, int level, in my_debug() argument
61 ((void) level); in my_debug()
Ddtls_client.c71 static void my_debug(void *ctx, int level, in my_debug() argument
75 ((void) level); in my_debug()
Dssl_server.c68 static void my_debug(void *ctx, int level, in my_debug() argument
72 ((void) level); in my_debug()
Dssl_fork_server.c74 static void my_debug(void *ctx, int level, in my_debug() argument
78 ((void) level); in my_debug()
Ddtls_server.c78 static void my_debug(void *ctx, int level, in my_debug() argument
82 ((void) level); in my_debug()
Dssl_pthread_server.c78 static void my_mutexed_debug(void *ctx, int level, in my_mutexed_debug() argument
86 ((void) level); in my_mutexed_debug()
Dssl_test_lib.c33 void my_debug(void *ctx, int level, in my_debug() argument
47 basename, line, level, str); in my_debug()
Dssl_test_lib.h110 void my_debug(void *ctx, int level,
Dssl_mail_client.c151 static void my_debug(void *ctx, int level, in my_debug() argument
155 ((void) level); in my_debug()
/mbedtls-3.5.0/programs/x509/
Dcert_app.c101 static void my_debug(void *ctx, int level, in my_debug() argument
105 ((void) level); in my_debug()
/mbedtls-3.5.0/tests/scripts/
Dcheck_files.py401 def setup_logger(self, log_file, level=logging.INFO): argument
403 self.logger.setLevel(level)
/mbedtls-3.5.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.5.0/docs/architecture/
Dpsa-crypto-implementation-structure.md8 This document describes the high level organization of the Mbed TLS PSA Cryptography API implementa…
10 ## High level organization of the Mbed TLS PSA Cryptography API implementation
/mbedtls-3.5.0/docs/architecture/psa-migration/
Dstrategy.md339 available via the legacy API(s) is it using (MD and/or low-level).
342 currently compute hashes using MD (resp. a low-level hash module) will gain
351 - too many different ways of computing a hash (low-level, MD, PSA);
482 Generally speaking, we would retire all of the low-level, non-generic modules,
487 the low-level, alg-specific ones.)
513 the low-level crypto APIs and making PK, MD and Cipher optional compatibility
515 cases use the low level crypto APIs; we would need to either keep using that
/mbedtls-3.5.0/tests/
DCMakeLists.txt7 # the top level CMakeLists.txt.
270 # If a warning level has been defined, suppress all warnings for test code

12