1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Mark y as modified in x86 asm for mbedtls_ct_uint_lt

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman
2023-09-08 17:57:40 +01:00
parent 4a97e73661
commit 3f8e483eed

View File

@ -366,9 +366,9 @@ static inline mbedtls_ct_condition_t mbedtls_ct_uint_lt(mbedtls_ct_uint_t x, mbe
"sar $31, %[x] \n\t"
:
[s] "=&b" (s),
[x] "+&a" (x)
[x] "+&a" (x),
[y] "+&c" (y)
:
[y] "c" (y)
:
);
return (mbedtls_ct_condition_t) x;