mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Allow to forward declare of public structs #1215
Thanks to forward declare we can declare `struct` in our header file instead making #include
This commit is contained in:
parent
7d728bd70e
commit
428cc52a73
42 changed files with 60 additions and 52 deletions
|
|
@ -60,7 +60,7 @@ mbedtls_chachapoly_mode_t;
|
|||
|
||||
#include "chacha20.h"
|
||||
|
||||
typedef struct
|
||||
typedef struct mbedtls_chachapoly_context
|
||||
{
|
||||
mbedtls_chacha20_context chacha20_ctx; /**< The ChaCha20 context. */
|
||||
mbedtls_poly1305_context poly1305_ctx; /**< The Poly1305 context. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue