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 017722f043
commit 0abc1ce1ea

@ -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;