Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions btls/btls.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ extern "C" {

#define SSL_BELTCTR 0x02000000U
#define SSL_BELTDWP 0x01000000U
#define SSL_BELTCHE 0x04000000U
#define SSL_BASHPRGAE 0x08000000U

#define SSL_BELTMAC 0x00001000U
#define SSL_HBELT 0x00002000U
Expand Down Expand Up @@ -71,6 +73,11 @@ extern "C" {
#define SSL_TXT_BELTCTR "BELTCTR"
#define SSL_TXT_BELTMAC "BELTMAC"
#define SSL_TXT_BELTDWP "BELTDWP"
#define SSL_TXT_BELTCHE "BELTCHE"
#define SSL_TXT_BASHPRGAE "BASHPRGAE"

# define EVP_BELTCHE_TLS_TAG_LEN 8
# define EVP_BASHPRGAE_TLS_TAG_LEN 32

/* tls1.h */
# define TLS_CT_BIGN_SIGN 231
Expand Down Expand Up @@ -111,6 +118,18 @@ extern "C" {
# define BTLS1_TXT_DHT_PSK_BIGN_WITH_BELT_DWP_HBELT\
"DHT-PSK-BIGN-WITH-BELT-DWP-HBELT"

# define BTLS1_RFC_BELT_CHE256_BELT_HASH\
"BTLS_BELT_CHE256_BELT_HASH"
# define BTLS1_TXT_BELT_CHE256_BELT_HASH\
"BTLS_BELT_CHE256_BELT_HASH"
# define BTLS1_3_CK_BELT_CHE256_BELT_HASH 0x0300ff1d

# define BTLS1_RFC_BASH_PRG_AE256_BASH256\
"BTLS_BASH_PRG_AE256_BASH256"
# define BTLS1_TXT_BASH_PRG_AE256_BASH256\
"BTLS_BASH_PRG_AE256_BASH256"
# define BTLS1_3_CK_BASH_PRG_AE256_BASH256 0x0300ff1e

/* t1_lib.c */

#define BIGN_CURVE256V1_ID 0x0200
Expand Down
Loading