Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #if defined(__x86_64__) | 1 #if defined(__x86_64__) |
| 2 .text | 2 .text |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 .type _bsaes_encrypt8,@function | 7 .type _bsaes_encrypt8,@function |
| 8 .align 64 | 8 .align 64 |
| 9 _bsaes_encrypt8: | 9 _bsaes_encrypt8: |
| 10 leaq .LBS0(%rip),%r11 | 10 leaq .LBS0(%rip),%r11 |
| (...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1058 leaq 128(%rax),%rax | 1058 leaq 128(%rax),%rax |
| 1059 decl %r10d | 1059 decl %r10d |
| 1060 jnz .Lkey_loop | 1060 jnz .Lkey_loop |
| 1061 | 1061 |
| 1062 movdqa 80(%r11),%xmm7 | 1062 movdqa 80(%r11),%xmm7 |
| 1063 | 1063 |
| 1064 .byte 0xf3,0xc3 | 1064 .byte 0xf3,0xc3 |
| 1065 .size _bsaes_key_convert,.-_bsaes_key_convert | 1065 .size _bsaes_key_convert,.-_bsaes_key_convert |
| 1066 | 1066 |
| 1067 .globl bsaes_cbc_encrypt | 1067 .globl bsaes_cbc_encrypt |
| 1068 .hidden bsaes_cbc_encrypt | |
| 1068 .type bsaes_cbc_encrypt,@function | 1069 .type bsaes_cbc_encrypt,@function |
| 1069 .align 16 | 1070 .align 16 |
| 1070 bsaes_cbc_encrypt: | 1071 bsaes_cbc_encrypt: |
| 1071 cmpl $0,%r9d | 1072 cmpl $0,%r9d |
| 1072 jne asm_AES_cbc_encrypt | 1073 jne asm_AES_cbc_encrypt |
| 1073 cmpq $128,%rdx | 1074 cmpq $128,%rdx |
| 1074 jb asm_AES_cbc_encrypt | 1075 jb asm_AES_cbc_encrypt |
| 1075 | 1076 |
| 1076 movq %rsp,%rax | 1077 movq %rsp,%rax |
| 1077 .Lcbc_dec_prologue: | 1078 .Lcbc_dec_prologue: |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1308 movq 96(%rsp),%r12 | 1309 movq 96(%rsp),%r12 |
| 1309 movq 104(%rsp),%rbx | 1310 movq 104(%rsp),%rbx |
| 1310 movq 112(%rsp),%rax | 1311 movq 112(%rsp),%rax |
| 1311 leaq 120(%rsp),%rsp | 1312 leaq 120(%rsp),%rsp |
| 1312 movq %rax,%rbp | 1313 movq %rax,%rbp |
| 1313 .Lcbc_dec_epilogue: | 1314 .Lcbc_dec_epilogue: |
| 1314 .byte 0xf3,0xc3 | 1315 .byte 0xf3,0xc3 |
| 1315 .size bsaes_cbc_encrypt,.-bsaes_cbc_encrypt | 1316 .size bsaes_cbc_encrypt,.-bsaes_cbc_encrypt |
| 1316 | 1317 |
| 1317 .globl bsaes_ctr32_encrypt_blocks | 1318 .globl bsaes_ctr32_encrypt_blocks |
| 1319 .hidden bsaes_ctr32_encrypt_blocks | |
| 1318 .type bsaes_ctr32_encrypt_blocks,@function | 1320 .type bsaes_ctr32_encrypt_blocks,@function |
| 1319 .align 16 | 1321 .align 16 |
| 1320 bsaes_ctr32_encrypt_blocks: | 1322 bsaes_ctr32_encrypt_blocks: |
| 1321 movq %rsp,%rax | 1323 movq %rsp,%rax |
| 1322 .Lctr_enc_prologue: | 1324 .Lctr_enc_prologue: |
| 1323 pushq %rbp | 1325 pushq %rbp |
| 1324 pushq %rbx | 1326 pushq %rbx |
| 1325 pushq %r12 | 1327 pushq %r12 |
| 1326 pushq %r13 | 1328 pushq %r13 |
| 1327 pushq %r14 | 1329 pushq %r14 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1507 movq 88(%rsp),%r13 | 1509 movq 88(%rsp),%r13 |
| 1508 movq 96(%rsp),%r12 | 1510 movq 96(%rsp),%r12 |
| 1509 movq 104(%rsp),%rbx | 1511 movq 104(%rsp),%rbx |
| 1510 movq 112(%rsp),%rax | 1512 movq 112(%rsp),%rax |
| 1511 leaq 120(%rsp),%rsp | 1513 leaq 120(%rsp),%rsp |
| 1512 movq %rax,%rbp | 1514 movq %rax,%rbp |
| 1513 .Lctr_enc_epilogue: | 1515 .Lctr_enc_epilogue: |
| 1514 .byte 0xf3,0xc3 | 1516 .byte 0xf3,0xc3 |
| 1515 .size bsaes_ctr32_encrypt_blocks,.-bsaes_ctr32_encrypt_blocks | 1517 .size bsaes_ctr32_encrypt_blocks,.-bsaes_ctr32_encrypt_blocks |
| 1516 .globl bsaes_xts_encrypt | 1518 .globl bsaes_xts_encrypt |
| 1519 .hidden bsaes_xts_encrypt | |
| 1517 .type bsaes_xts_encrypt,@function | 1520 .type bsaes_xts_encrypt,@function |
| 1518 .align 16 | 1521 .align 16 |
| 1519 bsaes_xts_encrypt: | 1522 bsaes_xts_encrypt: |
| 1520 movq %rsp,%rax | 1523 movq %rsp,%rax |
| 1521 .Lxts_enc_prologue: | 1524 .Lxts_enc_prologue: |
| 1522 pushq %rbp | 1525 pushq %rbp |
| 1523 pushq %rbx | 1526 pushq %rbx |
| 1524 pushq %r12 | 1527 pushq %r12 |
| 1525 pushq %r13 | 1528 pushq %r13 |
| 1526 pushq %r14 | 1529 pushq %r14 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1959 movq 96(%rsp),%r12 | 1962 movq 96(%rsp),%r12 |
| 1960 movq 104(%rsp),%rbx | 1963 movq 104(%rsp),%rbx |
| 1961 movq 112(%rsp),%rax | 1964 movq 112(%rsp),%rax |
| 1962 leaq 120(%rsp),%rsp | 1965 leaq 120(%rsp),%rsp |
| 1963 movq %rax,%rbp | 1966 movq %rax,%rbp |
| 1964 .Lxts_enc_epilogue: | 1967 .Lxts_enc_epilogue: |
| 1965 .byte 0xf3,0xc3 | 1968 .byte 0xf3,0xc3 |
| 1966 .size bsaes_xts_encrypt,.-bsaes_xts_encrypt | 1969 .size bsaes_xts_encrypt,.-bsaes_xts_encrypt |
| 1967 | 1970 |
| 1968 .globl bsaes_xts_decrypt | 1971 .globl bsaes_xts_decrypt |
| 1972 .hidden bsaes_xts_decrypt | |
| 1969 .type bsaes_xts_decrypt,@function | 1973 .type bsaes_xts_decrypt,@function |
| 1970 .align 16 | 1974 .align 16 |
| 1971 bsaes_xts_decrypt: | 1975 bsaes_xts_decrypt: |
| 1972 movq %rsp,%rax | 1976 movq %rsp,%rax |
| 1973 .Lxts_dec_prologue: | 1977 .Lxts_dec_prologue: |
| 1974 pushq %rbp | 1978 pushq %rbp |
| 1975 pushq %rbx | 1979 pushq %rbx |
| 1976 pushq %r12 | 1980 pushq %r12 |
| 1977 pushq %r13 | 1981 pushq %r13 |
| 1978 pushq %r14 | 1982 pushq %r14 |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2491 .quad 0x0404040404040404, 0x0404040404040404 | 2495 .quad 0x0404040404040404, 0x0404040404040404 |
| 2492 .quad 0x0808080808080808, 0x0808080808080808 | 2496 .quad 0x0808080808080808, 0x0808080808080808 |
| 2493 .LM0: | 2497 .LM0: |
| 2494 .quad 0x02060a0e03070b0f, 0x0004080c0105090d | 2498 .quad 0x02060a0e03070b0f, 0x0004080c0105090d |
| 2495 .L63: | 2499 .L63: |
| 2496 .quad 0x6363636363636363, 0x6363636363636363 | 2500 .quad 0x6363636363636363, 0x6363636363636363 |
| 2497 .byte 66,105,116,45,115,108,105,99,101,100,32,65,69,83,32,102,111,114,32,120,5 6,54,95,54,52,47,83,83,83,69,51,44,32,69,109,105,108,105,97,32,75,195,164,115,11 2,101,114,44,32,80,101,116,101,114,32,83,99,104,119,97,98,101,44,32,65,110,100,1 21,32,80,111,108,121,97,107,111,118,0 | 2501 .byte 66,105,116,45,115,108,105,99,101,100,32,65,69,83,32,102,111,114,32,120,5 6,54,95,54,52,47,83,83,83,69,51,44,32,69,109,105,108,105,97,32,75,195,164,115,11 2,101,114,44,32,80,101,116,101,114,32,83,99,104,119,97,98,101,44,32,65,110,100,1 21,32,80,111,108,121,97,107,111,118,0 |
| 2498 .align 64 | 2502 .align 64 |
| 2499 .size _bsaes_const,.-_bsaes_const | 2503 .size _bsaes_const,.-_bsaes_const |
| 2500 #endif | 2504 #endif |
| OLD | NEW |