mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +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
|
|
@ -52,7 +52,7 @@ extern "C" {
|
|||
|
||||
#if !defined(MBEDTLS_CHACHA20_ALT)
|
||||
|
||||
typedef struct
|
||||
typedef struct mbedtls_chacha20_context
|
||||
{
|
||||
uint32_t state[16]; /*! The state (before round operations). */
|
||||
uint8_t keystream8[64]; /*! Leftover keystream bytes. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue