diff options
Diffstat (limited to 'src/lib/libcrypto/rc4/asm/rc4-x86_64.pl')
-rwxr-xr-x | src/lib/libcrypto/rc4/asm/rc4-x86_64.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl b/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl index 8de869489f..2bac7d744d 100755 --- a/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl +++ b/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl | |||
@@ -127,7 +127,9 @@ $code=<<___; | |||
127 | .globl RC4 | 127 | .globl RC4 |
128 | .type RC4,\@function,4 | 128 | .type RC4,\@function,4 |
129 | .align 16 | 129 | .align 16 |
130 | RC4: or $len,$len | 130 | RC4: |
131 | endbr64 | ||
132 | or $len,$len | ||
131 | jne .Lentry | 133 | jne .Lentry |
132 | ret | 134 | ret |
133 | .Lentry: | 135 | .Lentry: |
@@ -433,6 +435,7 @@ $code.=<<___; | |||
433 | .type RC4_set_key,\@function,3 | 435 | .type RC4_set_key,\@function,3 |
434 | .align 16 | 436 | .align 16 |
435 | RC4_set_key: | 437 | RC4_set_key: |
438 | endbr64 | ||
436 | lea 8($dat),$dat | 439 | lea 8($dat),$dat |
437 | lea ($inp,$len),$inp | 440 | lea ($inp,$len),$inp |
438 | neg $len | 441 | neg $len |
@@ -505,6 +508,7 @@ RC4_set_key: | |||
505 | .type RC4_options,\@abi-omnipotent | 508 | .type RC4_options,\@abi-omnipotent |
506 | .align 16 | 509 | .align 16 |
507 | RC4_options: | 510 | RC4_options: |
511 | endbr64 | ||
508 | lea .Lopts(%rip),%rax | 512 | lea .Lopts(%rip),%rax |
509 | mov OPENSSL_ia32cap_P(%rip),%edx | 513 | mov OPENSSL_ia32cap_P(%rip),%edx |
510 | bt \$IA32CAP_BIT0_INTELP4,%edx | 514 | bt \$IA32CAP_BIT0_INTELP4,%edx |