1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-05 19:35:48 +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 9b1ec06287
commit 4115440aa7

View File

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