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.c1251 tls_int_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in tls_int_new_record_layer() argument
1316 rl->version = vers; in tls_int_new_record_layer()
1386 tls_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in tls_new_record_layer() argument
1402 ret = tls_int_new_record_layer(libctx, propq, vers, role, direction, level, in tls_new_record_layer()
1410 switch (vers) { in tls_new_record_layer()
H A Drecmethod_local.h440 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/apps/
H A Dfipsinstall.c293 char *name = "", *vers = "", *build = ""; in load_fips_prov_and_run_self_test() local
304 &vers, sizeof(vers)); in load_fips_prov_and_run_self_test()
315 BIO_printf(bio_err, "\t%-10s\t%s\n", "version:", vers); in load_fips_prov_and_run_self_test()
320 &vers, sizeof(vers)); in load_fips_prov_and_run_self_test()
327 *is_fips_140_2_prov = (strncmp("3.0.", vers, 4) == 0); in load_fips_prov_and_run_self_test()
/openssl/ssl/
H A Dt1_trce.c686 int vers; in ssl_print_version() local
690 vers = ((*pmsg)[0] << 8) | (*pmsg)[1]; in ssl_print_version()
692 *version = vers; in ssl_print_version()
695 name, vers, ssl_trace_str(vers, ssl_version_tbl)); in ssl_print_version()
1077 unsigned int vers; in ssl_print_server_hello() local
1079 if (!ssl_print_version(bio, indent, "server_version", &msg, &msglen, &vers)) in ssl_print_server_hello()
1083 if (vers != TLS1_3_VERSION in ssl_print_server_hello()
1094 if (vers != TLS1_3_VERSION) { in ssl_print_server_hello()
/openssl/include/internal/
H A Drecordmethod.h123 const char *propq, int vers,
/openssl/ssl/record/
H A Drecord.h183 int ssl_set_record_protocol_version(SSL_CONNECTION *s, int vers);
H A Drec_layer_s3.c1473 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.c2110 static void check_for_downgrade(SSL_CONNECTION *s, int vers, DOWNGRADE *dgrd) in check_for_downgrade() argument
2112 if (vers == TLS1_2_VERSION in check_for_downgrade()
2116 && 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 45 milliseconds