Skip to content

Commit

Permalink
Update generated-src
Browse files Browse the repository at this point in the history
  • Loading branch information
dkostic committed Dec 5, 2023
1 parent 5029cf8 commit 0e1cde8
Show file tree
Hide file tree
Showing 63 changed files with 563 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generated-src/linux-x86_64/crypto/chacha/chacha-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
.align 64
ChaCha20_ctr32:
.cfi_startproc
_CET_ENDBR
cmpq $0,%rdx
je .Lno_data
movq OPENSSL_ia32cap_P+4(%rip),%r10
Expand Down Expand Up @@ -334,6 +335,7 @@ ChaCha20_ctr32:
ChaCha20_ssse3:
.LChaCha20_ssse3:
.cfi_startproc
_CET_ENDBR
movq %rsp,%r9
.cfi_def_cfa_register r9
cmpq $128,%rdx
Expand Down Expand Up @@ -471,6 +473,7 @@ ChaCha20_ssse3:
ChaCha20_4x:
.LChaCha20_4x:
.cfi_startproc
_CET_ENDBR
movq %rsp,%r9
.cfi_def_cfa_register r9
movq %r10,%r11
Expand Down Expand Up @@ -1023,6 +1026,7 @@ ChaCha20_4x:
ChaCha20_8x:
.LChaCha20_8x:
.cfi_startproc
_CET_ENDBR
movq %rsp,%r9
.cfi_def_cfa_register r9
subq $0x280+8,%rsp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ and_mask:
.align 16
GFMUL:
.cfi_startproc
_CET_ENDBR
vpclmulqdq $0x00,%xmm1,%xmm0,%xmm2
vpclmulqdq $0x11,%xmm1,%xmm0,%xmm5
vpclmulqdq $0x10,%xmm1,%xmm0,%xmm3
Expand Down Expand Up @@ -71,6 +72,7 @@ GFMUL:
.align 16
aesgcmsiv_htable_init:
.cfi_startproc
_CET_ENDBR
vmovdqa (%rsi),%xmm0
vmovdqa %xmm0,%xmm1
vmovdqa %xmm0,(%rdi)
Expand All @@ -97,6 +99,7 @@ aesgcmsiv_htable_init:
.align 16
aesgcmsiv_htable6_init:
.cfi_startproc
_CET_ENDBR
vmovdqa (%rsi),%xmm0
vmovdqa %xmm0,%xmm1
vmovdqa %xmm0,(%rdi)
Expand All @@ -119,6 +122,7 @@ aesgcmsiv_htable6_init:
.align 16
aesgcmsiv_htable_polyval:
.cfi_startproc
_CET_ENDBR
testq %rdx,%rdx
jnz .Lhtable_polyval_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -336,6 +340,7 @@ aesgcmsiv_htable_polyval:
.align 16
aesgcmsiv_polyval_horner:
.cfi_startproc
_CET_ENDBR
testq %rcx,%rcx
jnz .Lpolyval_horner_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -369,6 +374,7 @@ aesgcmsiv_polyval_horner:
.align 16
aes128gcmsiv_aes_ks:
.cfi_startproc
_CET_ENDBR
vmovdqu (%rdi),%xmm1
vmovdqa %xmm1,(%rsi)

Expand Down Expand Up @@ -425,6 +431,7 @@ aes128gcmsiv_aes_ks:
.align 16
aes256gcmsiv_aes_ks:
.cfi_startproc
_CET_ENDBR
vmovdqu (%rdi),%xmm1
vmovdqu 16(%rdi),%xmm3
vmovdqa %xmm1,(%rsi)
Expand Down Expand Up @@ -472,6 +479,7 @@ aes256gcmsiv_aes_ks:
.align 16
aes128gcmsiv_aes_ks_enc_x1:
.cfi_startproc
_CET_ENDBR
vmovdqa (%rcx),%xmm1
vmovdqa 0(%rdi),%xmm4

Expand Down Expand Up @@ -614,6 +622,7 @@ aes128gcmsiv_aes_ks_enc_x1:
.align 16
aes128gcmsiv_kdf:
.cfi_startproc
_CET_ENDBR



