Use asm instead of __asm in constant_time.c
The original IAR fix submitted to TF-M directly changed asm to __asm. But mbed TLS now has a workaround for such cases hence just remove the original change modification. Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
This commit is contained in:
parent
1ee4d1228c
commit
f1adc2a7a1
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static inline uint32_t mbedtls_get_unaligned_volatile_uint32(volatile const unsi
|
|||
*/
|
||||
uint32_t r;
|
||||
#if defined(MBEDTLS_CT_ARM_ASM)
|
||||
__asm volatile ("ldr %0, [%1]" : "=r" (r) : "r" (p) :);
|
||||
asm volatile ("ldr %0, [%1]" : "=r" (r) : "r" (p) :);
|
||||
#elif defined(MBEDTLS_CT_AARCH64_ASM)
|
||||
asm volatile ("ldr %w0, [%1]" : "=r" (r) : MBEDTLS_ASM_AARCH64_PTR_CONSTRAINT(p) :);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue