summaryrefslogtreecommitdiff
path: root/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2018-11-22 11:47:07 -0800
committerSam Roberts <vieuxtech@gmail.com>2019-01-22 13:33:54 -0800
commit807ed7883a12423270450776f015a7c2348c0913 (patch)
tree00ec21dd290b29c782680ffc2f97e6d59fd2ab2f /deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s
parent57119fbdb200702d6e2cf23428de4c458ae86bbc (diff)
downloadandroid-node-v8-807ed7883a12423270450776f015a7c2348c0913.tar.gz
android-node-v8-807ed7883a12423270450776f015a7c2348c0913.tar.bz2
android-node-v8-807ed7883a12423270450776f015a7c2348c0913.zip
deps: update archs files for OpenSSL-1.1.1a
`cd deps/openssl/config; make` updates all archs dependant files. PR-URL: https://github.com/nodejs/node/pull/25381 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
Diffstat (limited to 'deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s')
-rw-r--r--deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s85
1 files changed, 85 insertions, 0 deletions
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s
index 7f4a01109e..eab5b54b2c 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/bn/rsaz-x86_64.s
@@ -6,14 +6,22 @@
.p2align 5
_rsaz_512_sqr:
+
pushq %rbx
+
pushq %rbp
+
pushq %r12
+
pushq %r13
+
pushq %r14
+
pushq %r15
+
subq $128+24,%rsp
+
L$sqr_body:
movq %rdx,%rbp
movq (%rsi),%rdx
@@ -658,28 +666,45 @@ L$oop_sqrx:
L$sqr_tail:
leaq 128+24+48(%rsp),%rax
+
movq -48(%rax),%r15
+
movq -40(%rax),%r14
+
movq -32(%rax),%r13
+
movq -24(%rax),%r12
+
movq -16(%rax),%rbp
+
movq -8(%rax),%rbx
+
leaq (%rax),%rsp
+
L$sqr_epilogue:
.byte 0xf3,0xc3
+
.globl _rsaz_512_mul
.p2align 5
_rsaz_512_mul:
+
pushq %rbx
+
pushq %rbp
+
pushq %r12
+
pushq %r13
+
pushq %r14
+
pushq %r15
+
subq $128+24,%rsp
+
L$mul_body:
.byte 102,72,15,110,199
.byte 102,72,15,110,201
@@ -741,28 +766,45 @@ L$mul_tail:
call __rsaz_512_subtract
leaq 128+24+48(%rsp),%rax
+
movq -48(%rax),%r15
+
movq -40(%rax),%r14
+
movq -32(%rax),%r13
+
movq -24(%rax),%r12
+
movq -16(%rax),%rbp
+
movq -8(%rax),%rbx
+
leaq (%rax),%rsp
+
L$mul_epilogue:
.byte 0xf3,0xc3
+
.globl _rsaz_512_mul_gather4
.p2align 5
_rsaz_512_mul_gather4:
+
pushq %rbx
+
pushq %rbp
+
pushq %r12
+
pushq %r13
+
pushq %r14
+
pushq %r15
+
subq $152,%rsp
+
L$mul_gather4_body:
movd %r9d,%xmm8
movdqa L$inc+16(%rip),%xmm1
@@ -1151,29 +1193,46 @@ L$mul_gather_tail:
call __rsaz_512_subtract
leaq 128+24+48(%rsp),%rax
+
movq -48(%rax),%r15
+
movq -40(%rax),%r14
+
movq -32(%rax),%r13
+
movq -24(%rax),%r12
+
movq -16(%rax),%rbp
+
movq -8(%rax),%rbx
+
leaq (%rax),%rsp
+
L$mul_gather4_epilogue:
.byte 0xf3,0xc3
+
.globl _rsaz_512_mul_scatter4
.p2align 5
_rsaz_512_mul_scatter4:
+
pushq %rbx
+
pushq %rbp
+
pushq %r12
+
pushq %r13
+
pushq %r14
+
pushq %r15
+
movl %r9d,%r9d
subq $128+24,%rsp
+
L$mul_scatter4_body:
leaq (%r8,%r9,8),%r8
.byte 102,72,15,110,199
@@ -1248,28 +1307,45 @@ L$mul_scatter_tail:
movq %r15,896(%rsi)
leaq 128+24+48(%rsp),%rax
+
movq -48(%rax),%r15
+
movq -40(%rax),%r14
+
movq -32(%rax),%r13
+
movq -24(%rax),%r12
+
movq -16(%rax),%rbp
+
movq -8(%rax),%rbx
+
leaq (%rax),%rsp
+
L$mul_scatter4_epilogue:
.byte 0xf3,0xc3
+
.globl _rsaz_512_mul_by_one
.p2align 5
_rsaz_512_mul_by_one:
+
pushq %rbx
+
pushq %rbp
+
pushq %r12
+
pushq %r13
+
pushq %r14
+
pushq %r15
+
subq $128+24,%rsp
+
L$mul_by_one_body:
movl _OPENSSL_ia32cap_P+8(%rip),%eax
movq %rdx,%rbp
@@ -1312,17 +1388,26 @@ L$by_one_tail:
movq %r15,56(%rdi)
leaq 128+24+48(%rsp),%rax
+
movq -48(%rax),%r15
+
movq -40(%rax),%r14
+
movq -32(%rax),%r13
+
movq -24(%rax),%r12
+
movq -16(%rax),%rbp
+
movq -8(%rax),%rbx
+
leaq (%rax),%rsp
+
L$mul_by_one_epilogue:
.byte 0xf3,0xc3
+
.p2align 5
__rsaz_512_reduce:
movq %r8,%rbx