Expand Down Expand Up @@ -707,6 +716,7 @@ aes128gcmsiv_kdf:
.align 16
aes128gcmsiv_enc_msg_x4:
.cfi_startproc
_CET_ENDBR
testq %r8,%r8
jnz .L128_enc_msg_x4_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -886,6 +896,7 @@ aes128gcmsiv_enc_msg_x4:
.align 16
aes128gcmsiv_enc_msg_x8:
.cfi_startproc
_CET_ENDBR
testq %r8,%r8
jnz .L128_enc_msg_x8_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -1147,6 +1158,7 @@ aes128gcmsiv_enc_msg_x8:
.align 16
aes128gcmsiv_dec:
.cfi_startproc
_CET_ENDBR
testq $~15,%r9
jnz .L128_dec_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -1639,6 +1651,7 @@ aes128gcmsiv_dec:
.align 16
aes128gcmsiv_ecb_enc_block:
.cfi_startproc
_CET_ENDBR
vmovdqa (%rdi),%xmm1

vpxor (%rdx),%xmm1,%xmm1
Expand All @@ -1664,6 +1677,7 @@ aes128gcmsiv_ecb_enc_block:
.align 16
aes256gcmsiv_aes_ks_enc_x1:
.cfi_startproc
_CET_ENDBR
vmovdqa con1(%rip),%xmm0
vmovdqa mask(%rip),%xmm15
vmovdqa (%rdi),%xmm8
Expand Down Expand Up @@ -1847,6 +1861,7 @@ aes256gcmsiv_aes_ks_enc_x1:
.align 16
aes256gcmsiv_ecb_enc_block:
.cfi_startproc
_CET_ENDBR
vmovdqa (%rdi),%xmm1
vpxor (%rdx),%xmm1,%xmm1
vaesenc 16(%rdx),%xmm1,%xmm1
Expand All @@ -1873,6 +1888,7 @@ aes256gcmsiv_ecb_enc_block:
.align 16
aes256gcmsiv_enc_msg_x4:
.cfi_startproc
_CET_ENDBR
testq %r8,%r8
jnz .L256_enc_msg_x4_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -2074,6 +2090,7 @@ aes256gcmsiv_enc_msg_x4:
.align 16
aes256gcmsiv_enc_msg_x8:
.cfi_startproc
_CET_ENDBR
testq %r8,%r8
jnz .L256_enc_msg_x8_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -2363,6 +2380,7 @@ aes256gcmsiv_enc_msg_x8:
.align 16
aes256gcmsiv_dec:
.cfi_startproc
_CET_ENDBR
testq $~15,%r9
jnz .L256_dec_start
.byte 0xf3,0xc3
Expand Down Expand Up @@ -2923,6 +2941,7 @@ aes256gcmsiv_dec:
.align 16
aes256gcmsiv_kdf:
.cfi_startproc
_CET_ENDBR



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.align 32
aesni_cbc_sha1_enc:
.cfi_startproc
_CET_ENDBR

movl OPENSSL_ia32cap_P+0(%rip),%r10d
movq OPENSSL_ia32cap_P+4(%rip),%r11
Expand All @@ -32,6 +33,7 @@ aesni_cbc_sha1_enc:
.align 32
aesni_cbc_sha1_enc_ssse3:
.cfi_startproc
_CET_ENDBR
movq 8(%rsp),%r10


Expand Down Expand Up @@ -1409,6 +1411,7 @@ aesni_cbc_sha1_enc_ssse3:
.align 32
aesni_cbc_sha1_enc_avx:
.cfi_startproc
_CET_ENDBR
movq 8(%rsp),%r10


