Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:48

0001 /*
0002  * Copyright 2021-2023 The OpenSSL Project Authors. All Rights Reserved.
0003  *
0004  * Licensed under the Apache License 2.0 (the "License").  You may not use
0005  * this file except in compliance with the License.  You can obtain a copy
0006  * in the file LICENSE in the source distribution or at
0007  * https://www.openssl.org/source/license.html
0008  */
0009 
0010 #ifndef OPENSSL_PROV_SSL_H
0011 # define OPENSSL_PROV_SSL_H
0012 # pragma once
0013 
0014 # ifdef __cplusplus
0015 extern "C" {
0016 # endif
0017 
0018 /* SSL/TLS related defines useful to providers */
0019 
0020 # define SSL_MAX_MASTER_KEY_LENGTH 48
0021 
0022 /* SSL/TLS uses a 2 byte unsigned version number */
0023 # define SSL3_VERSION                    0x0300
0024 # define TLS1_VERSION                    0x0301
0025 # define TLS1_1_VERSION                  0x0302
0026 # define TLS1_2_VERSION                  0x0303
0027 # define TLS1_3_VERSION                  0x0304
0028 # define DTLS1_VERSION                   0xFEFF
0029 # define DTLS1_2_VERSION                 0xFEFD
0030 # define DTLS1_BAD_VER                   0x0100
0031 
0032 /* QUIC uses a 4 byte unsigned version number */
0033 # define OSSL_QUIC1_VERSION              0x0000001
0034 
0035 # ifdef __cplusplus
0036 }
0037 # endif
0038 #endif /* OPENSSL_PROV_SSL_H */