OLD | NEW |
1 default rel | 1 default rel |
2 %define XMMWORD | 2 %define XMMWORD |
3 %define YMMWORD | 3 %define YMMWORD |
4 %define ZMMWORD | 4 %define ZMMWORD |
5 section .text code align=64 | 5 section .text code align=64 |
6 | 6 |
7 EXTERN OPENSSL_ia32cap_P | 7 EXTERN OPENSSL_ia32cap_P |
8 global aesni_encrypt | 8 global aesni_encrypt |
9 | 9 |
10 ALIGN 16 | 10 ALIGN 16 |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 mov QWORD[16+rsp],rsi | 512 mov QWORD[16+rsp],rsi |
513 mov rax,rsp | 513 mov rax,rsp |
514 $L$SEH_begin_aesni_ecb_encrypt: | 514 $L$SEH_begin_aesni_ecb_encrypt: |
515 mov rdi,rcx | 515 mov rdi,rcx |
516 mov rsi,rdx | 516 mov rsi,rdx |
517 mov rdx,r8 | 517 mov rdx,r8 |
518 mov rcx,r9 | 518 mov rcx,r9 |
519 mov r8,QWORD[40+rsp] | 519 mov r8,QWORD[40+rsp] |
520 | 520 |
521 | 521 |
| 522 lea rsp,[((-88))+rsp] |
| 523 movaps XMMWORD[rsp],xmm6 |
| 524 movaps XMMWORD[16+rsp],xmm7 |
| 525 movaps XMMWORD[32+rsp],xmm8 |
| 526 movaps XMMWORD[48+rsp],xmm9 |
| 527 $L$ecb_enc_body: |
522 and rdx,-16 | 528 and rdx,-16 |
523 jz NEAR $L$ecb_ret | 529 jz NEAR $L$ecb_ret |
524 | 530 |
525 mov eax,DWORD[240+rcx] | 531 mov eax,DWORD[240+rcx] |
526 movups xmm0,XMMWORD[rcx] | 532 movups xmm0,XMMWORD[rcx] |
527 mov r11,rcx | 533 mov r11,rcx |
528 mov r10d,eax | 534 mov r10d,eax |
529 test r8d,r8d | 535 test r8d,r8d |
530 jz NEAR $L$ecb_decrypt | 536 jz NEAR $L$ecb_decrypt |
531 | 537 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 $L$ecb_dec_six: | 812 $L$ecb_dec_six: |
807 call _aesni_decrypt6 | 813 call _aesni_decrypt6 |
808 movups XMMWORD[rsi],xmm2 | 814 movups XMMWORD[rsi],xmm2 |
809 movups XMMWORD[16+rsi],xmm3 | 815 movups XMMWORD[16+rsi],xmm3 |
810 movups XMMWORD[32+rsi],xmm4 | 816 movups XMMWORD[32+rsi],xmm4 |
811 movups XMMWORD[48+rsi],xmm5 | 817 movups XMMWORD[48+rsi],xmm5 |
812 movups XMMWORD[64+rsi],xmm6 | 818 movups XMMWORD[64+rsi],xmm6 |
813 movups XMMWORD[80+rsi],xmm7 | 819 movups XMMWORD[80+rsi],xmm7 |
814 | 820 |
815 $L$ecb_ret: | 821 $L$ecb_ret: |
| 822 movaps xmm6,XMMWORD[rsp] |
| 823 movaps xmm7,XMMWORD[16+rsp] |
| 824 movaps xmm8,XMMWORD[32+rsp] |
| 825 movaps xmm9,XMMWORD[48+rsp] |
| 826 lea rsp,[88+rsp] |
| 827 $L$ecb_enc_ret: |
816 mov rdi,QWORD[8+rsp] ;WIN64 epilogue | 828 mov rdi,QWORD[8+rsp] ;WIN64 epilogue |
817 mov rsi,QWORD[16+rsp] | 829 mov rsi,QWORD[16+rsp] |
818 DB 0F3h,0C3h ;repret | 830 DB 0F3h,0C3h ;repret |
819 $L$SEH_end_aesni_ecb_encrypt: | 831 $L$SEH_end_aesni_ecb_encrypt: |
820 global aesni_ccm64_encrypt_blocks | 832 global aesni_ccm64_encrypt_blocks |
821 | 833 |
822 ALIGN 16 | 834 ALIGN 16 |
823 aesni_ccm64_encrypt_blocks: | 835 aesni_ccm64_encrypt_blocks: |
824 mov QWORD[8+rsp],rdi ;WIN64 prologue | 836 mov QWORD[8+rsp],rdi ;WIN64 prologue |
825 mov QWORD[16+rsp],rsi | 837 mov QWORD[16+rsp],rsi |
(...skipping 2545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3371 DB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 | 3383 DB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 |
3372 | 3384 |
3373 DB 65,69,83,32,102,111,114,32,73,110,116,101,108,32,65,69 | 3385 DB 65,69,83,32,102,111,114,32,73,110,116,101,108,32,65,69 |
3374 DB 83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83 | 3386 DB 83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83 |
3375 DB 32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115 | 3387 DB 32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115 |
3376 DB 115,108,46,111,114,103,62,0 | 3388 DB 115,108,46,111,114,103,62,0 |
3377 ALIGN 64 | 3389 ALIGN 64 |
3378 EXTERN __imp_RtlVirtualUnwind | 3390 EXTERN __imp_RtlVirtualUnwind |
3379 | 3391 |
3380 ALIGN 16 | 3392 ALIGN 16 |
3381 ecb_se_handler: | 3393 ecb_ccm64_se_handler: |
3382 push rsi | 3394 push rsi |
3383 push rdi | 3395 push rdi |
3384 push rbx | 3396 push rbx |
3385 push rbp | |
3386 push r12 | |
3387 push r13 | |
3388 push r14 | |
3389 push r15 | |
3390 pushfq | |
3391 sub rsp,64 | |
3392 | |
3393 mov rax,QWORD[152+r8] | |
3394 | |
3395 jmp NEAR $L$common_seh_tail | |
3396 | |
3397 | |
3398 | |
3399 ALIGN 16 | |
3400 ccm64_se_handler: | |
3401 push rsi | |
3402 push rdi | |
3403 push rbx | |
3404 push rbp | 3397 push rbp |
3405 push r12 | 3398 push r12 |
3406 push r13 | 3399 push r13 |
3407 push r14 | 3400 push r14 |
3408 push r15 | 3401 push r15 |
3409 pushfq | 3402 pushfq |
3410 sub rsp,64 | 3403 sub rsp,64 |
3411 | 3404 |
3412 mov rax,QWORD[120+r8] | 3405 mov rax,QWORD[120+r8] |
3413 mov rbx,QWORD[248+r8] | 3406 mov rbx,QWORD[248+r8] |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3593 DD $L$SEH_end_set_decrypt_key wrt ..imagebase | 3586 DD $L$SEH_end_set_decrypt_key wrt ..imagebase |
3594 DD $L$SEH_info_key wrt ..imagebase | 3587 DD $L$SEH_info_key wrt ..imagebase |
3595 | 3588 |
3596 DD aesni_set_encrypt_key wrt ..imagebase | 3589 DD aesni_set_encrypt_key wrt ..imagebase |
3597 DD $L$SEH_end_set_encrypt_key wrt ..imagebase | 3590 DD $L$SEH_end_set_encrypt_key wrt ..imagebase |
3598 DD $L$SEH_info_key wrt ..imagebase | 3591 DD $L$SEH_info_key wrt ..imagebase |
3599 section .xdata rdata align=8 | 3592 section .xdata rdata align=8 |
3600 ALIGN 8 | 3593 ALIGN 8 |
3601 $L$SEH_info_ecb: | 3594 $L$SEH_info_ecb: |
3602 DB 9,0,0,0 | 3595 DB 9,0,0,0 |
3603 » DD» ecb_se_handler wrt ..imagebase | 3596 » DD» ecb_ccm64_se_handler wrt ..imagebase |
| 3597 » DD» $L$ecb_enc_body wrt ..imagebase,$L$ecb_enc_ret wrt ..imagebase |
3604 $L$SEH_info_ccm64_enc: | 3598 $L$SEH_info_ccm64_enc: |
3605 DB 9,0,0,0 | 3599 DB 9,0,0,0 |
3606 » DD» ccm64_se_handler wrt ..imagebase | 3600 » DD» ecb_ccm64_se_handler wrt ..imagebase |
3607 DD $L$ccm64_enc_body wrt ..imagebase,$L$ccm64_enc_ret wrt ..imageba
se | 3601 DD $L$ccm64_enc_body wrt ..imagebase,$L$ccm64_enc_ret wrt ..imageba
se |
3608 $L$SEH_info_ccm64_dec: | 3602 $L$SEH_info_ccm64_dec: |
3609 DB 9,0,0,0 | 3603 DB 9,0,0,0 |
3610 » DD» ccm64_se_handler wrt ..imagebase | 3604 » DD» ecb_ccm64_se_handler wrt ..imagebase |
3611 DD $L$ccm64_dec_body wrt ..imagebase,$L$ccm64_dec_ret wrt ..imageba
se | 3605 DD $L$ccm64_dec_body wrt ..imagebase,$L$ccm64_dec_ret wrt ..imageba
se |
3612 $L$SEH_info_ctr32: | 3606 $L$SEH_info_ctr32: |
3613 DB 9,0,0,0 | 3607 DB 9,0,0,0 |
3614 DD ctr_xts_se_handler wrt ..imagebase | 3608 DD ctr_xts_se_handler wrt ..imagebase |
3615 DD $L$ctr32_body wrt ..imagebase,$L$ctr32_epilogue wrt ..imagebase | 3609 DD $L$ctr32_body wrt ..imagebase,$L$ctr32_epilogue wrt ..imagebase |
3616 $L$SEH_info_xts_enc: | 3610 $L$SEH_info_xts_enc: |
3617 DB 9,0,0,0 | 3611 DB 9,0,0,0 |
3618 DD ctr_xts_se_handler wrt ..imagebase | 3612 DD ctr_xts_se_handler wrt ..imagebase |
3619 DD $L$xts_enc_body wrt ..imagebase,$L$xts_enc_epilogue wrt ..imageb
ase | 3613 DD $L$xts_enc_body wrt ..imagebase,$L$xts_enc_epilogue wrt ..imageb
ase |
3620 $L$SEH_info_xts_dec: | 3614 $L$SEH_info_xts_dec: |
3621 DB 9,0,0,0 | 3615 DB 9,0,0,0 |
3622 DD ctr_xts_se_handler wrt ..imagebase | 3616 DD ctr_xts_se_handler wrt ..imagebase |
3623 DD $L$xts_dec_body wrt ..imagebase,$L$xts_dec_epilogue wrt ..imageb
ase | 3617 DD $L$xts_dec_body wrt ..imagebase,$L$xts_dec_epilogue wrt ..imageb
ase |
3624 $L$SEH_info_cbc: | 3618 $L$SEH_info_cbc: |
3625 DB 9,0,0,0 | 3619 DB 9,0,0,0 |
3626 DD cbc_se_handler wrt ..imagebase | 3620 DD cbc_se_handler wrt ..imagebase |
3627 $L$SEH_info_key: | 3621 $L$SEH_info_key: |
3628 DB 0x01,0x04,0x01,0x00 | 3622 DB 0x01,0x04,0x01,0x00 |
3629 DB 0x04,0x02,0x00,0x00 | 3623 DB 0x04,0x02,0x00,0x00 |
OLD | NEW |