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