OLD | NEW |
1 #include "arm_arch.h" | 1 #include "arm_arch.h" |
2 | 2 |
3 .text | 3 .text |
4 .code 32 | 4 .code 32 |
5 | 5 |
6 #if __ARM_ARCH__>=7 | 6 #if __ARM_ARCH__>=7 |
7 .align 5 | 7 .align 5 |
8 .LOPENSSL_armcap: | 8 .LOPENSSL_armcap: |
9 .word OPENSSL_armcap_P-bn_mul_mont | 9 .word OPENSSL_armcap_P-bn_mul_mont |
10 #endif | 10 #endif |
11 | 11 |
12 .global bn_mul_mont | 12 .global bn_mul_mont |
| 13 .hidden bn_mul_mont |
13 .type bn_mul_mont,%function | 14 .type bn_mul_mont,%function |
14 | 15 |
15 .align 5 | 16 .align 5 |
16 bn_mul_mont: | 17 bn_mul_mont: |
17 ldr ip,[sp,#4] @ load num | 18 ldr ip,[sp,#4] @ load num |
18 stmdb sp!,{r0,r2} @ sp points at argument block | 19 stmdb sp!,{r0,r2} @ sp points at argument block |
19 #if __ARM_ARCH__>=7 | 20 #if __ARM_ARCH__>=7 |
20 tst ip,#7 | 21 tst ip,#7 |
21 bne .Lialu | 22 bne .Lialu |
22 adr r0,bn_mul_mont | 23 adr r0,bn_mul_mont |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 vldmia sp!,{d8-d15} | 568 vldmia sp!,{d8-d15} |
568 ldmia sp!,{r4-r11} | 569 ldmia sp!,{r4-r11} |
569 .word 0xe12fff1e | 570 .word 0xe12fff1e |
570 .size bn_mul8x_mont_neon,.-bn_mul8x_mont_neon | 571 .size bn_mul8x_mont_neon,.-bn_mul8x_mont_neon |
571 #endif | 572 #endif |
572 .asciz "Montgomery multiplication for ARMv4/NEON, CRYPTOGAMS by <appro@openssl.
org>" | 573 .asciz "Montgomery multiplication for ARMv4/NEON, CRYPTOGAMS by <appro@openssl.
org>" |
573 .align 2 | 574 .align 2 |
574 #if __ARM_ARCH__>=7 | 575 #if __ARM_ARCH__>=7 |
575 .comm OPENSSL_armcap_P,4,4 | 576 .comm OPENSSL_armcap_P,4,4 |
576 #endif | 577 #endif |
OLD | NEW |