OLD | NEW |
1 #if defined(__aarch64__) | 1 #if defined(__aarch64__) |
2 #include "arm_arch.h" | 2 #include <openssl/arm_arch.h> |
3 | 3 |
4 #if __ARM_MAX_ARCH__>=7 | 4 #if __ARM_MAX_ARCH__>=7 |
5 .text | 5 .text |
6 #if !defined(__clang__) | 6 #if !defined(__clang__) |
7 .arch armv8-a+crypto | 7 .arch armv8-a+crypto |
8 #endif | 8 #endif |
9 .align 5 | 9 .align 5 |
10 .Lrcon: | 10 .Lrcon: |
11 .long 0x01,0x01,0x01,0x01 | 11 .long 0x01,0x01,0x01,0x01 |
12 .long 0x0c0f0e0d,0x0c0f0e0d,0x0c0f0e0d,0x0c0f0e0d // rotate-n-splat | 12 .long 0x0c0f0e0d,0x0c0f0e0d,0x0c0f0e0d,0x0c0f0e0d // rotate-n-splat |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 st1 {v2.16b},[x1],#16 | 742 st1 {v2.16b},[x1],#16 |
743 b.eq .Lctr32_done | 743 b.eq .Lctr32_done |
744 st1 {v3.16b},[x1] | 744 st1 {v3.16b},[x1] |
745 | 745 |
746 .Lctr32_done: | 746 .Lctr32_done: |
747 ldr x29,[sp],#16 | 747 ldr x29,[sp],#16 |
748 ret | 748 ret |
749 .size aes_v8_ctr32_encrypt_blocks,.-aes_v8_ctr32_encrypt_blocks | 749 .size aes_v8_ctr32_encrypt_blocks,.-aes_v8_ctr32_encrypt_blocks |
750 #endif | 750 #endif |
751 #endif | 751 #endif |
OLD | NEW |