/openssl/include/openssl/ |
H A D | trace.h | 135 int OSSL_trace_enabled(int category); 154 BIO *OSSL_trace_begin(int category); 204 # define OSSL_TRACE_BEGIN(category) \ argument 210 # define OSSL_TRACE_END(category) \ argument 214 # define OSSL_TRACE_CANCEL(category) \ argument 276 # define OSSL_TRACEV(category, args) \ argument 277 OSSL_TRACE_BEGIN(category) \ 279 OSSL_TRACE_END(category) 287 # define OSSL_TRACE(category, text) \ argument 313 OSSL_TRACE_BEGIN(category) { \ [all …]
|
/openssl/crypto/ |
H A D | trace.c | 61 int category; member 347 for (category = 0; category < OSSL_TRACE_CATEGORY_NUM; category++) { in ossl_trace_cleanup() 364 if (category >= 0 && category < OSSL_TRACE_CATEGORY_NUM) in OSSL_trace_set_channel() 401 if (category < 0 || category >= OSSL_TRACE_CATEGORY_NUM) in OSSL_trace_set_callback() 411 trace_data->category = category; in OSSL_trace_set_callback() 434 if (category >= 0 && category < OSSL_TRACE_CATEGORY_NUM) in OSSL_trace_set_prefix() 444 if (category >= 0 && category < OSSL_TRACE_CATEGORY_NUM) in OSSL_trace_set_suffix() 466 category = ossl_trace_get_category(category); in OSSL_trace_enabled() 479 category = ossl_trace_get_category(category); in OSSL_trace_begin() 480 if (category < 0 || !OSSL_trace_enabled(category)) in OSSL_trace_begin() [all …]
|
/openssl/test/testutil/ |
H A D | testutil_init.c | 70 static void setup_trace_category(int category) in setup_trace_category() argument 76 if (OSSL_trace_enabled(category)) in setup_trace_category() 87 || OSSL_trace_set_callback(category, internal_trace_cb, in setup_trace_category() 93 OSSL_trace_get_category_name(category)); in setup_trace_category() 95 OSSL_trace_set_callback(category, NULL, NULL); in setup_trace_category() 119 int category = OSSL_trace_get_category_num(item); in setup_trace() local 121 if (category == OSSL_TRACE_CATEGORY_ALL) { in setup_trace() 122 while (++category < OSSL_TRACE_CATEGORY_NUM) in setup_trace() 123 setup_trace_category(category); in setup_trace() 125 } else if (category > 0) { in setup_trace() [all …]
|
/openssl/doc/man3/ |
H A D | OSSL_trace_enabled.pod | 20 int OSSL_trace_enabled(int category); 22 BIO *OSSL_trace_begin(int category); 26 OSSL_TRACE_BEGIN(category) { 34 } OSSL_TRACE_END(category); 37 OSSL_TRACE(category, text) 38 OSSL_TRACE1(category, format, arg1) 180 OSSL_TRACE_BEGIN(category) { 182 } OSSL_TRACE_END(category) 193 OSSL_TRACE_BEGIN(category) { 195 } OSSL_TRACE_END(category) [all …]
|
H A D | OSSL_trace_get_category_num.pod | 17 OSSL_trace_get_category_num() gives the category number corresponding 20 OSSL_trace_get_category_name() gives the category name corresponding 25 OSSL_trace_get_category_num() returns the category number if the given 26 C<name> is a recognised category name, otherwise -1. 28 OSSL_trace_get_category_name() returns the category name if the given 29 C<num> is a recognised category number, otherwise NULL.
|
H A D | OSSL_trace_set_channel.pod | 15 int category, int cmd, void *data); 17 void OSSL_trace_set_channel(int category, BIO *bio); 18 void OSSL_trace_set_prefix(int category, const char *prefix); 19 void OSSL_trace_set_suffix(int category, const char *suffix); 30 Every category can be enabled individually by attaching a so-called 42 enabled for the given category. 77 the given I<category>. 84 the I<category>, a control number I<cmd>, and the I<data> that was 219 associated with the 'ALL' category, which is undesirable if the 222 trace category instead. [all …]
|
H A D | OSSL_SELF_TEST_new.pod | 99 This allows the callback to identify the sub category of the test being run.
|
/openssl/apps/lib/ |
H A D | log.c | 71 void trace_log_message(int category, in trace_log_message() argument 79 category = -1; /* disabling trace output in addition to logging */ in trace_log_message() 81 if (category >= 0 && OSSL_trace_enabled(category)) { in trace_log_message() 82 BIO *out = OSSL_trace_begin(category); in trace_log_message() 93 OSSL_trace_end(category, out); in trace_log_message()
|
/openssl/apps/ |
H A D | openssl.c | 126 OSSL_trace_get_category_name(category)); in internal_trace_cb() 167 static void setup_trace_category(int category) in setup_trace_category() argument 173 if (OSSL_trace_enabled(category)) in setup_trace_category() 189 OSSL_trace_get_category_name(category)); in setup_trace_category() 191 OSSL_trace_set_callback(category, NULL, NULL); in setup_trace_category() 215 int category = OSSL_trace_get_category_num(item); in setup_trace() local 217 if (category == OSSL_TRACE_CATEGORY_ALL) { in setup_trace() 218 while (++category < OSSL_TRACE_CATEGORY_NUM) in setup_trace() 219 setup_trace_category(category); in setup_trace() 221 } else if (category > 0) { in setup_trace() [all …]
|
/openssl/.github/ISSUE_TEMPLATE/ |
H A D | question.md | 9 Instead, please use the [Q&A category in Discussions](<https://github.com/openssl/openssl/discussio…
|
/openssl/crypto/objects/ |
H A D | objects.txt | 1956 tcg-traits 2 : tcg-tr-category : TCG Trait Categories 1982 tcg-tr-category 2 : tcg-tr-cat-platformModel : Platform Model Trait Category 1984 tcg-tr-category 4 : tcg-tr-cat-platformSerial : Platform Serial Trait Category 1987 tcg-tr-category 7 : tcg-tr-cat-componentClass : Component Class Trait Category 1989 tcg-tr-category 9 : tcg-tr-cat-componentModel : Component Model Trait Category 1995 tcg-tr-category 15 : tcg-tr-cat-EKCertificate : EK Certificate Trait Category 1996 tcg-tr-category 16 : tcg-tr-cat-IAKCertificate : IAK Certificate Trait Category 2007 tcg-tr-category 27 : tcg-tr-cat-FIPSLevel : FIPS Level Trait Category 2008 tcg-tr-category 28 : tcg-tr-cat-ISO9000 : ISO 9000 Trait Category 2009 tcg-tr-category 29 : tcg-tr-cat-networkMAC : Network MAC Trait Category [all …]
|
/openssl/apps/include/ |
H A D | log.h | 47 void trace_log_message(int category,
|
/openssl/test/ |
H A D | trace_api_test.c | 165 int category, int cmd, void *data) in trace_cb() argument 168 if (!TEST_true(category == OSSL_TRACE_CATEGORY_TRACE)) in trace_cb()
|
/openssl/doc/designs/quic-design/ |
H A D | qlog.md | 43 - a `QLOG_EVENT_BEGIN` macro which takes a QLOG instance, category name and 46 This (category name, event name) tuple is known as the event type. 114 - `+quic:*` (or `quic:*`) enables all event types in the `quic` category.
|
/openssl/doc/man7/ |
H A D | openssl-qlog.pod | 103 supported event types in the B<connectivity> category. 143 Enables all event types in the B<foo> category. 147 Disables all event types in the B<foo> category.
|
/openssl/crypto/cmp/ |
H A D | cmp_ctx.c | 310 int category, int cmd, void *vdata)
|
/openssl/ |
H A D | CHANGES.md | 2088 -DBN_CTX_DEBUG, and REF_PRINT. Add a new tracing category and use it for
|