mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 11:44:38 +02:00
Update cmac.h to move CmacType down for build compatibility
This commit is contained in:
@@ -52,7 +52,6 @@ typedef enum CmacType {
|
|||||||
#define WC_CMAC_TYPE_DEFINED
|
#define WC_CMAC_TYPE_DEFINED
|
||||||
#endif
|
#endif
|
||||||
struct Cmac {
|
struct Cmac {
|
||||||
CmacType type;
|
|
||||||
#ifndef NO_AES
|
#ifndef NO_AES
|
||||||
Aes aes;
|
Aes aes;
|
||||||
byte buffer[AES_BLOCK_SIZE]; /* partially stored block */
|
byte buffer[AES_BLOCK_SIZE]; /* partially stored block */
|
||||||
@@ -80,6 +79,7 @@ struct Cmac {
|
|||||||
#ifdef WOLFSSL_SE050
|
#ifdef WOLFSSL_SE050
|
||||||
byte useSWCrypt; /* Use SW crypt instead of SE050, before SCP03 auth */
|
byte useSWCrypt; /* Use SW crypt instead of SE050, before SCP03 auth */
|
||||||
#endif
|
#endif
|
||||||
|
CmacType type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user