Skip to content

Commit efa61ad

Browse files
committed
wolfcrypt/src/aes.c: add fallthrough no-op definitions for VECTOR_REGISTERS_{PUSH,POP} to cover WOLFSSL_TI_CRYPT || WOLFSSL_ARMASM.
1 parent 347a17f commit efa61ad

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

wolfcrypt/src/aes.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11093,6 +11093,16 @@ int wc_AesGetKeySize(Aes* aes, word32* keySize)
1109311093

1109411094
#endif /* !WOLFSSL_TI_CRYPT */
1109511095

11096+
/* the earlier do-nothing default definitions for VECTOR_REGISTERS_{PUSH,POP}
11097+
* are missed when WOLFSSL_TI_CRYPT or WOLFSSL_ARMASM.
11098+
*/
11099+
#ifndef VECTOR_REGISTERS_PUSH
11100+
#define VECTOR_REGISTERS_PUSH { WC_DO_NOTHING
11101+
#endif
11102+
#ifndef VECTOR_REGISTERS_POP
11103+
#define VECTOR_REGISTERS_POP } WC_DO_NOTHING
11104+
#endif
11105+
1109611106
#ifdef HAVE_AES_ECB
1109711107
#if defined(WOLFSSL_IMX6_CAAM) && !defined(NO_IMX6_CAAM_AES) && \
1109811108
!defined(WOLFSSL_QNX_CAAM)

0 commit comments

Comments
 (0)