Remove redundant checks in constant_time.c
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
0400ae2f9b
commit
b5b6939fc2
1 changed files with 1 additions and 3 deletions
|
@ -64,9 +64,7 @@
|
||||||
*/
|
*/
|
||||||
#if defined(MBEDTLS_EFFICIENT_UNALIGNED_ACCESS) && defined(MBEDTLS_HAVE_ASM)
|
#if defined(MBEDTLS_EFFICIENT_UNALIGNED_ACCESS) && defined(MBEDTLS_HAVE_ASM)
|
||||||
#if ((defined(__arm__) || defined(__thumb__) || defined(__thumb2__)) && \
|
#if ((defined(__arm__) || defined(__thumb__) || defined(__thumb2__)) && \
|
||||||
(UINTPTR_MAX == 0xfffffffful)) || \
|
(UINTPTR_MAX == 0xfffffffful)) || defined(__aarch64__)
|
||||||
(defined(__aarch64__) && ((UINTPTR_MAX == 0xffffffffull) || \
|
|
||||||
(UINTPTR_MAX == 0xffffffffffffffffull)))
|
|
||||||
/* We check pointer sizes to avoid issues with them not matching register size requirements */
|
/* We check pointer sizes to avoid issues with them not matching register size requirements */
|
||||||
#define MBEDTLS_EFFICIENT_UNALIGNED_VOLATILE_ACCESS
|
#define MBEDTLS_EFFICIENT_UNALIGNED_VOLATILE_ACCESS
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue