Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/boringssl/linux-arm/crypto/sha/sha256-armv4.S

Issue 1321793002: Roll src/third_party/boringssl/src 12fe1b25e..ac8302a09 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll further Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 20 matching lines...) Expand all
31 @ byte in 12.5 cycles or 23% faster than integer-only code. Snapdragon 31 @ byte in 12.5 cycles or 23% faster than integer-only code. Snapdragon
32 @ S4 does it in 12.5 cycles too, but it's 50% faster than integer-only 32 @ S4 does it in 12.5 cycles too, but it's 50% faster than integer-only
33 @ code (meaning that latter performs sub-optimally, nothing was done 33 @ code (meaning that latter performs sub-optimally, nothing was done
34 @ about it). 34 @ about it).
35 35
36 @ May 2014. 36 @ May 2014.
37 @ 37 @
38 @ Add ARMv8 code path performing at 2.0 cpb on Apple A7. 38 @ Add ARMv8 code path performing at 2.0 cpb on Apple A7.
39 39
40 #ifndef __KERNEL__ 40 #ifndef __KERNEL__
41 # include "arm_arch.h" 41 # include <openssl/arm_arch.h>
42 #else 42 #else
43 # define __ARM_ARCH__ __LINUX_ARM_ARCH__ 43 # define __ARM_ARCH__ __LINUX_ARM_ARCH__
44 # define __ARM_MAX_ARCH__ 7 44 # define __ARM_MAX_ARCH__ 7
45 #endif 45 #endif
46 46
47 .text 47 .text
48 #if __ARM_ARCH__<7 48 #if __ARM_ARCH__<7
49 .code 32 49 .code 32
50 #else 50 #else
51 .syntax unified 51 .syntax unified
(...skipping 2757 matching lines...) Expand 10 before | Expand all | Expand 10 after
2809 .size sha256_block_data_order_armv8,.-sha256_block_data_order_armv8 2809 .size sha256_block_data_order_armv8,.-sha256_block_data_order_armv8
2810 #endif 2810 #endif
2811 .byte 83,72,65,50,53,54,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,47,65,82,77,118,56,44,32,6 7,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,1 10,115,115,108,46,111,114,103,62,0 2811 .byte 83,72,65,50,53,54,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,47,65,82,77,118,56,44,32,6 7,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,1 10,115,115,108,46,111,114,103,62,0
2812 .align 2 2812 .align 2
2813 .align 2 2813 .align 2
2814 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__) 2814 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__)
2815 .comm OPENSSL_armcap_P,4,4 2815 .comm OPENSSL_armcap_P,4,4
2816 .hidden OPENSSL_armcap_P 2816 .hidden OPENSSL_armcap_P
2817 #endif 2817 #endif
2818 #endif 2818 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698