Skip to content

Commit ea8bc82

Browse files
committed
SP ARM64 ASM: fix sp_256_mont_dbl_4
In sp_256_mont_dbl_4, not all used registers were in asm clobber list.
1 parent 1f2ddb7 commit ea8bc82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/sp_arm64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23108,7 +23108,7 @@ static void sp_256_mont_dbl_4(sp_digit* r, const sp_digit* a, const sp_digit* m)
2310823108
"stp x11, x12, [%[r],16]\n\t"
2310923109
:
2311023110
: [r] "r" (r), [a] "r" (a)
23111-
: "memory", "x3", "x4", "x5", "x6", "x7", "x8", "x13", "cc"
23111+
: "memory", "x3", "x4", "x5", "x6", "x7", "x8", "x13", "x9", "x10", "x11", "x12", "cc"
2311223112
);
2311323113

2311423114
(void)m;

0 commit comments

Comments
 (0)