Skip to content

Commit

Permalink
deps: update archs files for quictls/openssl-3.0.5+quic
Browse files Browse the repository at this point in the history
After an OpenSSL source update, all the config files need to be
regenerated and committed by:
    $ find archs \( -name \*.s \) -exec rm "{}" \;
    Edit deps/openssl/openssl/crypto/perlasm/x86asm.pl changing #ifdef
    to %ifdef to make it compatible to nasm on windows 32.
    $ make -C deps/openssl/config
    $ git add deps/openssl/config/archs
    $ git add deps/openssl/openssl
    $ git commit

Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
PR-URL: #43693
  • Loading branch information
RafaelGSS committed Jul 6, 2022
1 parent fa72c53 commit dc7af13
Show file tree
Hide file tree
Showing 636 changed files with 15,410 additions and 197,562 deletions.
279 changes: 169 additions & 110 deletions deps/openssl/config/archs/BSD-x86/asm/configdata.pm

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
.type __x86_AES_encrypt_compact,@function
.align 4
__x86_AES_encrypt_compact:
%ifdef __CET__

.byte 243,15,30,251
%endif

movl %edi,20(%esp)
xorl (%edi),%eax
xorl 4(%edi),%ebx
Expand Down Expand Up @@ -261,7 +265,11 @@ L000loop:
.type __sse_AES_encrypt_compact,@function
.align 4
__sse_AES_encrypt_compact:
%ifdef __CET__

.byte 243,15,30,251
%endif

pxor (%edi),%mm0
pxor 8(%edi),%mm4
movl 240(%edi),%esi
Expand Down Expand Up @@ -418,7 +426,11 @@ L002out:
.type __x86_AES_encrypt,@function
.align 4
__x86_AES_encrypt:
%ifdef __CET__

.byte 243,15,30,251
%endif

movl %edi,20(%esp)
xorl (%edi),%eax
xorl 4(%edi),%ebx
Expand Down Expand Up @@ -968,7 +980,11 @@ LAES_Te:
.align 4
_AES_encrypt:
L_AES_encrypt_begin:
%ifdef __CET__

.byte 243,15,30,251
%endif

pushl %ebp
pushl %ebx
pushl %esi
Expand Down Expand Up @@ -1032,7 +1048,11 @@ L005x86:
.type __x86_AES_decrypt_compact,@function
.align 4
__x86_AES_decrypt_compact:
%ifdef __CET__

.byte 243,15,30,251
%endif

movl %edi,20(%esp)
xorl (%edi),%eax
xorl 4(%edi),%ebx
Expand Down Expand Up @@ -1387,7 +1407,11 @@ L006loop:
.type __sse_AES_decrypt_compact,@function
.align 4
__sse_AES_decrypt_compact:
%ifdef __CET__

.byte 243,15,30,251
%endif

pxor (%edi),%mm0
pxor 8(%edi),%mm4
movl 240(%edi),%esi
Expand Down Expand Up @@ -1603,7 +1627,11 @@ L008out:
.type __x86_AES_decrypt,@function
.align 4
__x86_AES_decrypt:
%ifdef __CET__

.byte 243,15,30,251
%endif

movl %edi,20(%esp)
xorl (%edi),%eax
xorl 4(%edi),%ebx
Expand Down Expand Up @@ -2157,7 +2185,11 @@ LAES_Td:
.align 4
_AES_decrypt:
L_AES_decrypt_begin:
%ifdef __CET__

.byte 243,15,30,251
%endif

pushl %ebp
pushl %ebx
pushl %esi
Expand Down Expand Up @@ -2223,7 +2255,11 @@ L011x86:
.align 4
_AES_cbc_encrypt:
L_AES_cbc_encrypt_begin:
%ifdef __CET__

.byte 243,15,30,251
%endif

pushl %ebp
pushl %ebx
pushl %esi
Expand Down Expand Up @@ -2755,7 +2791,11 @@ L039slow_dec_partial_x86:
.type __x86_AES_set_encrypt_key,@function
.align 4
__x86_AES_set_encrypt_key:
%ifdef __CET__

.byte 243,15,30,251
%endif

pushl %ebp
pushl %ebx
pushl %esi
Expand Down Expand Up @@ -2987,15 +3027,23 @@ L045exit:
.align 4
_AES_set_encrypt_key:
L_AES_set_encrypt_key_begin:
%ifdef __CET__

.byte 243,15,30,251
%endif

call __x86_AES_set_encrypt_key
ret
.globl _AES_set_decrypt_key
.type _AES_set_decrypt_key,@function
.align 4
_AES_set_decrypt_key:
L_AES_set_decrypt_key_begin:
%ifdef __CET__

.byte 243,15,30,251
%endif

call __x86_AES_set_encrypt_key
cmpl $0,%eax
je L054proceed
Expand Down
Loading

0 comments on commit dc7af13

Please sign in to comment.