Merge pull request #9327 from eleuzi01/issue-9319

Remove hacks about asm vs constant-flow testing
This commit is contained in:
Manuel Pégourié-Gonnard
2024-09-03 07:37:02 +00:00
committed by GitHub
3 changed files with 31 additions and 17 deletions

View File

@@ -236,6 +236,9 @@
#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN) && !defined(MBEDTLS_HAS_MEMSAN)
#error "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN requires building with MemorySanitizer"
#endif
#if defined(MBEDTLS_HAS_MEMSAN) && defined(MBEDTLS_HAVE_ASM)
#error "MemorySanitizer does not support assembly implementation"
#endif
#undef MBEDTLS_HAS_MEMSAN // temporary macro defined above
#if defined(MBEDTLS_CCM_C) && \