Expand Down Expand Up @@ -2741,6 +2744,7 @@ K_XX_XX:
.align 32
aesni_cbc_sha1_enc_shaext:
.cfi_startproc
_CET_ENDBR
movq 8(%rsp),%r10
movdqu (%r9),%xmm8
movd 16(%r9),%xmm9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.align 16
aesni_cbc_sha256_enc:
.cfi_startproc
_CET_ENDBR
leaq OPENSSL_ia32cap_P(%rip),%r11
movl $1,%eax
cmpq $0,%rdi
Expand Down Expand Up @@ -88,6 +89,7 @@ K256:
.align 64
aesni_cbc_sha256_enc_xop:
.cfi_startproc
_CET_ENDBR
.Lxop_shortcut:
movq 8(%rsp),%r10
movq %rsp,%rax
Expand Down Expand Up @@ -1252,6 +1254,7 @@ aesni_cbc_sha256_enc_xop:
.align 64
aesni_cbc_sha256_enc_avx:
.cfi_startproc
_CET_ENDBR
.Lavx_shortcut:
movq 8(%rsp),%r10
movq %rsp,%rax
Expand Down Expand Up @@ -2447,6 +2450,7 @@ aesni_cbc_sha256_enc_avx:
.align 64
aesni_cbc_sha256_enc_avx2:
.cfi_startproc
_CET_ENDBR
.Lavx2_shortcut:
movq 8(%rsp),%r10
movq %rsp,%rax
Expand Down Expand Up @@ -4090,6 +4094,7 @@ aesni_cbc_sha256_enc_avx2:
.align 32
aesni_cbc_sha256_enc_shaext:
.cfi_startproc
_CET_ENDBR
movq 8(%rsp),%r10
leaq K256+128(%rip),%rax
movdqu (%r9),%xmm1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ chacha20_poly1305_constants:
.align 64
poly_hash_ad_internal:
.cfi_startproc
_CET_ENDBR
.cfi_def_cfa rsp, 8
xorq %r10,%r10
xorq %r11,%r11
Expand Down Expand Up @@ -223,6 +224,7 @@ poly_hash_ad_internal:
.align 64
chacha20_poly1305_open:
.cfi_startproc
_CET_ENDBR
pushq %rbp
.cfi_adjust_cfa_offset 8
.cfi_offset %rbp,-16
Expand Down Expand Up @@ -2108,6 +2110,7 @@ chacha20_poly1305_open:
.align 64
chacha20_poly1305_seal:
.cfi_startproc
_CET_ENDBR
pushq %rbp
.cfi_adjust_cfa_offset 8
.cfi_offset %rbp,-16
Expand Down Expand Up @@ -4106,6 +4109,7 @@ process_extra_in_trailer:
.align 64
chacha20_poly1305_open_avx2:
.cfi_startproc
_CET_ENDBR


.cfi_adjust_cfa_offset 8
Expand Down Expand Up @@ -6261,6 +6265,7 @@ chacha20_poly1305_open_avx2:
.align 64
chacha20_poly1305_seal_avx2:
.cfi_startproc
_CET_ENDBR


.cfi_adjust_cfa_offset 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.align 32
_aesni_ctr32_ghash_6x:
.cfi_startproc
_CET_ENDBR
vmovdqu 32(%r11),%xmm2
subq $6,%rdx
vpxor %xmm4,%xmm4,%xmm4
Expand Down Expand Up @@ -345,6 +346,7 @@ _aesni_ctr32_ghash_6x:
.align 32
aesni_gcm_decrypt:
.cfi_startproc
_CET_ENDBR

xorq %rax,%rax

Expand Down Expand Up @@ -473,6 +475,7 @@ aesni_gcm_decrypt:
.align 32
_aesni_ctr32_6x:
.cfi_startproc
_CET_ENDBR
vmovdqu 0-128(%rcx),%xmm4
vmovdqu 32(%r11),%xmm2
leaq -1(%r10),%r13
Expand Down Expand Up @@ -568,6 +571,7 @@ _aesni_ctr32_6x:
.align 32
aesni_gcm_encrypt:
.cfi_startproc
_CET_ENDBR

#ifdef BORINGSSL_DISPATCH_TEST
.extern BORINGSSL_function_hit
Expand Down
Loading

0 comments on commit 0e1cde8

Please sign in to comment.