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

Side by Side Diff: third_party/boringssl/linux-arm/crypto/aes/bsaes-armv7.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 @ Specific modes and adaptation for Linux kernel by Ard Biesheuvel 9 @ Specific modes and adaptation for Linux kernel by Ard Biesheuvel
10 @ <ard.biesheuvel@linaro.org>. Permission to use under GPL terms is 10 @ <ard.biesheuvel@linaro.org>. Permission to use under GPL terms is
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 @ <appro@openssl.org> 42 @ <appro@openssl.org>
43 43
44 @ April-August 2013 44 @ April-August 2013
45 @ 45 @
46 @ Add CBC, CTR and XTS subroutines, adapt for kernel use. 46 @ Add CBC, CTR and XTS subroutines, adapt for kernel use.
47 @ 47 @
48 @ <ard.biesheuvel@linaro.org> 48 @ <ard.biesheuvel@linaro.org>
49 49
50 #if defined(__arm__) 50 #if defined(__arm__)
51 #ifndef __KERNEL__ 51 #ifndef __KERNEL__
52 # include "arm_arch.h" 52 # include <openssl/arm_arch.h>
53 53
54 # define VFP_ABI_PUSH vstmdb sp!,{d8-d15} 54 # define VFP_ABI_PUSH vstmdb sp!,{d8-d15}
55 # define VFP_ABI_POP vldmia sp!,{d8-d15} 55 # define VFP_ABI_POP vldmia sp!,{d8-d15}
56 # define VFP_ABI_FRAME 0x40 56 # define VFP_ABI_FRAME 0x40
57 #else 57 #else
58 # define VFP_ABI_PUSH 58 # define VFP_ABI_PUSH
59 # define VFP_ABI_POP 59 # define VFP_ABI_POP
60 # define VFP_ABI_FRAME 0 60 # define VFP_ABI_FRAME 0
61 # define BSAES_ASM_EXTENDED_KEY 61 # define BSAES_ASM_EXTENDED_KEY
62 # define XTS_CHAIN_TWEAK 62 # define XTS_CHAIN_TWEAK
(...skipping 2507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2570 #ifdef XTS_CHAIN_TWEAK 2570 #ifdef XTS_CHAIN_TWEAK
2571 vst1.8 {q8}, [r1] 2571 vst1.8 {q8}, [r1]
2572 #endif 2572 #endif
2573 VFP_ABI_POP 2573 VFP_ABI_POP
2574 ldmia sp!, {r4,r5,r6,r7,r8,r9,r10, pc} @ return 2574 ldmia sp!, {r4,r5,r6,r7,r8,r9,r10, pc} @ return
2575 2575
2576 .size bsaes_xts_decrypt,.-bsaes_xts_decrypt 2576 .size bsaes_xts_decrypt,.-bsaes_xts_decrypt
2577 #endif 2577 #endif
2578 #endif 2578 #endif
2579 #endif 2579 #endif
OLDNEW
« no previous file with comments | « third_party/boringssl/linux-arm/crypto/aes/aesv8-armx32.S ('k') | third_party/boringssl/linux-arm/crypto/bn/armv4-mont.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698