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

Specify register clobbers in mbedtls_aesni_crypt_ecb()

Signed-off-by: Solar Designer <solar@openwall.com>
This commit is contained in:
Solar Designer
2024-11-30 04:42:47 +01:00
parent cd40fa1f09
commit 98910a1437

View File

@ -489,7 +489,7 @@ int mbedtls_aesni_crypt_ecb(mbedtls_aes_context *ctx,
"movdqu %%xmm0, (%4) \n\t" // export output
:
: "r" (ctx->nr), "r" (ctx->buf + ctx->rk_offset), "r" (mode), "r" (input), "r" (output)
: "memory", "cc", "xmm0", "xmm1");
: "memory", "cc", "xmm0", "xmm1", "0", "1");
return 0;