Functions | Variables
tls13_both.cc File Reference
#include <openssl/ssl.h>
#include <assert.h>
#include <string.h>
#include <utility>
#include <openssl/bytestring.h>
#include <openssl/err.h>
#include <openssl/hkdf.h>
#include <openssl/mem.h>
#include <openssl/stack.h>
#include <openssl/x509.h>
#include "../crypto/internal.h"
#include "internal.h"
Include dependency graph for tls13_both.cc:

Go to the source code of this file.

Functions

bool tls13_add_certificate (SSL_HANDSHAKE *hs)
 
enum ssl_private_key_result_t tls13_add_certificate_verify (SSL_HANDSHAKE *hs)
 
bool tls13_add_finished (SSL_HANDSHAKE *hs)
 
bool tls13_add_key_update (SSL *ssl, int update_requested)
 
bool tls13_get_cert_verify_signature_input (SSL_HANDSHAKE *hs, Array< uint8_t > *out, enum ssl_cert_verify_context_t cert_verify_context)
 
bool tls13_post_handshake (SSL *ssl, const SSLMessage &msg)
 
bool tls13_process_certificate (SSL_HANDSHAKE *hs, const SSLMessage &msg, bool allow_anonymous)
 
bool tls13_process_certificate_verify (SSL_HANDSHAKE *hs, const SSLMessage &msg)
 
bool tls13_process_finished (SSL_HANDSHAKE *hs, const SSLMessage &msg, bool use_saved_value)
 
static bool tls13_receive_key_update (SSL *ssl, const SSLMessage &msg)
 

Variables

const uint8_t kHelloRetryRequest [SSL3_RANDOM_SIZE]
 
const uint8_t kJDK11DowngradeRandom [8]
 
static const BSSL_NAMESPACE_BEGIN uint8_t kMaxKeyUpdates = 32
 
const uint8_t kTLS12DowngradeRandom [8]
 
const uint8_t kTLS13DowngradeRandom [8]
 

Function Documentation

◆ tls13_add_certificate()

bool tls13_add_certificate ( SSL_HANDSHAKE hs)

Definition at line 399 of file tls13_both.cc.

◆ tls13_add_certificate_verify()

enum ssl_private_key_result_t tls13_add_certificate_verify ( SSL_HANDSHAKE hs)

Definition at line 562 of file tls13_both.cc.

◆ tls13_add_finished()

bool tls13_add_finished ( SSL_HANDSHAKE hs)

Definition at line 642 of file tls13_both.cc.

◆ tls13_add_key_update()

bool tls13_add_key_update ( SSL ssl,
int  update_requested 
)

Definition at line 664 of file tls13_both.cc.

◆ tls13_get_cert_verify_signature_input()

bool tls13_get_cert_verify_signature_input ( SSL_HANDSHAKE hs,
Array< uint8_t > *  out,
enum ssl_cert_verify_context_t  cert_verify_context 
)

Definition at line 56 of file tls13_both.cc.

◆ tls13_post_handshake()

bool tls13_post_handshake ( SSL ssl,
const SSLMessage msg 
)

Definition at line 709 of file tls13_both.cc.

◆ tls13_process_certificate()

bool tls13_process_certificate ( SSL_HANDSHAKE hs,
const SSLMessage msg,
bool  allow_anonymous 
)

Definition at line 107 of file tls13_both.cc.

◆ tls13_process_certificate_verify()

bool tls13_process_certificate_verify ( SSL_HANDSHAKE hs,
const SSLMessage msg 
)

Definition at line 327 of file tls13_both.cc.

◆ tls13_process_finished()

bool tls13_process_finished ( SSL_HANDSHAKE hs,
const SSLMessage msg,
bool  use_saved_value 
)

Definition at line 369 of file tls13_both.cc.

◆ tls13_receive_key_update()

static bool tls13_receive_key_update ( SSL ssl,
const SSLMessage msg 
)
static

Definition at line 683 of file tls13_both.cc.

Variable Documentation

◆ kHelloRetryRequest

const uint8_t kHelloRetryRequest[SSL3_RANDOM_SIZE]
Initial value:
= {
0xcf, 0x21, 0xad, 0x74, 0xe5, 0x9a, 0x61, 0x11, 0xbe, 0x1d, 0x8c,
0x02, 0x1e, 0x65, 0xb8, 0x91, 0xc2, 0xa2, 0x11, 0x16, 0x7a, 0xbb,
0x8c, 0x5e, 0x07, 0x9e, 0x09, 0xe2, 0xc8, 0xa8, 0x33, 0x9c,
}

Definition at line 40 of file tls13_both.cc.

◆ kJDK11DowngradeRandom

const uint8_t kJDK11DowngradeRandom[8]
Initial value:
= {0xed, 0xbf, 0xb4, 0xa8,
0xc2, 0x47, 0x10, 0xff}

Definition at line 53 of file tls13_both.cc.

◆ kMaxKeyUpdates

const BSSL_NAMESPACE_BEGIN uint8_t kMaxKeyUpdates = 32
static

Definition at line 38 of file tls13_both.cc.

◆ kTLS12DowngradeRandom

const uint8_t kTLS12DowngradeRandom[8]
Initial value:
= {0x44, 0x4f, 0x57, 0x4e,
0x47, 0x52, 0x44, 0x00}

Definition at line 47 of file tls13_both.cc.

◆ kTLS13DowngradeRandom

const uint8_t kTLS13DowngradeRandom[8]
Initial value:
= {0x44, 0x4f, 0x57, 0x4e,
0x47, 0x52, 0x44, 0x01}

Definition at line 49 of file tls13_both.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:35