VirtualBox

source: vbox/trunk/src/libs/openssl-3.4.1/include/openssl/prov_ssl.h

Last change on this file was 109052, checked in by vboxsync, 3 weeks ago

openssl-3.4.1: Applied our changes, regenerated files, added missing files and functions. This time with a three way merge. ​bugref:10890

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/*
2 * Copyright 2021-2023 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#ifndef OPENSSL_PROV_SSL_H
11# define OPENSSL_PROV_SSL_H
12# pragma once
13
14# ifdef __cplusplus
15extern "C" {
16# endif
17
18/* SSL/TLS related defines useful to providers */
19
20# define SSL_MAX_MASTER_KEY_LENGTH 48
21
22/* SSL/TLS uses a 2 byte unsigned version number */
23# define SSL3_VERSION 0x0300
24# define TLS1_VERSION 0x0301
25# define TLS1_1_VERSION 0x0302
26# define TLS1_2_VERSION 0x0303
27# define TLS1_3_VERSION 0x0304
28# define DTLS1_VERSION 0xFEFF
29# define DTLS1_2_VERSION 0xFEFD
30# define DTLS1_BAD_VER 0x0100
31
32/* QUIC uses a 4 byte unsigned version number */
33# define OSSL_QUIC1_VERSION 0x0000001
34
35# ifdef __cplusplus
36}
37# endif
38#endif /* OPENSSL_PROV_SSL_H */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette