Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 14 of 14) sorted by relevance

/openssl/ssl/record/methods/
H A Dtlsany_meth.c130 static int tls_any_set_protocol_version(OSSL_RECORD_LAYER *rl, int vers) in tls_any_set_protocol_version() argument
132 if (rl->version != TLS_ANY_VERSION && rl->version != vers) in tls_any_set_protocol_version()
134 rl->version = vers; in tls_any_set_protocol_version()
169 static int dtls_any_set_protocol_version(OSSL_RECORD_LAYER *rl, int vers) in dtls_any_set_protocol_version() argument
171 if (rl->version != DTLS_ANY_VERSION && rl->version != vers) in dtls_any_set_protocol_version()
173 rl->version = vers; in dtls_any_set_protocol_version()
H A Ddtls_meth.c625 dtls_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in dtls_new_record_layer() argument
641 ret = tls_int_new_record_layer(libctx, propq, vers, role, direction, level, in dtls_new_record_layer()
664 switch (vers) { in dtls_new_record_layer()
H A Dktls_meth.c403 ktls_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in ktls_new_record_layer() argument
419 ret = tls_int_new_record_layer(libctx, propq, vers, role, direction, level, in ktls_new_record_layer()
H A Dtls_common.c1242 tls_int_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in tls_int_new_record_layer() argument
1307 rl->version = vers; in tls_int_new_record_layer()
1377 tls_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in tls_new_record_layer() argument
1393 ret = tls_int_new_record_layer(libctx, propq, vers, role, direction, level, in tls_new_record_layer()
1401 switch (vers) { in tls_new_record_layer()
H A Drecmethod_local.h441 tls_int_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers,
/openssl/test/testutil/
H A Dprovider.c77 static int fips_provider_version(OSSL_LIB_CTX *libctx, FIPS_VERSION *vers) in fips_provider_version() argument
89 || sscanf(vs, "%d.%d.%d", &vers->major, &vers->minor, &vers->patch) != 3) in fips_provider_version()
/openssl/ssl/
H A Dt1_trce.c684 int vers; in ssl_print_version() local
688 vers = ((*pmsg)[0] << 8) | (*pmsg)[1]; in ssl_print_version()
690 *version = vers; in ssl_print_version()
693 name, vers, ssl_trace_str(vers, ssl_version_tbl)); in ssl_print_version()
1075 unsigned int vers; in ssl_print_server_hello() local
1077 if (!ssl_print_version(bio, indent, "server_version", &msg, &msglen, &vers)) in ssl_print_server_hello()
1081 if (vers != TLS1_3_VERSION in ssl_print_server_hello()
1092 if (vers != TLS1_3_VERSION) { in ssl_print_server_hello()
/openssl/apps/
H A Dfipsinstall.c148 char *name = "", *vers = "", *build = ""; in load_fips_prov_and_run_self_test() local
159 &vers, sizeof(vers)); in load_fips_prov_and_run_self_test()
170 BIO_printf(bio_err, "\t%-10s\t%s\n", "version:", vers); in load_fips_prov_and_run_self_test()
/openssl/include/internal/
H A Drecordmethod.h123 const char *propq, int vers,
/openssl/ssl/record/
H A Drecord.h182 int ssl_set_record_protocol_version(SSL_CONNECTION *s, int vers);
H A Drec_layer_s3.c1469 int ssl_set_record_protocol_version(SSL_CONNECTION *s, int vers) in ssl_set_record_protocol_version() argument
/openssl/ssl/quic/
H A Dquic_tls.c91 quic_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in quic_new_record_layer() argument
/openssl/ssl/statem/
H A Dstatem_lib.c2103 static void check_for_downgrade(SSL_CONNECTION *s, int vers, DOWNGRADE *dgrd) in check_for_downgrade() argument
2105 if (vers == TLS1_2_VERSION in check_for_downgrade()
2109 && vers < TLS1_2_VERSION in check_for_downgrade()
/openssl/doc/designs/quic-design/
H A Drecord-layer.md369 * set by |vers|. |role| is 0 for client and 1 for server. |direction|
401 const char *propq, int vers,

Completed in 58 milliseconds