mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Add FIPS required forward declaration of streaming struct
This commit is contained in:
@ -420,11 +420,6 @@ struct Aes {
|
||||
Aes tweak;
|
||||
};
|
||||
|
||||
#ifndef WC_AESXTS_TYPE_DEFINED
|
||||
typedef struct XtsAes XtsAes;
|
||||
#define WC_AESXTS_TYPE_DEFINED
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_AESXTS_STREAM
|
||||
struct XtsAesStreamData {
|
||||
byte tweak_block[AES_BLOCK_SIZE];
|
||||
@ -432,6 +427,12 @@ struct Aes {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef WC_AESXTS_TYPE_DEFINED
|
||||
typedef struct XtsAes XtsAes;
|
||||
typedef struct XtsAesStreamData XtsAesStreamData;
|
||||
#define WC_AESXTS_TYPE_DEFINED
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user