#include <stdlib.h>
#include <openssl/base.h>
#include <openssl/cpu.h>
#include <openssl/type_check.h>
#include "../internal.h"
Go to the source code of this file.
|
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) |
|
◆ POLY1305_TAG_LEN
#define POLY1305_TAG_LEN 16 |
◆ chacha20_poly1305_asm_capable()
◆ chacha20_poly1305_open()
◆ chacha20_poly1305_seal()
◆ EVP_sha1_final_with_secret_suffix()
◆ 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 |
|
) |
| |
◆ EVP_tls_cbc_digest_record()
◆ EVP_tls_cbc_record_digest_supported()
◆ 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 |
|
) |
| |