OLD | NEW |
---|---|
1 #if defined(__arm__) | 1 #if defined(__arm__) |
2 | 2 |
3 @ ==================================================================== | 3 @ ==================================================================== |
4 @ Written by Andy Polyakov <appro@openssl.org> for the OpenSSL | 4 @ Written by Andy Polyakov <appro@openssl.org> for the OpenSSL |
5 @ project. The module is, however, dual licensed under OpenSSL and | 5 @ project. The module is, however, dual licensed under OpenSSL and |
6 @ CRYPTOGAMS licenses depending on where you obtain it. For further | 6 @ CRYPTOGAMS licenses depending on where you obtain it. For further |
7 @ details see http://www.openssl.org/~appro/cryptogams/. | 7 @ details see http://www.openssl.org/~appro/cryptogams/. |
8 @ | 8 @ |
9 @ Permission to use under GPL terms is granted. | 9 @ Permission to use under GPL terms is granted. |
10 @ ==================================================================== | 10 @ ==================================================================== |
(...skipping 29 matching lines...) Expand all Loading... | |
40 @ for further details. On side note Cortex-A15 processes one byte in | 40 @ for further details. On side note Cortex-A15 processes one byte in |
41 @ 16 cycles. | 41 @ 16 cycles. |
42 | 42 |
43 @ Byte order [in]dependence. ========================================= | 43 @ Byte order [in]dependence. ========================================= |
44 @ | 44 @ |
45 @ Originally caller was expected to maintain specific *dword* order in | 45 @ Originally caller was expected to maintain specific *dword* order in |
46 @ h[0-7], namely with most significant dword at *lower* address, which | 46 @ h[0-7], namely with most significant dword at *lower* address, which |
47 @ was reflected in below two parameters as 0 and 4. Now caller is | 47 @ was reflected in below two parameters as 0 and 4. Now caller is |
48 @ expected to maintain native byte order for whole 64-bit values. | 48 @ expected to maintain native byte order for whole 64-bit values. |
49 #ifndef __KERNEL__ | 49 #ifndef __KERNEL__ |
50 # include "arm_arch.h" | 50 # include <openssl/arm_arch.h> |
51 # define VFP_ABI_PUSH vstmdb sp!,{d8-d15} | 51 # define VFP_ABI_PUSH vstmdb sp!,{d8-d15} |
52 # define VFP_ABI_POP vldmia sp!,{d8-d15} | 52 # define VFP_ABI_POP vldmia sp!,{d8-d15} |
53 #else | 53 #else |
54 # define __ARM_ARCH__ __LINUX_ARM_ARCH__ | 54 # define __ARM_ARCH__ __LINUX_ARM_ARCH__ |
55 # define __ARM_MAX_ARCH__ 7 | 55 # define __ARM_MAX_ARCH__ 7 |
56 # define VFP_ABI_PUSH | 56 # define VFP_ABI_PUSH |
57 # define VFP_ABI_POP | 57 # define VFP_ABI_POP |
58 #endif | 58 #endif |
59 | 59 |
60 #ifdef __ARMEL__ | 60 #ifdef __ARMEL__ |
(...skipping 1799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1860 .size sha512_block_data_order_neon,.-sha512_block_data_order_neon | 1860 .size sha512_block_data_order_neon,.-sha512_block_data_order_neon |
1861 #endif | 1861 #endif |
1862 .byte 83,72,65,53,49,50,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114 ,109,32,102,111,114,32,65,82,77,118,52,47,78,69,79,78,44,32,67,82,89,80,84,79,71 ,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,1 11,114,103,62,0 | 1862 .byte 83,72,65,53,49,50,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114 ,109,32,102,111,114,32,65,82,77,118,52,47,78,69,79,78,44,32,67,82,89,80,84,79,71 ,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,1 11,114,103,62,0 |
1863 .align 2 | 1863 .align 2 |
1864 .align 2 | 1864 .align 2 |
1865 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__) | 1865 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__) |
1866 .comm OPENSSL_armcap_P,4,4 | 1866 .comm OPENSSL_armcap_P,4,4 |
1867 .hidden OPENSSL_armcap_P | 1867 .hidden OPENSSL_armcap_P |
1868 #endif | 1868 #endif |
1869 #endif | 1869 #endif |
OLD | NEW |