diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-05-19 06:59:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 06:59:12 -0400 |
commit | 4c9ca6b723b5ec5aab7eec720ad4d22598abe941 (patch) | |
tree | 58ddee7860612888b43175d9d33cbdc936d044aa /sha1_armv4.S | |
parent | 8c99b1cd7592818072bc0882e9498e7c29402c5c (diff) | |
download | cryptopp-git-4c9ca6b723b5ec5aab7eec720ad4d22598abe941.tar.gz |
Add ARM SHA256 asm implementation from Cryptogams (GH #840, PR #840)
Cryptogams is Andy Polyakov's project used to create high speed crypto algorithms and share them with other developers. Cryptogams has a dual license. First is the OpenSSL license because Andy contributes to OpenSSL. Second is a BSD license for those who want a more permissive license.
Andy's implementation runs about 45% faster than C/C++ code. Testing on a 1 GHz Cortex-A7 shows Cryptograms at 17 cpb, and C++ at 30 cpb.
The integration instructions are documented at [Cryptogams SHA](https://wiki.openssl.org/index.php/Cryptogams_SHA) on the OpenSSL wiki.
Diffstat (limited to 'sha1_armv4.S')
-rw-r--r-- | sha1_armv4.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sha1_armv4.S b/sha1_armv4.S index bfbbbfde..84c7bd17 100644 --- a/sha1_armv4.S +++ b/sha1_armv4.S @@ -565,8 +565,7 @@ sha1_block_data_order: .word CRYPTOGAMS_armcaps-.Lsha1_block # endif #endif -.byte 83,72,65,49,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,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 -.align 2 + .align 5 #if __ARM_MAX_ARCH__>=7 .arch armv7-a |