3 .globl __sha256_init_ctx
4 .type __sha256_init_ctx, @function
6 movabsq $
-4942790177982912921, %rax
10 movabsq $
-6534734903820487822, %rax
12 movabsq $
-7276294671082564993, %rax
14 movabsq $
6620516960021240235, %rax
17 .size __sha256_init_ctx, .-__sha256_init_ctx
19 .globl __sha256_process_block
20 .type __sha256_process_block, @function
21 __sha256_process_block
:
65 movl
(%rcx
,%rax
), %edx
67 movl
%edx
, (%r14,%rax
)
101 movl
-120(%rsp
), %eax
104 movl
-116(%rsp
), %ebp
106 movl $
1116352408, %r12d
107 movl
-112(%rsp
), %r13d
108 movl
-100(%rsp
), %r10d
109 movl
-104(%rsp
), %r11d
110 movl
-108(%rsp
), %r8d
116 movl
(%r15,%r9), %r12d
143 addl
(%r14,%r9), %eax
160 leal
(%rax
,%r13), %ecx
164 addl
%eax
, -108(%rsp
)
165 addl
%r8d
, -104(%rsp
)
166 addl
%r11d
, -100(%rsp
)
167 addl
%r10d
, -112(%rsp
)
169 addl
%edi
, -116(%rsp
)
171 addl
%ebx
, -120(%rsp
)
176 movl
-108(%rsp
), %ebx
178 movl
-104(%rsp
), %ebx
180 movl
-100(%rsp
), %ebx
182 movl
-112(%rsp
), %ebx
186 movl
-116(%rsp
), %ebx
190 movl
-120(%rsp
), %ebx
200 .size __sha256_process_block, .-__sha256_process_block
202 .globl __sha256_finish_ctx
203 .type __sha256_finish_ctx, @function
219 leaq
48(%rbx
,%r12), %rdi
220 leaq fillbuf
(%rip
), %rsi
231 movq
%rax
, 48(%rbx
,%rdx
,8)
233 call __sha256_process_block
238 movl
(%rbx
,%rax
), %edx
240 movl
%edx
, 0(%rbp
,%rax
)
257 .size __sha256_finish_ctx, .-__sha256_finish_ctx
259 .globl __sha256_process_bytes
260 .type __sha256_process_bytes, @function
261 __sha256_process_bytes
:
295 leaq
48(%rbp
,%rsi
), %rcx
314 call __sha256_process_block
339 call __sha256_process_block
347 leaq
48(%rbp
,%r13), %rdi
368 movq
-8(%r12,%rax
), %rdx
369 movq
%rdx
, -8(%rcx
,%rax
)
373 leal
(%rbx
,%rcx
), %eax
383 movq
(%r12,%rdi
), %r8
385 movq
%r8, (%rdx
,%rdi
)
395 call __sha256_process_block
397 leaq
0(%r13,%r14), %rax
400 leaq
48(%rbp
,%rax
), %rax
413 movzwl
-2(%rax
,%rdx
), %eax
414 movw
%ax
, -2(%r15,%rdx
)
422 movq
-8(%rax
,%rcx
), %rsi
423 movq
%rsi
, -8(%r15,%rcx
)
437 movq
(%rax
,%rdi
), %r8
439 movq
%r8, (%rcx
,%rdi
)
445 movl
-4(%rax
,%rdx
), %eax
446 movl
%eax
, -4(%r15,%rdx
)
454 movl
-4(%r12,%rdx
), %eax
455 movl
%eax
, -4(%rcx
,%rdx
)
459 movzwl
-2(%r12,%rdx
), %eax
460 movw
%ax
, -2(%rcx
,%rdx
)
462 .size __sha256_process_bytes, .-__sha256_process_bytes
533 .type fillbuf, @object