Functions
s3_pkt.cc File Reference
#include <openssl/ssl.h>
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <algorithm>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/mem.h>
#include <openssl/rand.h>
#include "../crypto/err/internal.h"
#include "../crypto/internal.h"
#include "internal.h"
Include dependency graph for s3_pkt.cc:

Go to the source code of this file.

Functions

static BSSL_NAMESPACE_BEGIN int do_tls_write (SSL *ssl, int type, const uint8_t *in, unsigned len)
 
void ssl_send_alert (SSL *ssl, int level, int desc)
 
int ssl_send_alert_impl (SSL *ssl, int level, int desc)
 
int tls_dispatch_alert (SSL *ssl)
 
ssl_open_record_t tls_open_app_data (SSL *ssl, Span< uint8_t > *out, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)
 
ssl_open_record_t tls_open_change_cipher_spec (SSL *ssl, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)
 
int tls_write_app_data (SSL *ssl, bool *out_needs_handshake, const uint8_t *in, int len)
 
static int tls_write_pending (SSL *ssl, int type, const uint8_t *in, unsigned int len)
 

Function Documentation

◆ do_tls_write()

static int do_tls_write ( SSL ssl,
int  type,
const uint8_t in,
unsigned  len 
)
static

Definition at line 218 of file s3_pkt.cc.

◆ ssl_send_alert()

void ssl_send_alert ( SSL ssl,
int  level,
int  desc 
)

Definition at line 379 of file s3_pkt.cc.

◆ ssl_send_alert_impl()

int ssl_send_alert_impl ( SSL ssl,
int  level,
int  desc 
)

Definition at line 396 of file s3_pkt.cc.

◆ tls_dispatch_alert()

int tls_dispatch_alert ( SSL ssl)

Definition at line 424 of file s3_pkt.cc.

◆ tls_open_app_data()

ssl_open_record_t tls_open_app_data ( SSL ssl,
Span< uint8_t > *  out,
size_t *  out_consumed,
uint8_t out_alert,
Span< uint8_t in 
)

Definition at line 297 of file s3_pkt.cc.

◆ tls_open_change_cipher_spec()

ssl_open_record_t tls_open_change_cipher_spec ( SSL ssl,
size_t *  out_consumed,
uint8_t out_alert,
Span< uint8_t in 
)

Definition at line 353 of file s3_pkt.cc.

◆ tls_write_app_data()

int tls_write_app_data ( SSL ssl,
bool out_needs_handshake,
const uint8_t in,
int  len 
)

Definition at line 131 of file s3_pkt.cc.

◆ tls_write_pending()

static int tls_write_pending ( SSL ssl,
int  type,
const uint8_t in,
unsigned int  len 
)
static

Definition at line 199 of file s3_pkt.cc.



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