OLD | NEW |
1 #if defined(__x86_64__) | 1 #if defined(__x86_64__) |
2 .text | 2 .text |
3 | 3 |
4 | 4 |
5 .globl asm_RC4 | 5 .globl asm_RC4 |
6 .hidden asm_RC4 | 6 .hidden asm_RC4 |
7 .type asm_RC4,@function | 7 .type asm_RC4,@function |
8 .align 16 | 8 .align 16 |
9 asm_RC4: | 9 asm_RC4: |
10 orq %rsi,%rsi | 10 orq %rsi,%rsi |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 jnc .Lc2ndloop | 585 jnc .Lc2ndloop |
586 movl $-1,256(%rdi) | 586 movl $-1,256(%rdi) |
587 | 587 |
588 .align 16 | 588 .align 16 |
589 .Lexit_key: | 589 .Lexit_key: |
590 xorl %eax,%eax | 590 xorl %eax,%eax |
591 movl %eax,-8(%rdi) | 591 movl %eax,-8(%rdi) |
592 movl %eax,-4(%rdi) | 592 movl %eax,-4(%rdi) |
593 .byte 0xf3,0xc3 | 593 .byte 0xf3,0xc3 |
594 .size asm_RC4_set_key,.-asm_RC4_set_key | 594 .size asm_RC4_set_key,.-asm_RC4_set_key |
595 | |
596 .globl RC4_options | |
597 .hidden RC4_options | |
598 .type RC4_options,@function | |
599 .align 16 | |
600 RC4_options: | |
601 leaq .Lopts(%rip),%rax | |
602 movq OPENSSL_ia32cap_P(%rip),%rdx | |
603 movl (%rdx),%edx | |
604 btl $20,%edx | |
605 jc .L8xchar | |
606 btl $30,%edx | |
607 jnc .Ldone | |
608 addq $25,%rax | |
609 .byte 0xf3,0xc3 | |
610 .L8xchar: | |
611 addq $12,%rax | |
612 .Ldone: | |
613 .byte 0xf3,0xc3 | |
614 .align 64 | |
615 .Lopts: | |
616 .byte 114,99,52,40,56,120,44,105,110,116,41,0 | |
617 .byte 114,99,52,40,56,120,44,99,104,97,114,41,0 | |
618 .byte 114,99,52,40,49,54,120,44,105,110,116,41,0 | |
619 .byte 82,67,52,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71
,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,1
11,114,103,62,0 | |
620 .align 64 | |
621 .size RC4_options,.-RC4_options | |
622 #endif | 595 #endif |
OLD | NEW |