Skip to content

Commit 60e1c03

Browse files
authored
Update cmac.h to move CmacType down for build compatibility
1 parent 967dc44 commit 60e1c03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/wolfcrypt/cmac.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ typedef enum CmacType {
5252
#define WC_CMAC_TYPE_DEFINED
5353
#endif
5454
struct Cmac {
55-
CmacType type;
5655
#ifndef NO_AES
5756
Aes aes;
5857
byte buffer[AES_BLOCK_SIZE]; /* partially stored block */
@@ -80,6 +79,7 @@ struct Cmac {
8079
#ifdef WOLFSSL_SE050
8180
byte useSWCrypt; /* Use SW crypt instead of SE050, before SCP03 auth */
8281
#endif
82+
CmacType type;
8383
};
8484

8585

0 commit comments

Comments
 (0)