ReactOS  0.4.15-dev-3718-g2318f7f
mbedtls_chachapoly_context Struct Reference

#include <chachapoly.h>

Collaboration diagram for mbedtls_chachapoly_context:

Public Attributes

mbedtls_chacha20_context chacha20_ctx
 
mbedtls_poly1305_context poly1305_ctx
 
uint64_t aad_len
 
uint64_t ciphertext_len
 
int state
 
mbedtls_chachapoly_mode_t mode
 

Detailed Description

Definition at line 89 of file chachapoly.h.

Member Data Documentation

◆ aad_len

uint64_t mbedtls_chachapoly_context::aad_len

The length (bytes) of the Additional Authenticated Data.

Definition at line 93 of file chachapoly.h.

◆ chacha20_ctx

mbedtls_chacha20_context mbedtls_chachapoly_context::chacha20_ctx

The ChaCha20 context.

Definition at line 91 of file chachapoly.h.

◆ ciphertext_len

uint64_t mbedtls_chachapoly_context::ciphertext_len

The length (bytes) of the ciphertext.

Definition at line 94 of file chachapoly.h.

◆ mode

mbedtls_chachapoly_mode_t mbedtls_chachapoly_context::mode

Cipher mode (encrypt or decrypt).

Definition at line 96 of file chachapoly.h.

◆ poly1305_ctx

mbedtls_poly1305_context mbedtls_chachapoly_context::poly1305_ctx

The Poly1305 context.

Definition at line 92 of file chachapoly.h.

◆ state

int mbedtls_chachapoly_context::state

The current state of the context.

Definition at line 95 of file chachapoly.h.


The documentation for this struct was generated from the following file: