Classes | Macros | Functions
third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h File Reference
#include <stdlib.h>
#include <openssl/base.h>
#include <openssl/cpu.h>
#include <openssl/type_check.h>
#include "../internal.h"
Include dependency graph for third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  chacha20_poly1305_open_data
 
union  chacha20_poly1305_seal_data
 

Macros

#define POLY1305_TAG_LEN   16
 

Functions

OPENSSL_INLINE int chacha20_poly1305_asm_capable (void)
 
OPENSSL_INLINE void chacha20_poly1305_open (uint8_t *out_plaintext, const uint8_t *ciphertext, size_t plaintext_len, const uint8_t *ad, size_t ad_len, union chacha20_poly1305_open_data *data)
 
OPENSSL_INLINE void chacha20_poly1305_seal (uint8_t *out_ciphertext, const uint8_t *plaintext, size_t plaintext_len, const uint8_t *ad, size_t ad_len, union chacha20_poly1305_seal_data *data)
 
OPENSSL_EXPORT int EVP_sha1_final_with_secret_suffix (SHA_CTX *ctx, uint8_t out[SHA_DIGEST_LENGTH], const uint8_t *in, size_t len, size_t max_len)
 
void EVP_tls_cbc_copy_mac (uint8_t *out, size_t md_size, const uint8_t *in, size_t in_len, size_t orig_len)
 
int EVP_tls_cbc_digest_record (const EVP_MD *md, uint8_t *md_out, size_t *md_out_size, const uint8_t header[13], const uint8_t *data, size_t data_size, size_t data_plus_mac_plus_padding_size, const uint8_t *mac_secret, unsigned mac_secret_length)
 
int EVP_tls_cbc_record_digest_supported (const EVP_MD *md)
 
int EVP_tls_cbc_remove_padding (crypto_word_t *out_padding_ok, size_t *out_len, const uint8_t *in, size_t in_len, size_t block_size, size_t mac_size)
 

Macro Definition Documentation

◆ POLY1305_TAG_LEN

#define POLY1305_TAG_LEN   16

Function Documentation

◆ chacha20_poly1305_asm_capable()

OPENSSL_INLINE int chacha20_poly1305_asm_capable ( void  )

◆ chacha20_poly1305_open()

OPENSSL_INLINE void chacha20_poly1305_open ( uint8_t out_plaintext,
const uint8_t ciphertext,
size_t  plaintext_len,
const uint8_t ad,
size_t  ad_len,
union chacha20_poly1305_open_data data 
)

◆ chacha20_poly1305_seal()

OPENSSL_INLINE void chacha20_poly1305_seal ( uint8_t out_ciphertext,
const uint8_t plaintext,
size_t  plaintext_len,
const uint8_t ad,
size_t  ad_len,
union chacha20_poly1305_seal_data data 
)

◆ EVP_sha1_final_with_secret_suffix()

OPENSSL_EXPORT int EVP_sha1_final_with_secret_suffix ( SHA_CTX ctx,
uint8_t  out[SHA_DIGEST_LENGTH],
const uint8_t in,
size_t  len,
size_t  max_len 
)

Definition at line 177 of file tls_cbc.c.

◆ EVP_tls_cbc_copy_mac()

void EVP_tls_cbc_copy_mac ( uint8_t out,
size_t  md_size,
const uint8_t in,
size_t  in_len,
size_t  orig_len 
)

Definition at line 114 of file tls_cbc.c.

◆ EVP_tls_cbc_digest_record()

int EVP_tls_cbc_digest_record ( const EVP_MD md,
uint8_t md_out,
size_t *  md_out_size,
const uint8_t  header[13],
const uint8_t data,
size_t  data_size,
size_t  data_plus_mac_plus_padding_size,
const uint8_t mac_secret,
unsigned  mac_secret_length 
)

Definition at line 274 of file tls_cbc.c.

◆ EVP_tls_cbc_record_digest_supported()

int EVP_tls_cbc_record_digest_supported ( const EVP_MD md)

Definition at line 270 of file tls_cbc.c.

◆ EVP_tls_cbc_remove_padding()

int EVP_tls_cbc_remove_padding ( crypto_word_t *  out_padding_ok,
size_t *  out_len,
const uint8_t in,
size_t  in_len,
size_t  block_size,
size_t  mac_size 
)

Definition at line 65 of file tls_cbc.c.



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