aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-third__party_boringssl_src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-third__party_boringssl_src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl')
-rw-r--r--devel/electron23/files/patch-third__party_boringssl_src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl30
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-third__party_boringssl_src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl b/devel/electron23/files/patch-third__party_boringssl_src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl
new file mode 100644
index 000000000000..e0492a6afb9d
--- /dev/null
+++ b/devel/electron23/files/patch-third__party_boringssl_src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl
@@ -0,0 +1,30 @@
+--- third_party/boringssl/src/crypto/fipsmodule/sha/asm/sha512-x86_64.pl.orig 2023-02-01 18:45:16 UTC
++++ third_party/boringssl/src/crypto/fipsmodule/sha/asm/sha512-x86_64.pl
+@@ -404,6 +404,7 @@ ___
+
+ if ($SZ==4) {
+ $code.=<<___;
++.rodata
+ .align 64
+ .type $TABLE,\@object
+ $TABLE:
+@@ -447,9 +448,11 @@ $TABLE:
+ .long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
+ .long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
+ .asciz "SHA256 block transform for x86_64, CRYPTOGAMS by <appro\@openssl.org>"
++.previous
+ ___
+ } else {
+ $code.=<<___;
++.rodata
+ .align 64
+ .type $TABLE,\@object
+ $TABLE:
+@@ -537,6 +540,7 @@ $TABLE:
+ .quad 0x0001020304050607,0x08090a0b0c0d0e0f
+ .quad 0x0001020304050607,0x08090a0b0c0d0e0f
+ .asciz "SHA512 block transform for x86_64, CRYPTOGAMS by <appro\@openssl.org>"
++.previous
+ ___
+ }
+