aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-01-07 11:49:17 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2020-01-07 11:49:20 -0500
commit139d962b0bc7250f42d0f2624073e6e017483975 (patch)
tree0b32ff8888932a0e792e18cc7eec85876c8e1b47
parentWork around m68k compiler bug with stack frame (diff)
downloadkbench9000-139d962b0bc7250f42d0f2624073e6e017483975.tar.xz
kbench9000-139d962b0bc7250f42d0f2624073e6e017483975.zip
Update for 5.5
-rw-r--r--curve25519-sandy2x-asm.S20
1 files changed, 10 insertions, 10 deletions
diff --git a/curve25519-sandy2x-asm.S b/curve25519-sandy2x-asm.S
index f2e466b..d710b1b 100644
--- a/curve25519-sandy2x-asm.S
+++ b/curve25519-sandy2x-asm.S
@@ -27,7 +27,7 @@ curve25519_sandy2x_REDMASK51: .quad 0x0007FFFFFFFFFFFF
.text
.align 32
#ifdef CONFIG_AS_AVX
-ENTRY(curve25519_sandy2x_fe51_mul)
+SYM_FUNC_START(curve25519_sandy2x_fe51_mul)
push %rbp
mov %rsp,%rbp
sub $96,%rsp
@@ -200,10 +200,10 @@ ENTRY(curve25519_sandy2x_fe51_mul)
movq 48(%rsp),%rbp
leave
ret
-ENDPROC(curve25519_sandy2x_fe51_mul)
+SYM_FUNC_END(curve25519_sandy2x_fe51_mul)
.align 32
-ENTRY(curve25519_sandy2x_fe51_nsquare)
+SYM_FUNC_START(curve25519_sandy2x_fe51_nsquare)
push %rbp
mov %rsp,%rbp
sub $64,%rsp
@@ -351,10 +351,10 @@ ENTRY(curve25519_sandy2x_fe51_nsquare)
movq 48(%rsp),%rbp
leave
ret
-ENDPROC(curve25519_sandy2x_fe51_nsquare)
+SYM_FUNC_END(curve25519_sandy2x_fe51_nsquare)
.align 32
-ENTRY(curve25519_sandy2x_fe51_pack)
+SYM_FUNC_START(curve25519_sandy2x_fe51_pack)
push %rbp
mov %rsp,%rbp
sub $32,%rsp
@@ -556,10 +556,10 @@ ENTRY(curve25519_sandy2x_fe51_pack)
movq 8(%rsp),%r12
leave
ret
-ENDPROC(curve25519_sandy2x_fe51_pack)
+SYM_FUNC_END(curve25519_sandy2x_fe51_pack)
.align 32
-ENTRY(curve25519_sandy2x_ladder)
+SYM_FUNC_START(curve25519_sandy2x_ladder)
push %rbp
mov %rsp,%rbp
sub $1856,%rsp
@@ -1979,10 +1979,10 @@ ENTRY(curve25519_sandy2x_ladder)
movq 1848(%rsp),%r14
leave
ret
-ENDPROC(curve25519_sandy2x_ladder)
+SYM_FUNC_END(curve25519_sandy2x_ladder)
.align 32
-ENTRY(curve25519_sandy2x_ladder_base)
+SYM_FUNC_START(curve25519_sandy2x_ladder_base)
push %rbp
mov %rsp,%rbp
sub $1568,%rsp
@@ -3257,5 +3257,5 @@ ENTRY(curve25519_sandy2x_ladder_base)
movq 1552(%rsp),%r13
leave
ret
-ENDPROC(curve25519_sandy2x_ladder_base)
+SYM_FUNC_END(curve25519_sandy2x_ladder_base)
#endif /* CONFIG_AS_AVX */