Mbed OS Reference
Loading...
Searching...
No Matches
mbedtls_chachapoly_context Struct Reference

Data Fields

mbedtls_chacha20_context chacha20_ctx
 The ChaCha20 context. More...
 
mbedtls_poly1305_context poly1305_ctx
 The Poly1305 context. More...
 
uint64_t aad_len
 The length (bytes) of the Additional Authenticated Data. More...
 
uint64_t ciphertext_len
 The length (bytes) of the ciphertext. More...
 
int state
 The current state of the context. More...
 
mbedtls_chachapoly_mode_t mode
 Cipher mode (encrypt or decrypt). More...
 

Detailed Description

Definition at line 67 of file chachapoly.h.

Field Documentation

◆ chacha20_ctx

The ChaCha20 context.

Definition at line 69 of file chachapoly.h.

◆ poly1305_ctx

The Poly1305 context.

Definition at line 70 of file chachapoly.h.

◆ aad_len

uint64_t aad_len

The length (bytes) of the Additional Authenticated Data.

Definition at line 71 of file chachapoly.h.

◆ ciphertext_len

uint64_t ciphertext_len

The length (bytes) of the ciphertext.

Definition at line 72 of file chachapoly.h.

◆ state

int state

The current state of the context.

Definition at line 73 of file chachapoly.h.

◆ mode

Cipher mode (encrypt or decrypt).

Definition at line 74 of file chachapoly.h.