mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +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
|
||||
#endif
|
||||
struct Cmac {
|
||||
CmacType type;
|
||||
#ifndef NO_AES
|
||||
Aes aes;
|
||||
byte buffer[AES_BLOCK_SIZE]; /* partially stored block */
|
||||
@ -80,6 +79,7 @@ struct Cmac {
|
||||
#ifdef WOLFSSL_SE050
|
||||
byte useSWCrypt; /* Use SW crypt instead of SE050, before SCP03 auth */
|
||||
#endif
|
||||
CmacType type;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user