![]() |
Mbed OS Reference
|
Data Fields | |
| mbedtls_chacha20_context | chacha20_ctx |
| The ChaCha20 context. | |
| mbedtls_poly1305_context | poly1305_ctx |
| The Poly1305 context. | |
| uint64_t | aad_len |
| The length (bytes) of the Additional Authenticated Data. | |
| uint64_t | ciphertext_len |
| The length (bytes) of the ciphertext. | |
| int | state |
| The current state of the context. | |
| mbedtls_chachapoly_mode_t | mode |
| Cipher mode (encrypt or decrypt). | |
Definition at line 67 of file chachapoly.h.
| mbedtls_chacha20_context chacha20_ctx |
The ChaCha20 context.
Definition at line 69 of file chachapoly.h.
| mbedtls_poly1305_context poly1305_ctx |
The Poly1305 context.
Definition at line 70 of file chachapoly.h.
| uint64_t aad_len |
The length (bytes) of the Additional Authenticated Data.
Definition at line 71 of file chachapoly.h.
| uint64_t ciphertext_len |
The length (bytes) of the ciphertext.
Definition at line 72 of file chachapoly.h.
| int state |
The current state of the context.
Definition at line 73 of file chachapoly.h.
Cipher mode (encrypt or decrypt).
Definition at line 74 of file chachapoly.h.