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 | 9 |
10 @ AES for ARMv4 | 10 @ AES for ARMv4 |
(...skipping 16 matching lines...) Expand all Loading... | |
27 @ Rescheduling for dual-issue pipeline resulted in 12% improvement on | 27 @ Rescheduling for dual-issue pipeline resulted in 12% improvement on |
28 @ Cortex A8 core and ~25 cycles per byte processed with 128-bit key. | 28 @ Cortex A8 core and ~25 cycles per byte processed with 128-bit key. |
29 | 29 |
30 @ February 2011. | 30 @ February 2011. |
31 @ | 31 @ |
32 @ Profiler-assisted and platform-specific optimization resulted in 16% | 32 @ Profiler-assisted and platform-specific optimization resulted in 16% |
33 @ improvement on Cortex A8 core and ~21.5 cycles per byte. | 33 @ improvement on Cortex A8 core and ~21.5 cycles per byte. |
34 | 34 |
35 #if defined(__arm__) | 35 #if defined(__arm__) |
36 #ifndef __KERNEL__ | 36 #ifndef __KERNEL__ |
37 # include "arm_arch.h" | 37 # include <openssl/arm_arch.h> |
38 #else | 38 #else |
39 # define __ARM_ARCH__ __LINUX_ARM_ARCH__ | 39 # define __ARM_ARCH__ __LINUX_ARM_ARCH__ |
40 #endif | 40 #endif |
41 | 41 |
42 .text | 42 .text |
43 #if __ARM_ARCH__<7 | 43 #if __ARM_ARCH__<7 |
44 .code 32 | 44 .code 32 |
45 #else | 45 #else |
46 .syntax unified | 46 .syntax unified |
47 # if defined(__thumb2__) && !defined(__APPLE__) | 47 # if defined(__thumb2__) && !defined(__APPLE__) |
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1190 eor r3,r3,r6 | 1190 eor r3,r3,r6 |
1191 | 1191 |
1192 sub r10,r10,#1024 | 1192 sub r10,r10,#1024 |
1193 ldr pc,[sp],#4 @ pop and return | 1193 ldr pc,[sp],#4 @ pop and return |
1194 .size _armv4_AES_decrypt,.-_armv4_AES_decrypt | 1194 .size _armv4_AES_decrypt,.-_armv4_AES_decrypt |
1195 .byte 65,69,83,32,102,111,114,32,65,82,77,118,52,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,111, 114,103,62,0 | 1195 .byte 65,69,83,32,102,111,114,32,65,82,77,118,52,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,111, 114,103,62,0 |
1196 .align 2 | 1196 .align 2 |
1197 .align 2 | 1197 .align 2 |
1198 | 1198 |
1199 #endif | 1199 #endif |
1200 #endif | 1200 #endif |
OLD | NEW |