Merge branch 'master' of https://github.com/weidai11/cryptopp
commit
995e56d267
|
|
@ -574,9 +574,10 @@ TestPrograms/test_arm_asimd.cxx
|
|||
TestPrograms/test_arm_crc.cxx
|
||||
TestPrograms/test_arm_neon.cxx
|
||||
TestPrograms/test_arm_pmull.cxx
|
||||
TestPrograms/test_arm_sha.cxx
|
||||
TestPrograms/test_arm_sha3.cxx
|
||||
TestPrograms/test_arm_sha1.cxx
|
||||
TestPrograms/test_arm_sha256.cxx
|
||||
TestPrograms/test_arm_sha512.cxx
|
||||
TestPrograms/test_arm_sha3.cxx
|
||||
TestPrograms/test_arm_sm3.cxx
|
||||
TestPrograms/test_arm_sm4.cxx
|
||||
TestPrograms/test_cxx.cxx
|
||||
|
|
|
|||
28
aes_armv4.S
28
aes_armv4.S
|
|
@ -7,31 +7,6 @@
|
|||
@ details see http://www.openssl.org/~appro/cryptogams/.
|
||||
@ ====================================================================
|
||||
|
||||
@ AES for ARMv4
|
||||
|
||||
@ January 2007.
|
||||
@
|
||||
@ Code uses single 1K S-box and is >2 times faster than code generated
|
||||
@ by gcc-3.4.1. This is thanks to unique feature of ARMv4 ISA, which
|
||||
@ allows to merge logical or arithmetic operation with shift or rotate
|
||||
@ in one instruction and emit combined result every cycle. The module
|
||||
@ is endian-neutral. The performance is ~42 cycles/byte for 128-bit
|
||||
@ key [on single-issue Xscale PXA250 core].
|
||||
|
||||
@ May 2007.
|
||||
@
|
||||
@ AES_set_[en|de]crypt_key is added.
|
||||
|
||||
@ July 2010.
|
||||
@
|
||||
@ Rescheduling for dual-issue pipeline resulted in 12% improvement on
|
||||
@ Cortex A8 core and ~25 cycles per byte processed with 128-bit key.
|
||||
|
||||
@ February 2011.
|
||||
@
|
||||
@ Profiler-assisted and platform-specific optimization resulted in 16%
|
||||
@ improvement on Cortex A8 core and ~21.5 cycles per byte.
|
||||
|
||||
@ JW, JUL 2018: Begin defines from taken from arm_arch.h
|
||||
@ The defines were included through the header.
|
||||
|
||||
|
|
@ -92,7 +67,6 @@
|
|||
@ JW, JUL 2018: End defines from taken from arm_arch.h
|
||||
@ Back to original Cryptogams code
|
||||
|
||||
.text
|
||||
#if defined(__thumb2__) && !defined(__APPLE__)
|
||||
.syntax unified
|
||||
.thumb
|
||||
|
|
@ -101,6 +75,8 @@
|
|||
#undef __thumb2__
|
||||
#endif
|
||||
|
||||
.text
|
||||
|
||||
.type AES_Te,%object
|
||||
.align 5
|
||||
AES_Te:
|
||||
|
|
|
|||
Loading…
Reference in New Issue