#include <chachapoly.h>

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 |
| uint64_t mbedtls_chachapoly_context::aad_len |
The length (bytes) of the Additional Authenticated Data.
| mbedtls_chacha20_context mbedtls_chachapoly_context::chacha20_ctx |
The ChaCha20 context.
| uint64_t mbedtls_chachapoly_context::ciphertext_len |
The length (bytes) of the ciphertext.
| mbedtls_chachapoly_mode_t mbedtls_chachapoly_context::mode |
Cipher mode (encrypt or decrypt).
| mbedtls_poly1305_context mbedtls_chachapoly_context::poly1305_ctx |
The Poly1305 context.
| int mbedtls_chachapoly_context::state |
The current state of the context.