-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c76352
commit bd97448
Showing
8 changed files
with
139 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -363,3 +363,18 @@ To the extent that NIST may hold copyright in countries other than the United St | |
You may improve, modify, and create derivative works of the data or any portion of the data, and you may copy and distribute such modifications or works. Modified works should carry a notice stating that you changed the data and should note the date and nature of any such change. Please explicitly acknowledge the National Institute of Standards and Technology as the source of the data: Data citation recommendations are provided at https://www.nist.gov/open/license. | ||
|
||
Permission to use this data is contingent upon your acceptance of the terms of this agreement and upon your providing appropriate acknowledgments of NIST’s creation of the data/work. | ||
|
||
----- | ||
|
||
** arm.patch | ||
|
||
This patch file was written by [email protected] and released by him under an MIT license at | ||
https://github.com/openssl/openssl/issues/10842#issuecomment-608287665 | ||
|
||
Copyright 2020 [email protected] | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
This patch file was written by [email protected] and released by him under an MIT license at | ||
https://github.com/openssl/openssl/issues/10842#issuecomment-608287665 | ||
|
||
--- a/crypto/sha/asm/sha1-armv8.pl 2020-01-10 15:51:40.284641928 +0100 | ||
+++ b/crypto/sha/asm/sha1-armv8.pl 2020-01-10 15:52:46.924618409 +0100 | ||
@@ -329,7 +329,7 @@ | ||
#endif | ||
.asciz "SHA1 block transform for ARMv8, CRYPTOGAMS by <appro\@openssl.org>" | ||
.align 2 | ||
-.comm OPENSSL_armcap_P,4,4 | ||
+.hidden OPENSSL_armcap_P | ||
___ | ||
}}} | ||
|
||
--- a/crypto/sha/asm/sha512-armv8.pl 2019-09-10 15:13:07.000000000 +0200 | ||
+++ b/crypto/sha/asm/sha512-armv8.pl 2020-01-10 16:03:59.641110272 +0100 | ||
@@ -842,7 +842,7 @@ | ||
|
||
$code.=<<___; | ||
#ifndef __KERNEL__ | ||
-.comm OPENSSL_armcap_P,4,4 | ||
+.hidden OPENSSL_armcap_P | ||
#endif | ||
___ | ||
|
||
--- a/crypto/poly1305/asm/poly1305-armv8.pl 2019-09-10 15:13:07.000000000 +0200 | ||
+++ b/crypto/poly1305/asm/poly1305-armv8.pl 2020-01-13 09:11:50.915315471 +0100 | ||
@@ -93,9 +93,9 @@ | ||
|
||
tst w17,#ARMV7_NEON | ||
|
||
- adr $d0,poly1305_blocks | ||
+ adr $d0,.Lpoly1305_blocks | ||
adr $r0,poly1305_blocks_neon | ||
- adr $d1,poly1305_emit | ||
+ adr $d1,.Lpoly1305_emit | ||
adr $r1,poly1305_emit_neon | ||
|
||
csel $d0,$d0,$r0,eq | ||
@@ -115,6 +115,7 @@ | ||
.type poly1305_blocks,%function | ||
.align 5 | ||
poly1305_blocks: | ||
+.Lpoly1305_blocks: | ||
ands $len,$len,#-16 | ||
b.eq .Lno_data | ||
|
||
@@ -179,6 +180,7 @@ | ||
.type poly1305_emit,%function | ||
.align 5 | ||
poly1305_emit: | ||
+.Lpoly1305_emit: | ||
ldp $h0,$h1,[$ctx] // load hash base 2^64 | ||
ldr $h2,[$ctx,#16] | ||
ldp $t0,$t1,[$nonce] // load nonce | ||
@@ -288,7 +290,7 @@ | ||
ldr $is_base2_26,[$ctx,#24] | ||
cmp $len,#128 | ||
b.hs .Lblocks_neon | ||
- cbz $is_base2_26,poly1305_blocks | ||
+ cbz $is_base2_26,.Lpoly1305_blocks | ||
|
||
.Lblocks_neon: | ||
.inst 0xd503233f // paciasp | ||
@@ -869,7 +871,7 @@ | ||
.align 5 | ||
poly1305_emit_neon: | ||
ldr $is_base2_26,[$ctx,#24] | ||
- cbz $is_base2_26,poly1305_emit | ||
+ cbz $is_base2_26,.Lpoly1305_emit | ||
|
||
ldp w10,w11,[$ctx] // load hash value base 2^26 | ||
ldp w12,w13,[$ctx,#8] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters