From ea8bc82f85156651259e1c8452152c5d7749ff86 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Mon, 18 Sep 2023 15:17:39 +1000 Subject: [PATCH] SP ARM64 ASM: fix sp_256_mont_dbl_4 In sp_256_mont_dbl_4, not all used registers were in asm clobber list. --- wolfcrypt/src/sp_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/sp_arm64.c b/wolfcrypt/src/sp_arm64.c index 0233d835b..ed7935443 100644 --- a/wolfcrypt/src/sp_arm64.c +++ b/wolfcrypt/src/sp_arm64.c @@ -23108,7 +23108,7 @@ static void sp_256_mont_dbl_4(sp_digit* r, const sp_digit* a, const sp_digit* m) "stp x11, x12, [%[r],16]\n\t" : : [r] "r" (r), [a] "r" (a) - : "memory", "x3", "x4", "x5", "x6", "x7", "x8", "x13", "cc" + : "memory", "x3", "x4", "x5", "x6", "x7", "x8", "x13", "x9", "x10", "x11", "x12", "cc" ); (void)m;