| Index: third_party/boringssl/mac-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S
|
| diff --git a/third_party/boringssl/mac-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S b/third_party/boringssl/mac-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S
|
| index 4e5c0f3584dd61befb930d3030acfb7b012b3a25..1c17ee7744dec1e1f0859e58c370562cab24f407 100644
|
| --- a/third_party/boringssl/mac-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S
|
| +++ b/third_party/boringssl/mac-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S
|
| @@ -1,6 +1,9 @@
|
| #if defined(__x86_64__)
|
| .text
|
|
|
| +
|
| +chacha20_poly1305_constants:
|
| +
|
| .p2align 6
|
| .chacha20_consts:
|
| .byte 'e','x','p','a','n','d',' ','3','2','-','b','y','t','e',' ','k'
|
| @@ -214,29 +217,29 @@ hash_ad_tail_loop:
|
| _chacha20_poly1305_open:
|
| .cfi_startproc
|
| pushq %rbp
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %rbx
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r12
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r13
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r14
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r15
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
|
|
|
|
| pushq %r9
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| subq $288 + 32,%rsp
|
| -.cfi_adjust_cfa_offset 288 + 32
|
| -.cfi_offset rbp, -16
|
| -.cfi_offset rbx, -24
|
| -.cfi_offset r12, -32
|
| -.cfi_offset r13, -40
|
| -.cfi_offset r14, -48
|
| -.cfi_offset r15, -56
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| leaq 32(%rsp),%rbp
|
| andq $-32,%rbp
|
| movq %rdx,8+32(%rbp)
|
| @@ -1831,26 +1834,26 @@ open_sse_finalize:
|
| adcq 8+16(%rbp),%r11
|
|
|
| addq $288 + 32,%rsp
|
| -.cfi_adjust_cfa_offset -(288 + 32)
|
| +
|
| popq %r9
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| movq %r10,(%r9)
|
| movq %r11,8(%r9)
|
|
|
| popq %r15
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %r14
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %r13
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %r12
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %rbx
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %rbp
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| .byte 0xf3,0xc3
|
| -.cfi_adjust_cfa_offset (8 * 6) + 288 + 32
|
| +
|
|
|
| open_sse_128:
|
| movdqu .chacha20_consts(%rip),%xmm0
|
| @@ -2095,29 +2098,29 @@ open_sse_128:
|
| _chacha20_poly1305_seal:
|
| .cfi_startproc
|
| pushq %rbp
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %rbx
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r12
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r13
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r14
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| pushq %r15
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
|
|
|
|
| pushq %r9
|
| -.cfi_adjust_cfa_offset 8
|
| +
|
| subq $288 + 32,%rsp
|
| -.cfi_adjust_cfa_offset 288 + 32
|
| -.cfi_offset rbp, -16
|
| -.cfi_offset rbx, -24
|
| -.cfi_offset r12, -32
|
| -.cfi_offset r13, -40
|
| -.cfi_offset r14, -48
|
| -.cfi_offset r15, -56
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| leaq 32(%rsp),%rbp
|
| andq $-32,%rbp
|
| movq %rdx,8+32(%rbp)
|
| @@ -3714,26 +3717,26 @@ seal_sse_finalize:
|
| adcq 8+16(%rbp),%r11
|
|
|
| addq $288 + 32,%rsp
|
| -.cfi_adjust_cfa_offset -(288 + 32)
|
| +
|
| popq %r9
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| movq %r10,0(%r9)
|
| movq %r11,8(%r9)
|
|
|
| popq %r15
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %r14
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %r13
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %r12
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %rbx
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| popq %rbp
|
| -.cfi_adjust_cfa_offset -8
|
| +
|
| .byte 0xf3,0xc3
|
| -.cfi_adjust_cfa_offset (8 * 6) + 288 + 32
|
| +
|
|
|
| seal_sse_128:
|
| movdqu .chacha20_consts(%rip),%xmm0
|
|
|