/openssl/ssl/record/methods/ |
H A D | tlsany_meth.c | 130 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 D | dtls_meth.c | 625 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 D | ktls_meth.c | 403 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 D | tls_common.c | 1251 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 D | recmethod_local.h | 440 tls_int_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers,
|
/openssl/test/testutil/ |
H A D | provider.c | 77 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 D | fipsinstall.c | 293 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 D | t1_trce.c | 686 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 D | recordmethod.h | 123 const char *propq, int vers,
|
/openssl/ssl/record/ |
H A D | record.h | 183 int ssl_set_record_protocol_version(SSL_CONNECTION *s, int vers);
|
H A D | rec_layer_s3.c | 1473 int ssl_set_record_protocol_version(SSL_CONNECTION *s, int vers) in ssl_set_record_protocol_version() argument
|
/openssl/ssl/quic/ |
H A D | quic_tls.c | 91 quic_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers, in quic_new_record_layer() argument
|
/openssl/ssl/statem/ |
H A D | statem_lib.c | 2110 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 D | record-layer.md | 369 * set by |vers|. |role| is 0 for client and 1 for server. |direction| 401 const char *propq, int vers,
|