Skip to content

Commit ffe3046

Browse files
committed
Curve25519 x64 ASM: nct invert needs vzeroupper
When ymm registers used, vzeroupper is required at end.
1 parent 6264c11 commit ffe3046

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wolfcrypt/src/fe_x25519_asm.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21779,6 +21779,7 @@ L__mod_inv_avx2__3_no_add_prime:
2177921779
movq %r8, 8(%rdi)
2178021780
movq %r10, 16(%rdi)
2178121781
movq %r12, 24(%rdi)
21782+
vzeroupper
2178221783
popq %rbx
2178321784
popq %r15
2178421785
popq %r14

0 commit comments

Comments
 (0)