OLD | NEW |
1 #if defined(__aarch64__) | 1 #if defined(__aarch64__) |
2 #include "arm_arch.h" | 2 #include <openssl/arm_arch.h> |
3 | 3 |
4 .text | 4 .text |
5 | 5 |
6 | 6 |
7 .globl sha256_block_data_order | 7 .globl sha256_block_data_order |
| 8 .hidden sha256_block_data_order |
8 .type sha256_block_data_order,%function | 9 .type sha256_block_data_order,%function |
9 .align 6 | 10 .align 6 |
10 sha256_block_data_order: | 11 sha256_block_data_order: |
11 ldr x16,.LOPENSSL_armcap_P | 12 ldr x16,.LOPENSSL_armcap_P |
12 adr x17,.LOPENSSL_armcap_P | 13 adr x17,.LOPENSSL_armcap_P |
13 add x16,x16,x17 | 14 add x16,x16,x17 |
14 ldr w16,[x16] | 15 ldr w16,[x16] |
15 tst w16,#ARMV8_SHA256 | 16 tst w16,#ARMV8_SHA256 |
16 b.ne .Lv8_entry | 17 b.ne .Lv8_entry |
17 stp x29,x30,[sp,#-128]! | 18 stp x29,x30,[sp,#-128]! |
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 add v1.4s,v1.4s,v19.4s | 1136 add v1.4s,v1.4s,v19.4s |
1136 | 1137 |
1137 cbnz x2,.Loop_hw | 1138 cbnz x2,.Loop_hw |
1138 | 1139 |
1139 st1 {v0.4s,v1.4s},[x0] | 1140 st1 {v0.4s,v1.4s},[x0] |
1140 | 1141 |
1141 ldr x29,[sp],#16 | 1142 ldr x29,[sp],#16 |
1142 ret | 1143 ret |
1143 .size sha256_block_armv8,.-sha256_block_armv8 | 1144 .size sha256_block_armv8,.-sha256_block_armv8 |
1144 .comm OPENSSL_armcap_P,4,4 | 1145 .comm OPENSSL_armcap_P,4,4 |
1145 #endif | 1146 #endif |
OLD | NEW |