forked from gojue/ecapture
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(boringssl): add support Android15 BoringSSL
fix(gojue#659) via: https://android.googlesource.com/platform/external/boringssl/+/refs/heads/android15-release
- Loading branch information
Showing
4 changed files
with
119 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
#ifndef ECAPTURE_BORINGSSL_A_15_KERN_H | ||
#define ECAPTURE_BORINGSSL_A_15_KERN_H | ||
|
||
/* OPENSSL_VERSION_TEXT: OpenSSL 1.1.1 (compatible; BoringSSL) */ | ||
/* OPENSSL_VERSION_NUMBER: 269488255 */ | ||
|
||
// ssl_st->version | ||
#define SSL_ST_VERSION 0x10 | ||
|
||
// ssl_st->session | ||
#define SSL_ST_SESSION 0x58 | ||
|
||
// ssl_st->rbio | ||
#define SSL_ST_RBIO 0x18 | ||
|
||
// ssl_st->wbio | ||
#define SSL_ST_WBIO 0x20 | ||
|
||
// ssl_st->s3 | ||
#define SSL_ST_S3 0x30 | ||
|
||
// ssl_session_st->secret_length | ||
#define SSL_SESSION_ST_SECRET_LENGTH 0xa | ||
|
||
// ssl_session_st->secret | ||
#define SSL_SESSION_ST_SECRET 0xb | ||
|
||
// ssl_session_st->cipher | ||
#define SSL_SESSION_ST_CIPHER 0xc8 | ||
|
||
// bio_st->num | ||
#define BIO_ST_NUM 0x20 | ||
|
||
// bio_st->method | ||
#define BIO_ST_METHOD 0x0 | ||
|
||
// bio_method_st->type | ||
#define BIO_METHOD_ST_TYPE 0x0 | ||
|
||
// ssl_cipher_st->id | ||
#define SSL_CIPHER_ST_ID 0x10 | ||
|
||
// bssl::SSL3_STATE->hs | ||
#define BSSL__SSL3_STATE_HS 0x118 | ||
|
||
// bssl::SSL3_STATE->client_random | ||
#define BSSL__SSL3_STATE_CLIENT_RANDOM 0x30 | ||
|
||
// bssl::SSL3_STATE->exporter_secret | ||
#define BSSL__SSL3_STATE_EXPORTER_SECRET 0x180 | ||
|
||
// bssl::SSL3_STATE->established_session | ||
#define BSSL__SSL3_STATE_ESTABLISHED_SESSION 0x1d0 | ||
|
||
// bssl::SSL_HANDSHAKE->new_session | ||
#define BSSL__SSL_HANDSHAKE_NEW_SESSION 0x5e0 | ||
|
||
// bssl::SSL_HANDSHAKE->early_session | ||
#define BSSL__SSL_HANDSHAKE_EARLY_SESSION 0x5e8 | ||
|
||
// bssl::SSL_HANDSHAKE->hints | ||
#define BSSL__SSL_HANDSHAKE_HINTS 0x618 | ||
|
||
// bssl::SSL_HANDSHAKE->client_version | ||
#define BSSL__SSL_HANDSHAKE_CLIENT_VERSION 0x624 | ||
|
||
// bssl::SSL_HANDSHAKE->state | ||
#define BSSL__SSL_HANDSHAKE_STATE 0x14 | ||
|
||
// bssl::SSL_HANDSHAKE->tls13_state | ||
#define BSSL__SSL_HANDSHAKE_TLS13_STATE 0x18 | ||
|
||
// bssl::SSL_HANDSHAKE->max_version | ||
#define BSSL__SSL_HANDSHAKE_MAX_VERSION 0x1e | ||
|
||
#include "boringssl_const.h" | ||
#include "boringssl_masterkey.h" | ||
#include "openssl.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