mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-15 23:29:56 +00:00
Make redbean ssl handshake go a little faster
This commit is contained in:
parent
87222aad35
commit
74200a0ea0
6 changed files with 33 additions and 18 deletions
|
@ -572,6 +572,9 @@ frame_size = frame_GPRSAVE + GPRSAVE_SIZE
|
|||
# "blocks" is the message length in SHA512 blocks
|
||||
########################################################################
|
||||
sha512_transform_rorx:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
# Allocate Stack Space
|
||||
mov %rsp, %rax
|
||||
sub $frame_size, %rsp
|
||||
|
@ -683,6 +686,7 @@ sha512_transform_rorx:
|
|||
|
||||
# Restore Stack Pointer
|
||||
mov frame_RSPSAVE(%rsp), %rsp
|
||||
pop %rbp
|
||||
ret
|
||||
.endfn sha512_transform_rorx,globl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue