-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
102 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
#ifndef ECAPTURE_OPENSSL_3_3_2_KERN_H | ||
#define ECAPTURE_OPENSSL_3_3_2_KERN_H | ||
|
||
/* OPENSSL_VERSION_TEXT: OpenSSL 3.3.2 3 Sep 2024 */ | ||
/* OPENSSL_VERSION_NUMBER: 808452128 */ | ||
|
||
// ssl_st->type | ||
#define SSL_ST_TYPE 0x0 | ||
|
||
// ssl_connection_st->version | ||
#define SSL_CONNECTION_ST_VERSION 0x40 | ||
|
||
// ssl_connection_st->session | ||
#define SSL_CONNECTION_ST_SESSION 0x880 | ||
|
||
// ssl_connection_st->s3 | ||
#define SSL_CONNECTION_ST_S3 0x118 | ||
|
||
// ssl_connection_st->rbio | ||
#define SSL_CONNECTION_ST_RBIO 0x48 | ||
|
||
// ssl_connection_st->wbio | ||
#define SSL_CONNECTION_ST_WBIO 0x50 | ||
|
||
// ssl_connection_st->server | ||
#define SSL_CONNECTION_ST_SERVER 0x70 | ||
|
||
// ssl_session_st->master_key | ||
#define SSL_SESSION_ST_MASTER_KEY 0x50 | ||
|
||
// ssl_connection_st->s3.client_random | ||
#define SSL_CONNECTION_ST_S3_CLIENT_RANDOM 0x140 | ||
|
||
// ssl_session_st->cipher | ||
#define SSL_SESSION_ST_CIPHER 0x2f8 | ||
|
||
// ssl_session_st->cipher_id | ||
#define SSL_SESSION_ST_CIPHER_ID 0x300 | ||
|
||
// ssl_cipher_st->id | ||
#define SSL_CIPHER_ST_ID 0x18 | ||
|
||
// ssl_connection_st->handshake_secret | ||
#define SSL_CONNECTION_ST_HANDSHAKE_SECRET 0x53c | ||
|
||
// ssl_connection_st->handshake_traffic_hash | ||
#define SSL_CONNECTION_ST_HANDSHAKE_TRAFFIC_HASH 0x6bc | ||
|
||
// ssl_connection_st->client_app_traffic_secret | ||
#define SSL_CONNECTION_ST_CLIENT_APP_TRAFFIC_SECRET 0x6fc | ||
|
||
// ssl_connection_st->server_app_traffic_secret | ||
#define SSL_CONNECTION_ST_SERVER_APP_TRAFFIC_SECRET 0x73c | ||
|
||
// ssl_connection_st->exporter_master_secret | ||
#define SSL_CONNECTION_ST_EXPORTER_MASTER_SECRET 0x77c | ||
|
||
// bio_st->num | ||
#define BIO_ST_NUM 0x38 | ||
|
||
// bio_st->method | ||
#define BIO_ST_METHOD 0x8 | ||
|
||
// bio_method_st->type | ||
#define BIO_METHOD_ST_TYPE 0x0 | ||
|
||
// quic_conn_st->tls | ||
#define QUIC_CONN_ST_TLS 0x40 | ||
|
||
#define SSL_ST_VERSION SSL_CONNECTION_ST_VERSION | ||
|
||
#define SSL_ST_WBIO SSL_CONNECTION_ST_WBIO | ||
|
||
#define SSL_ST_RBIO SSL_CONNECTION_ST_RBIO | ||
|
||
|
||
#include "openssl.h" | ||
#include "openssl_masterkey_3.2.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters