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 .private_extern _asm_RC4 | 6 .private_extern _asm_RC4 |
7 | 7 |
8 .p2align 4 | 8 .p2align 4 |
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 L$c2ndloop | 585 jnc L$c2ndloop |
586 movl $-1,256(%rdi) | 586 movl $-1,256(%rdi) |
587 | 587 |
588 .p2align 4 | 588 .p2align 4 |
589 L$exit_key: | 589 L$exit_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 | 594 |
595 | |
596 .globl _RC4_options | |
597 .private_extern _RC4_options | |
598 | |
599 .p2align 4 | |
600 _RC4_options: | |
601 leaq L$opts(%rip),%rax | |
602 movq _OPENSSL_ia32cap_P(%rip),%rdx | |
603 movl (%rdx),%edx | |
604 btl $20,%edx | |
605 jc L$8xchar | |
606 btl $30,%edx | |
607 jnc L$done | |
608 addq $25,%rax | |
609 .byte 0xf3,0xc3 | |
610 L$8xchar: | |
611 addq $12,%rax | |
612 L$done: | |
613 .byte 0xf3,0xc3 | |
614 .p2align 6 | |
615 L$opts: | |
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 .p2align 6 | |
621 | |
622 #endif | 595 #endif |
OLD | NEW |