|
|
@ -1,7 +1,7 @@
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
@@ -521,3 +521,289 @@ TEST(ABITest, AArch64) {
|
|
|
|
@@ -521,3 +521,289 @@ TEST(ABITest, AArch64) {
|
|
|
|
CHECK_ABI_NO_UNWIND(abi_test_clobber_v15_upper);
|
|
|
|
CHECK_ABI_NO_UNWIND(abi_test_clobber_v15_upper);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -292,10 +292,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
+ CHECK_ABI_NO_UNWIND(abi_test_clobber_lr);
|
|
|
|
+ CHECK_ABI_NO_UNWIND(abi_test_clobber_lr);
|
|
|
|
+}
|
|
|
|
+}
|
|
|
|
+#endif // OPENSSL_PPC64LE && SUPPORTS_ABI_TEST
|
|
|
|
+#endif // OPENSSL_PPC64LE && SUPPORTS_ABI_TEST
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
@@ -0,0 +1,38 @@
|
|
|
|
@@ -0,0 +1,38 @@
|
|
|
|
+/* Copyright (c) 2016, Google Inc.
|
|
|
|
+/* Copyright (c) 2016, Google Inc.
|
|
|
|
+ *
|
|
|
|
+ *
|
|
|
@ -335,10 +335,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
+}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+#endif // OPENSSL_PPC64LE
|
|
|
|
+#endif // OPENSSL_PPC64LE
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
@@ -66,6 +66,10 @@ uint32_t OPENSSL_get_ia32cap(int idx) {
|
|
|
|
@@ -66,6 +66,10 @@ uint32_t OPENSSL_get_ia32cap(int idx) {
|
|
|
|
return OPENSSL_ia32cap_P[idx];
|
|
|
|
return OPENSSL_ia32cap_P[idx];
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -350,10 +350,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
|
|
|
|
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
|
|
|
|
|
|
|
|
|
|
|
|
#include <openssl/arm_arch.h>
|
|
|
|
#include <openssl/arm_arch.h>
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
@@ -0,0 +1,3809 @@
|
|
|
|
@@ -0,0 +1,3809 @@
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
+# Copyright 2014-2018 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
+# Copyright 2014-2018 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
@ -4164,11 +4164,11 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/aes/a
|
|
|
|
+}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
@@ -59,6 +59,12 @@ OPENSSL_INLINE int vpaes_capable(void) {
|
|
|
|
@@ -61,6 +61,12 @@ OPENSSL_INLINE int vpaes_capable(void) {
|
|
|
|
OPENSSL_INLINE int vpaes_capable(void) { return CRYPTO_is_NEON_capable(); }
|
|
|
|
OPENSSL_INLINE int vpaes_capable(void) { return CRYPTO_is_NEON_capable(); }
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -4181,22 +4181,22 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/aes/i
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif // !NO_ASM
|
|
|
|
#endif // !NO_ASM
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
@@ -102,6 +102,7 @@
|
|
|
|
@@ -101,6 +101,7 @@
|
|
|
|
#include "self_check/fips.c"
|
|
|
|
#include "self_check/fips.c.inc"
|
|
|
|
#include "self_check/self_check.c"
|
|
|
|
#include "self_check/self_check.c.inc"
|
|
|
|
#include "service_indicator/service_indicator.c"
|
|
|
|
#include "service_indicator/service_indicator.c.inc"
|
|
|
|
+#include "sha/sha1-altivec.c"
|
|
|
|
+#include "sha/sha1-altivec.c.inc"
|
|
|
|
#include "sha/sha1.c"
|
|
|
|
#include "sha/sha1.c.inc"
|
|
|
|
#include "sha/sha256.c"
|
|
|
|
#include "sha/sha256.c.inc"
|
|
|
|
#include "sha/sha512.c"
|
|
|
|
#include "sha/sha512.c.inc"
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c.inc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c.inc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c.inc
|
|
|
|
@@ -384,6 +384,23 @@ int bn_expand(BIGNUM *bn, size_t bits) {
|
|
|
|
@@ -384,6 +384,23 @@ int bn_expand(BIGNUM *bn, size_t bits) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -4221,11 +4221,11 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/bn/bn
|
|
|
|
if ((size_t)bn->width <= words) {
|
|
|
|
if ((size_t)bn->width <= words) {
|
|
|
|
if (!bn_wexpand(bn, words)) {
|
|
|
|
if (!bn_wexpand(bn, words)) {
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c.inc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c.inc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c.inc
|
|
|
|
@@ -1455,6 +1455,8 @@ int EVP_has_aes_hardware(void) {
|
|
|
|
@@ -1456,6 +1456,8 @@ int EVP_has_aes_hardware(void) {
|
|
|
|
return hwaes_capable() && crypto_gcm_clmul_enabled();
|
|
|
|
return hwaes_capable() && crypto_gcm_clmul_enabled();
|
|
|
|
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
|
|
|
|
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
|
|
|
|
return hwaes_capable() && CRYPTO_is_ARMv8_PMULL_capable();
|
|
|
|
return hwaes_capable() && CRYPTO_is_ARMv8_PMULL_capable();
|
|
|
@ -4234,10 +4234,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/ciphe
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
@@ -0,0 +1,671 @@
|
|
|
|
@@ -0,0 +1,671 @@
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
+# Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
+# Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
@ -4910,10 +4910,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes
|
|
|
|
+}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!"; # enforce flush
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!"; # enforce flush
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c.inc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c.inc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c.inc
|
|
|
|
@@ -228,6 +228,13 @@ void CRYPTO_ghash_init(gmult_func *out_m
|
|
|
|
@@ -228,6 +228,13 @@ void CRYPTO_ghash_init(gmult_func *out_m
|
|
|
|
*out_hash = gcm_ghash_neon;
|
|
|
|
*out_hash = gcm_ghash_neon;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -4928,10 +4928,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
gcm_init_nohw(out_table, H);
|
|
|
|
gcm_init_nohw(out_table, H);
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
@@ -209,5 +209,15 @@ TEST(GCMTest, ABI) {
|
|
|
|
@@ -209,5 +209,15 @@ TEST(GCMTest, ABI) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -4948,10 +4948,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes
|
|
|
|
+#endif // GHASH_ASM_PPC64LE
|
|
|
|
+#endif // GHASH_ASM_PPC64LE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif // SUPPORTS_ABI_TEST && !OPENSSL_NO_ASM
|
|
|
|
#endif // SUPPORTS_ABI_TEST && !OPENSSL_NO_ASM
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
@@ -325,6 +325,13 @@ void aes_gcm_dec_kernel(const uint8_t *i
|
|
|
|
@@ -325,6 +325,13 @@ void aes_gcm_dec_kernel(const uint8_t *i
|
|
|
|
const u128 Htable[16]);
|
|
|
|
const u128 Htable[16]);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -4966,10 +4966,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/modes
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif // OPENSSL_NO_ASM
|
|
|
|
#endif // OPENSSL_NO_ASM
|
|
|
|
|
|
|
|
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/rand/getrandom_fillin.h
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/rand/getrandom_fillin.h
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/rand/getrandom_fillin.h
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
@@ -30,6 +30,8 @@
|
|
|
|
@@ -30,6 +30,8 @@
|
|
|
|
#define EXPECTED_NR_getrandom 278
|
|
|
|
#define EXPECTED_NR_getrandom 278
|
|
|
|
#elif defined(OPENSSL_ARM)
|
|
|
|
#elif defined(OPENSSL_ARM)
|
|
|
@ -4979,11 +4979,11 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/rand/
|
|
|
|
#elif defined(OPENSSL_RISCV64)
|
|
|
|
#elif defined(OPENSSL_RISCV64)
|
|
|
|
#define EXPECTED_NR_getrandom 278
|
|
|
|
#define EXPECTED_NR_getrandom 278
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c.inc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c.inc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c.inc
|
|
|
|
@@ -431,6 +431,11 @@ void RAND_bytes_with_additional_data(uin
|
|
|
|
@@ -427,6 +427,11 @@ bcm_infallible BCM_rand_bytes_with_addit
|
|
|
|
// Take a read lock around accesses to |state->drbg|. This is needed to
|
|
|
|
// Take a read lock around accesses to |state->drbg|. This is needed to
|
|
|
|
// avoid returning bad entropy if we race with
|
|
|
|
// avoid returning bad entropy if we race with
|
|
|
|
// |rand_thread_state_clear_all|.
|
|
|
|
// |rand_thread_state_clear_all|.
|
|
|
@ -4995,10 +4995,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/rand/
|
|
|
|
CRYPTO_MUTEX_lock_read(&state->clear_drbg_lock);
|
|
|
|
CRYPTO_MUTEX_lock_read(&state->clear_drbg_lock);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
if (!CTR_DRBG_reseed(&state->drbg, seed, reseed_additional_data,
|
|
|
|
if (!CTR_DRBG_reseed(&state->drbg, seed, reseed_additional_data,
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
@@ -23,6 +23,16 @@
|
|
|
|
@@ -23,6 +23,16 @@
|
|
|
|
extern "C" {
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -5016,10 +5016,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/i
|
|
|
|
// Define SHA{n}[_{variant}]_ASM if sha{n}_block_data_order[_{variant}] is
|
|
|
|
// Define SHA{n}[_{variant}]_ASM if sha{n}_block_data_order[_{variant}] is
|
|
|
|
// defined in assembly.
|
|
|
|
// defined in assembly.
|
|
|
|
|
|
|
|
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.c.inc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.c.inc
|
|
|
|
@@ -0,0 +1,361 @@
|
|
|
|
@@ -0,0 +1,361 @@
|
|
|
|
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
|
|
|
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
|
|
|
+ * All rights reserved.
|
|
|
|
+ * All rights reserved.
|
|
|
@ -5382,10 +5382,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/s
|
|
|
|
+#undef BODY_20_39
|
|
|
|
+#undef BODY_20_39
|
|
|
|
+#undef BODY_40_59
|
|
|
|
+#undef BODY_40_59
|
|
|
|
+#undef BODY_60_79
|
|
|
|
+#undef BODY_60_79
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/internal.h
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/internal.h
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/internal.h
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/internal.h
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/internal.h
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/internal.h
|
|
|
|
@@ -183,8 +183,9 @@ extern "C" {
|
|
|
|
@@ -183,8 +183,9 @@ extern "C" {
|
|
|
|
#if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_STATIC_ARMCAP) && \
|
|
|
|
#if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_STATIC_ARMCAP) && \
|
|
|
|
(defined(OPENSSL_X86) || defined(OPENSSL_X86_64) || \
|
|
|
|
(defined(OPENSSL_X86) || defined(OPENSSL_X86_64) || \
|
|
|
@ -5398,7 +5398,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/internal.h
|
|
|
|
#define NEED_CPUID
|
|
|
|
#define NEED_CPUID
|
|
|
|
|
|
|
|
|
|
|
|
// OPENSSL_cpuid_setup initializes the platform-specific feature cache. This
|
|
|
|
// OPENSSL_cpuid_setup initializes the platform-specific feature cache. This
|
|
|
|
@@ -1657,6 +1658,16 @@ OPENSSL_INLINE int CRYPTO_is_ARMv8_SHA51
|
|
|
|
@@ -1723,6 +1724,16 @@ OPENSSL_INLINE int CRYPTO_is_ARMv8_SHA51
|
|
|
|
|
|
|
|
|
|
|
|
#endif // OPENSSL_ARM || OPENSSL_AARCH64
|
|
|
|
#endif // OPENSSL_ARM || OPENSSL_AARCH64
|
|
|
|
|
|
|
|
|
|
|
@ -5415,10 +5415,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/internal.h
|
|
|
|
#if defined(BORINGSSL_DISPATCH_TEST)
|
|
|
|
#if defined(BORINGSSL_DISPATCH_TEST)
|
|
|
|
// Runtime CPU dispatch testing support
|
|
|
|
// Runtime CPU dispatch testing support
|
|
|
|
|
|
|
|
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
@@ -0,0 +1,320 @@
|
|
|
|
@@ -0,0 +1,320 @@
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
+# Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
+# Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
@ -5740,10 +5740,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/perlasm/ppc-xlat
|
|
|
|
+___
|
|
|
|
+___
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
@@ -179,7 +179,78 @@ struct alignas(16) Reg128 {
|
|
|
|
@@ -179,7 +179,78 @@ struct alignas(16) Reg128 {
|
|
|
|
CALLER_STATE_REGISTER(uint64_t, x28) \
|
|
|
|
CALLER_STATE_REGISTER(uint64_t, x28) \
|
|
|
|
CALLER_STATE_REGISTER(uint64_t, x29)
|
|
|
|
CALLER_STATE_REGISTER(uint64_t, x29)
|
|
|
@ -5850,10 +5850,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
static_assert(sizeof...(args) <= 8,
|
|
|
|
static_assert(sizeof...(args) <= 8,
|
|
|
|
"too many arguments for abi_test_trampoline");
|
|
|
|
"too many arguments for abi_test_trampoline");
|
|
|
|
|
|
|
|
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
@@ -0,0 +1,262 @@
|
|
|
|
@@ -0,0 +1,262 @@
|
|
|
|
+#!/usr/bin/env perl
|
|
|
|
+#!/usr/bin/env perl
|
|
|
|
+# Copyright (c) 2019, Google Inc.
|
|
|
|
+# Copyright (c) 2019, Google Inc.
|
|
|
@ -6117,10 +6117,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/test/asm/trampol
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+print $code;
|
|
|
|
+print $code;
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
@@ -34,6 +34,9 @@
|
|
|
|
@@ -34,6 +34,9 @@
|
|
|
|
#elif defined(__ARMEL__) || defined(_M_ARM)
|
|
|
|
#elif defined(__ARMEL__) || defined(_M_ARM)
|
|
|
|
#define OPENSSL_32_BIT
|
|
|
|
#define OPENSSL_32_BIT
|
|
|
@ -6131,10 +6131,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/include/openssl/target.
|
|
|
|
#elif defined(__MIPSEL__) && !defined(__LP64__)
|
|
|
|
#elif defined(__MIPSEL__) && !defined(__LP64__)
|
|
|
|
#define OPENSSL_32_BIT
|
|
|
|
#define OPENSSL_32_BIT
|
|
|
|
#define OPENSSL_MIPS
|
|
|
|
#define OPENSSL_MIPS
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
@@ -37,6 +37,8 @@ int main(int argc, char **argv) {
|
|
|
|
@@ -37,6 +37,8 @@ int main(int argc, char **argv) {
|
|
|
|
puts("ARM (32-bit)");
|
|
|
|
puts("ARM (32-bit)");
|
|
|
|
#elif defined(OPENSSL_AARCH64)
|
|
|
|
#elif defined(OPENSSL_AARCH64)
|
|
|
@ -6144,10 +6144,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/acvp/mod
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#error "FIPS build not supported on this architecture"
|
|
|
|
#error "FIPS build not supported on this architecture"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
@@ -54,7 +54,8 @@ type stringWriter interface {
|
|
|
|
@@ -54,7 +54,8 @@ type stringWriter interface {
|
|
|
|
type processorType int
|
|
|
|
type processorType int
|
|
|
|
|
|
|
|
|
|
|
@ -6206,7 +6206,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
return statement, nil
|
|
|
|
return statement, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -646,6 +658,191 @@ func (d *delocation) processAarch64Instr
|
|
|
|
@@ -659,6 +671,191 @@ func (d *delocation) processAarch64Instr
|
|
|
|
return statement, nil
|
|
|
|
return statement, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -6398,7 +6398,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
func (d *delocation) gatherOffsets(symRef *node32, offsets string) (*node32, string) {
|
|
|
|
func (d *delocation) gatherOffsets(symRef *node32, offsets string) (*node32, string) {
|
|
|
|
for symRef != nil && symRef.pegRule == ruleOffset {
|
|
|
|
for symRef != nil && symRef.pegRule == ruleOffset {
|
|
|
|
offset := d.contents(symRef)
|
|
|
|
offset := d.contents(symRef)
|
|
|
|
@@ -700,6 +897,215 @@ func (d *delocation) parseMemRef(memRef
|
|
|
|
@@ -713,6 +910,215 @@ func (d *delocation) parseMemRef(memRef
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -6614,7 +6614,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
/* Intel */
|
|
|
|
/* Intel */
|
|
|
|
|
|
|
|
|
|
|
|
type instructionType int
|
|
|
|
type instructionType int
|
|
|
|
@@ -1332,6 +1738,8 @@ func writeAarch64Function(w stringWriter
|
|
|
|
@@ -1345,6 +1751,8 @@ func writeAarch64Function(w stringWriter
|
|
|
|
func transform(w stringWriter, inputs []inputFile) error {
|
|
|
|
func transform(w stringWriter, inputs []inputFile) error {
|
|
|
|
// symbols contains all defined symbols.
|
|
|
|
// symbols contains all defined symbols.
|
|
|
|
symbols := make(map[string]struct{})
|
|
|
|
symbols := make(map[string]struct{})
|
|
|
@ -6623,7 +6623,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
// fileNumbers is the set of IDs seen in .file directives.
|
|
|
|
// fileNumbers is the set of IDs seen in .file directives.
|
|
|
|
fileNumbers := make(map[int]struct{})
|
|
|
|
fileNumbers := make(map[int]struct{})
|
|
|
|
// maxObservedFileNumber contains the largest seen file number in a
|
|
|
|
// maxObservedFileNumber contains the largest seen file number in a
|
|
|
|
@@ -1355,6 +1763,25 @@ func transform(w stringWriter, inputs []
|
|
|
|
@@ -1368,6 +1776,25 @@ func transform(w stringWriter, inputs []
|
|
|
|
}, ruleStatement, ruleLabel, ruleSymbolName)
|
|
|
|
}, ruleStatement, ruleLabel, ruleSymbolName)
|
|
|
|
|
|
|
|
|
|
|
|
forEachPath(input.ast.up, func(node *node32) {
|
|
|
|
forEachPath(input.ast.up, func(node *node32) {
|
|
|
@ -6649,7 +6649,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
assertNodeType(node, ruleLocationDirective)
|
|
|
|
assertNodeType(node, ruleLocationDirective)
|
|
|
|
directive := input.contents[node.begin:node.end]
|
|
|
|
directive := input.contents[node.begin:node.end]
|
|
|
|
if !strings.HasPrefix(directive, ".file") {
|
|
|
|
if !strings.HasPrefix(directive, ".file") {
|
|
|
|
@@ -1402,11 +1829,13 @@ func transform(w stringWriter, inputs []
|
|
|
|
@@ -1415,11 +1842,13 @@ func transform(w stringWriter, inputs []
|
|
|
|
|
|
|
|
|
|
|
|
d := &delocation{
|
|
|
|
d := &delocation{
|
|
|
|
symbols: symbols,
|
|
|
|
symbols: symbols,
|
|
|
@ -6663,7 +6663,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
gotExternalsNeeded: make(map[string]struct{}),
|
|
|
|
gotExternalsNeeded: make(map[string]struct{}),
|
|
|
|
gotOffsetsNeeded: make(map[string]struct{}),
|
|
|
|
gotOffsetsNeeded: make(map[string]struct{}),
|
|
|
|
gotOffOffsetsNeeded: make(map[string]struct{}),
|
|
|
|
gotOffOffsetsNeeded: make(map[string]struct{}),
|
|
|
|
@@ -1441,6 +1870,22 @@ func transform(w stringWriter, inputs []
|
|
|
|
@@ -1454,6 +1883,22 @@ func transform(w stringWriter, inputs []
|
|
|
|
for _, name := range redirectorNames {
|
|
|
|
for _, name := range redirectorNames {
|
|
|
|
redirector := d.redirectors[name]
|
|
|
|
redirector := d.redirectors[name]
|
|
|
|
switch d.processor {
|
|
|
|
switch d.processor {
|
|
|
@ -6686,7 +6686,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
case aarch64:
|
|
|
|
case aarch64:
|
|
|
|
writeAarch64Function(w, redirector, func(w stringWriter) {
|
|
|
|
writeAarch64Function(w, redirector, func(w stringWriter) {
|
|
|
|
w.WriteString("\tb " + name + "\n")
|
|
|
|
w.WriteString("\tb " + name + "\n")
|
|
|
|
@@ -1465,6 +1910,13 @@ func transform(w stringWriter, inputs []
|
|
|
|
@@ -1478,6 +1923,13 @@ func transform(w stringWriter, inputs []
|
|
|
|
target := d.bssAccessorsNeeded[name]
|
|
|
|
target := d.bssAccessorsNeeded[name]
|
|
|
|
|
|
|
|
|
|
|
|
switch d.processor {
|
|
|
|
switch d.processor {
|
|
|
@ -6700,7 +6700,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
case x86_64:
|
|
|
|
case x86_64:
|
|
|
|
w.WriteString(".type " + funcName + ", @function\n")
|
|
|
|
w.WriteString(".type " + funcName + ", @function\n")
|
|
|
|
w.WriteString(funcName + ":\n")
|
|
|
|
w.WriteString(funcName + ":\n")
|
|
|
|
@@ -1480,6 +1932,26 @@ func transform(w stringWriter, inputs []
|
|
|
|
@@ -1493,6 +1945,26 @@ func transform(w stringWriter, inputs []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
switch d.processor {
|
|
|
|
switch d.processor {
|
|
|
@ -6727,7 +6727,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
case aarch64:
|
|
|
|
case aarch64:
|
|
|
|
externalNames := sortedSet(d.gotExternalsNeeded)
|
|
|
|
externalNames := sortedSet(d.gotExternalsNeeded)
|
|
|
|
for _, symbol := range externalNames {
|
|
|
|
for _, symbol := range externalNames {
|
|
|
|
@@ -1790,6 +2262,10 @@ func localTargetName(name string) string
|
|
|
|
@@ -1803,6 +2275,10 @@ func localTargetName(name string) string
|
|
|
|
return ".L" + name + "_local_target"
|
|
|
|
return ".L" + name + "_local_target"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -6738,7 +6738,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
func isSynthesized(symbol string) bool {
|
|
|
|
func isSynthesized(symbol string) bool {
|
|
|
|
return strings.HasSuffix(symbol, "_bss_get") ||
|
|
|
|
return strings.HasSuffix(symbol, "_bss_get") ||
|
|
|
|
symbol == "OPENSSL_ia32cap_get" ||
|
|
|
|
symbol == "OPENSSL_ia32cap_get" ||
|
|
|
|
@@ -1845,6 +2321,8 @@ func detectProcessor(input inputFile) pr
|
|
|
|
@@ -1858,6 +2334,8 @@ func detectProcessor(input inputFile) pr
|
|
|
|
switch instructionName {
|
|
|
|
switch instructionName {
|
|
|
|
case "movq", "call", "leaq":
|
|
|
|
case "movq", "call", "leaq":
|
|
|
|
return x86_64
|
|
|
|
return x86_64
|
|
|
@ -6747,10 +6747,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
case "str", "bl", "ldr", "st1":
|
|
|
|
case "str", "bl", "ldr", "st1":
|
|
|
|
return aarch64
|
|
|
|
return aarch64
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
|
|
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
|
|
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
|
|
|
|
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
|
|
|
@ -6760,10 +6760,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
# https://github.com/pointlander/peg. delocate.go has a go:generate line for
|
|
|
|
# https://github.com/pointlander/peg. delocate.go has a go:generate line for
|
|
|
|
# rebuilding delocate.peg.go from this file.
|
|
|
|
# rebuilding delocate.peg.go from this file.
|
|
|
|
|
|
|
|
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
@@ -39,6 +39,11 @@ func (test *delocateTest) Path(file stri
|
|
|
|
@@ -39,6 +39,11 @@ func (test *delocateTest) Path(file stri
|
|
|
|
|
|
|
|
|
|
|
|
var delocateTests = []delocateTest{
|
|
|
|
var delocateTests = []delocateTest{
|
|
|
@ -6776,10 +6776,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
{"x86_64-Basic", []string{"in.s"}, "out.s"},
|
|
|
|
{"x86_64-Basic", []string{"in.s"}, "out.s"},
|
|
|
|
{"x86_64-BSS", []string{"in.s"}, "out.s"},
|
|
|
|
{"x86_64-BSS", []string{"in.s"}, "out.s"},
|
|
|
|
{"x86_64-GOTRewrite", []string{"in.s"}, "out.s"},
|
|
|
|
{"x86_64-GOTRewrite", []string{"in.s"}, "out.s"},
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
@@ -0,0 +1,9 @@
|
|
|
|
@@ -0,0 +1,9 @@
|
|
|
|
+ .text
|
|
|
|
+ .text
|
|
|
|
+foo:
|
|
|
|
+foo:
|
|
|
@ -6790,10 +6790,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+ .localentry foo,.-foo
|
|
|
|
+ .localentry foo,.-foo
|
|
|
|
+.LVL0:
|
|
|
|
+.LVL0:
|
|
|
|
+ bl
|
|
|
|
+ bl
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
@@ -0,0 +1,62 @@
|
|
|
|
@@ -0,0 +1,62 @@
|
|
|
|
+.text
|
|
|
|
+.text
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
@ -6857,19 +6857,19 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x80
|
|
|
|
+.byte 0x80
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
@@ -0,0 +1,4 @@
|
|
|
|
@@ -0,0 +1,4 @@
|
|
|
|
+ .text
|
|
|
|
+ .text
|
|
|
|
+foo:
|
|
|
|
+foo:
|
|
|
|
+ addis 22,2,bar@toc@ha
|
|
|
|
+ addis 22,2,bar@toc@ha
|
|
|
|
+ ld 0,bar@toc@l(22)
|
|
|
|
+ ld 0,bar@toc@l(22)
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
@@ -0,0 +1,72 @@
|
|
|
|
@@ -0,0 +1,72 @@
|
|
|
|
+.text
|
|
|
|
+.text
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
@ -6943,10 +6943,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x80
|
|
|
|
+.byte 0x80
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
@@ -0,0 +1,161 @@
|
|
|
|
@@ -0,0 +1,161 @@
|
|
|
|
+ .file "foo.c"
|
|
|
|
+ .file "foo.c"
|
|
|
|
+ .abiversion 2
|
|
|
|
+ .abiversion 2
|
|
|
@ -7109,10 +7109,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+ .size exported_function,.-exported_function
|
|
|
|
+ .size exported_function,.-exported_function
|
|
|
|
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
|
|
|
|
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
|
|
|
|
+ .section .note.GNU-stack,"",@progbits
|
|
|
|
+ .section .note.GNU-stack,"",@progbits
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
@@ -0,0 +1,552 @@
|
|
|
|
@@ -0,0 +1,552 @@
|
|
|
|
+.text
|
|
|
|
+.text
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
@ -7666,10 +7666,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x80
|
|
|
|
+.byte 0x80
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
@@ -0,0 +1,226 @@
|
|
|
|
@@ -0,0 +1,226 @@
|
|
|
|
+ .file "foo.c"
|
|
|
|
+ .file "foo.c"
|
|
|
|
+ .abiversion 2
|
|
|
|
+ .abiversion 2
|
|
|
@ -7897,10 +7897,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+ .zero 20
|
|
|
|
+ .zero 20
|
|
|
|
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
|
|
|
|
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
|
|
|
|
+ .section .note.GNU-stack,"",@progbits
|
|
|
|
+ .section .note.GNU-stack,"",@progbits
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
@@ -0,0 +1,677 @@
|
|
|
|
@@ -0,0 +1,677 @@
|
|
|
|
+.text
|
|
|
|
+.text
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
@ -8579,10 +8579,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x80
|
|
|
|
+.byte 0x80
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
@@ -0,0 +1,23 @@
|
|
|
|
@@ -0,0 +1,23 @@
|
|
|
|
+ .text
|
|
|
|
+ .text
|
|
|
|
+foo:
|
|
|
|
+foo:
|
|
|
@ -8607,10 +8607,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ addis 4, 2, 1+foo-2@toc@ha+3
|
|
|
|
+ addis 4, 2, 1+foo-2@toc@ha+3
|
|
|
|
+ addi 4, 4, 1+foo-2@toc@l+3
|
|
|
|
+ addi 4, 4, 1+foo-2@toc@l+3
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
@@ -0,0 +1,178 @@
|
|
|
|
@@ -0,0 +1,178 @@
|
|
|
|
+.text
|
|
|
|
+.text
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
@ -8790,11 +8790,11 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/fipstools/delocate
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0xff
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x31
|
|
|
|
+.byte 0x80
|
|
|
|
+.byte 0x80
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c.inc
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c.inc
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c.inc
|
|
|
|
@@ -416,6 +416,10 @@ static void sha1_block_data_order(uint32
|
|
|
|
@@ -408,6 +408,10 @@ static void sha1_block_data_order(uint32
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -8805,11 +8805,11 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/crypto/fipsmodule/sha/s
|
|
|
|
sha1_block_data_order_nohw(state, data, num);
|
|
|
|
sha1_block_data_order_nohw(state, data, num);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/build.json
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/build.json
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/build.json
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/build.json
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/build.json
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/build.json
|
|
|
|
@@ -122,6 +122,10 @@
|
|
|
|
@@ -118,6 +118,10 @@
|
|
|
|
{"src": "crypto/fipsmodule/sha/asm/sha512-armv4.pl"},
|
|
|
|
{"src": "crypto/fipsmodule/sha/asm/sha512-armv4.pl"},
|
|
|
|
{"src": "crypto/fipsmodule/aes/asm/vpaes-armv7.pl"}
|
|
|
|
{"src": "crypto/fipsmodule/aes/asm/vpaes-armv7.pl"}
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -8820,7 +8820,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/build.json
|
|
|
|
"perlasm_x86": [
|
|
|
|
"perlasm_x86": [
|
|
|
|
{"src": "crypto/fipsmodule/aes/asm/aesni-x86.pl"},
|
|
|
|
{"src": "crypto/fipsmodule/aes/asm/aesni-x86.pl"},
|
|
|
|
{"src": "crypto/fipsmodule/bn/asm/bn-586.pl"},
|
|
|
|
{"src": "crypto/fipsmodule/bn/asm/bn-586.pl"},
|
|
|
|
@@ -225,6 +229,7 @@
|
|
|
|
@@ -219,6 +223,7 @@
|
|
|
|
"crypto/cpu_arm_freebsd.c",
|
|
|
|
"crypto/cpu_arm_freebsd.c",
|
|
|
|
"crypto/cpu_arm_linux.c",
|
|
|
|
"crypto/cpu_arm_linux.c",
|
|
|
|
"crypto/cpu_intel.c",
|
|
|
|
"crypto/cpu_intel.c",
|
|
|
@ -8828,7 +8828,7 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/build.json
|
|
|
|
"crypto/crypto.c",
|
|
|
|
"crypto/crypto.c",
|
|
|
|
"crypto/curve25519/curve25519.c",
|
|
|
|
"crypto/curve25519/curve25519.c",
|
|
|
|
"crypto/curve25519/curve25519_64_adx.c",
|
|
|
|
"crypto/curve25519/curve25519_64_adx.c",
|
|
|
|
@@ -775,6 +780,9 @@
|
|
|
|
@@ -799,6 +804,9 @@
|
|
|
|
"perlasm_arm": [
|
|
|
|
"perlasm_arm": [
|
|
|
|
{"src": "crypto/test/asm/trampoline-armv4.pl"}
|
|
|
|
{"src": "crypto/test/asm/trampoline-armv4.pl"}
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -8838,10 +8838,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/build.json
|
|
|
|
"perlasm_x86": [
|
|
|
|
"perlasm_x86": [
|
|
|
|
{"src": "crypto/test/asm/trampoline-x86.pl"}
|
|
|
|
{"src": "crypto/test/asm/trampoline-x86.pl"}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
@@ -38,6 +38,7 @@ type InputTarget struct {
|
|
|
|
@@ -38,6 +38,7 @@ type InputTarget struct {
|
|
|
|
// architecture.
|
|
|
|
// architecture.
|
|
|
|
PerlasmAarch64 []PerlasmSource `json:"perlasm_aarch64,omitempty"`
|
|
|
|
PerlasmAarch64 []PerlasmSource `json:"perlasm_aarch64,omitempty"`
|
|
|
@ -8860,38 +8860,10 @@ Index: chromium-128.0.6613.113/third_party/boringssl/src/util/pregenerate/build.
|
|
|
|
for _, p := range in.PerlasmX86 {
|
|
|
|
for _, p := range in.PerlasmX86 {
|
|
|
|
addPerlasmTask(&out.Asm, &p, "-apple.S", []string{"macosx", "-fPIC"})
|
|
|
|
addPerlasmTask(&out.Asm, &p, "-apple.S", []string{"macosx", "-fPIC"})
|
|
|
|
addPerlasmTask(&out.Asm, &p, "-linux.S", []string{"elf", "-fPIC"})
|
|
|
|
addPerlasmTask(&out.Asm, &p, "-linux.S", []string{"elf", "-fPIC"})
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/BUILD.generated.gni
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/README.ppc64le
|
|
|
|
===================================================================
|
|
|
|
|
|
|
|
--- chromium-128.0.6613.113.orig/third_party/boringssl/BUILD.generated.gni
|
|
|
|
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/BUILD.generated.gni
|
|
|
|
|
|
|
|
@@ -92,6 +92,7 @@ crypto_sources = [
|
|
|
|
|
|
|
|
"src/crypto/cpu_arm_linux.c",
|
|
|
|
|
|
|
|
"src/crypto/cpu_arm_linux.h",
|
|
|
|
|
|
|
|
"src/crypto/cpu_intel.c",
|
|
|
|
|
|
|
|
+ "src/crypto/cpu_ppc64le.c",
|
|
|
|
|
|
|
|
"src/crypto/crypto.c",
|
|
|
|
|
|
|
|
"src/crypto/curve25519/curve25519.c",
|
|
|
|
|
|
|
|
"src/crypto/curve25519/curve25519_64_adx.c",
|
|
|
|
|
|
|
|
@@ -335,6 +336,7 @@ crypto_sources_asm = [
|
|
|
|
|
|
|
|
"src/gen/bcm/aesv8-gcm-armv8-apple.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/aesv8-gcm-armv8-linux.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/aesv8-gcm-armv8-win.S",
|
|
|
|
|
|
|
|
+ "src/gen/bcm/aesp8-ppc-linux.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/armv4-mont-linux.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/armv8-mont-apple.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/armv8-mont-linux.S",
|
|
|
|
|
|
|
|
@@ -351,6 +353,7 @@ crypto_sources_asm = [
|
|
|
|
|
|
|
|
"src/gen/bcm/ghash-neon-armv8-apple.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/ghash-neon-armv8-linux.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/ghash-neon-armv8-win.S",
|
|
|
|
|
|
|
|
+ "src/gen/bcm/ghashp8-ppc-linux.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/ghash-ssse3-x86-apple.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/ghash-ssse3-x86-linux.S",
|
|
|
|
|
|
|
|
"src/gen/bcm/ghash-ssse3-x86_64-apple.S",
|
|
|
|
|
|
|
|
Index: chromium-128.0.6613.113/third_party/boringssl/README.ppc64le
|
|
|
|
|
|
|
|
===================================================================
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ chromium-128.0.6613.113/third_party/boringssl/README.ppc64le
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/README.ppc64le
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+==============================================================
|
|
|
|
+==============================================================
|
|
|
|
+To recreate boringssl pregenerated files patch for ppc64le:
|
|
|
|
+To recreate boringssl pregenerated files patch for ppc64le:
|
|
|
@ -8901,3 +8873,31 @@ Index: chromium-128.0.6613.113/third_party/boringssl/README.ppc64le
|
|
|
|
+go run ./util/pregenerate
|
|
|
|
+go run ./util/pregenerate
|
|
|
|
+cd ../../../../
|
|
|
|
+cd ../../../../
|
|
|
|
+diff -urN chromium-*/third_party/boringssl/src/gen.orig chromium-*/third_party/boringssl/src/gen
|
|
|
|
+diff -urN chromium-*/third_party/boringssl/src/gen.orig chromium-*/third_party/boringssl/src/gen
|
|
|
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/gen/sources.gni
|
|
|
|
|
|
|
|
===================================================================
|
|
|
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/gen/sources.gni
|
|
|
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/gen/sources.gni
|
|
|
|
|
|
|
|
@@ -107,6 +107,7 @@ bcm_sources_asm = [
|
|
|
|
|
|
|
|
"gen/bcm/aesv8-gcm-armv8-apple.S",
|
|
|
|
|
|
|
|
"gen/bcm/aesv8-gcm-armv8-linux.S",
|
|
|
|
|
|
|
|
"gen/bcm/aesv8-gcm-armv8-win.S",
|
|
|
|
|
|
|
|
+ "gen/bcm/aesp8-ppc-linux.S",
|
|
|
|
|
|
|
|
"gen/bcm/armv4-mont-linux.S",
|
|
|
|
|
|
|
|
"gen/bcm/armv8-mont-apple.S",
|
|
|
|
|
|
|
|
"gen/bcm/armv8-mont-linux.S",
|
|
|
|
|
|
|
|
@@ -123,6 +124,7 @@ bcm_sources_asm = [
|
|
|
|
|
|
|
|
"gen/bcm/ghash-neon-armv8-apple.S",
|
|
|
|
|
|
|
|
"gen/bcm/ghash-neon-armv8-linux.S",
|
|
|
|
|
|
|
|
"gen/bcm/ghash-neon-armv8-win.S",
|
|
|
|
|
|
|
|
+ "gen/bcm/ghashp8-ppc-linux.S",
|
|
|
|
|
|
|
|
"gen/bcm/ghash-ssse3-x86-apple.S",
|
|
|
|
|
|
|
|
"gen/bcm/ghash-ssse3-x86-linux.S",
|
|
|
|
|
|
|
|
"gen/bcm/ghash-ssse3-x86_64-apple.S",
|
|
|
|
|
|
|
|
@@ -314,6 +316,7 @@ crypto_sources = [
|
|
|
|
|
|
|
|
"crypto/cpu_arm_freebsd.c",
|
|
|
|
|
|
|
|
"crypto/cpu_arm_linux.c",
|
|
|
|
|
|
|
|
"crypto/cpu_intel.c",
|
|
|
|
|
|
|
|
+ "crypto/cpu_ppc64le.c",
|
|
|
|
|
|
|
|
"crypto/crypto.c",
|
|
|
|
|
|
|
|
"crypto/curve25519/curve25519.c",
|
|
|
|
|
|
|
|
"crypto/curve25519/curve25519_64_adx.c",
|
|
|
|