Merge remote-tracking branch 'public/pr/1560' into development-proposed
* public/pr/1560: Warn if using a memory sanitizer on AESNI
This commit is contained in:
commit
4ca9a45756
@ -32,6 +32,12 @@
|
||||
|
||||
#if defined(MBEDTLS_AESNI_C)
|
||||
|
||||
#if defined(__has_feature)
|
||||
#if __has_feature(memory_sanitizer)
|
||||
#warning "MBEDTLS_AESNI_C is known to cause spurious error reports with some memory sanitizers as they do not understand the assembly code."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "mbedtls/aesni.h"
|
||||
|
||||
#include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user