|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
|
@@ -521,3 +521,289 @@ TEST(ABITest, AArch64) {
|
|
|
|
|
CHECK_ABI_NO_UNWIND(abi_test_clobber_v15_upper);
|
|
|
|
|
}
|
|
|
|
@ -292,10 +292,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/abi_self_test.cc
|
|
|
|
|
+ CHECK_ABI_NO_UNWIND(abi_test_clobber_lr);
|
|
|
|
|
+}
|
|
|
|
|
+#endif // OPENSSL_PPC64LE && SUPPORTS_ABI_TEST
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/cpu_ppc64le.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/cpu_ppc64le.cc
|
|
|
|
|
@@ -0,0 +1,38 @@
|
|
|
|
|
+/* Copyright (c) 2016, Google Inc.
|
|
|
|
|
+ *
|
|
|
|
@ -335,11 +335,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/cpu_ppc64le.c
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+#endif // OPENSSL_PPC64LE
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/crypto.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/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) {
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/crypto.cc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/crypto.cc
|
|
|
|
|
@@ -67,6 +67,10 @@ uint32_t OPENSSL_get_ia32cap(int idx) {
|
|
|
|
|
return OPENSSL_ia32cap_P[idx];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -350,10 +350,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/crypto.c
|
|
|
|
|
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
|
|
|
|
|
|
|
|
|
|
#include <openssl/arm_arch.h>
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
|
|
|
|
|
@@ -0,0 +1,3809 @@
|
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
|
+# Copyright 2014-2018 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
@ -4164,12 +4164,12 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/as
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
|
@@ -61,6 +61,12 @@ OPENSSL_INLINE int vpaes_capable(void) {
|
|
|
|
|
OPENSSL_INLINE int vpaes_capable(void) { return CRYPTO_is_NEON_capable(); }
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
|
|
|
|
|
@@ -82,6 +82,12 @@ inline int vpaes_capable(void) { return
|
|
|
|
|
inline int vpaes_capable(void) { return CRYPTO_is_NEON_capable(); }
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+#elif defined(OPENSSL_PPC64LE)
|
|
|
|
@ -4181,23 +4181,23 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/aes/in
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif // !NO_ASM
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bcm.c
|
|
|
|
|
@@ -101,6 +101,7 @@
|
|
|
|
|
#include "self_check/fips.c.inc"
|
|
|
|
|
#include "self_check/self_check.c.inc"
|
|
|
|
|
#include "service_indicator/service_indicator.c.inc"
|
|
|
|
|
+#include "sha/sha1-altivec.c.inc"
|
|
|
|
|
#include "sha/sha1.c.inc"
|
|
|
|
|
#include "sha/sha256.c.inc"
|
|
|
|
|
#include "sha/sha512.c.inc"
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c.inc
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
|
|
|
|
|
@@ -105,6 +105,7 @@
|
|
|
|
|
#include "self_check/fips.cc.inc"
|
|
|
|
|
#include "self_check/self_check.cc.inc"
|
|
|
|
|
#include "service_indicator/service_indicator.cc.inc"
|
|
|
|
|
+#include "sha/sha1-altivec.cc.inc"
|
|
|
|
|
#include "sha/sha1.cc.inc"
|
|
|
|
|
#include "sha/sha256.cc.inc"
|
|
|
|
|
#include "sha/sha512.cc.inc"
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/bn/bn.cc.inc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/bn/bn.c.inc
|
|
|
|
|
+++ 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) {
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/bn/bn.cc.inc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/bn/bn.cc.inc
|
|
|
|
|
@@ -325,6 +325,23 @@ int bn_expand(BIGNUM *bn, size_t bits) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int bn_resize_words(BIGNUM *bn, size_t words) {
|
|
|
|
@ -4221,11 +4221,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/bn/bn.
|
|
|
|
|
if ((size_t)bn->width <= words) {
|
|
|
|
|
if (!bn_wexpand(bn, words)) {
|
|
|
|
|
return 0;
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c.inc
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c.inc
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c.inc
|
|
|
|
|
@@ -1456,6 +1456,8 @@ int EVP_has_aes_hardware(void) {
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
|
|
|
|
|
@@ -1230,6 +1230,8 @@ int EVP_has_aes_hardware(void) {
|
|
|
|
|
return hwaes_capable() && crypto_gcm_clmul_enabled();
|
|
|
|
|
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
|
|
|
|
|
return hwaes_capable() && CRYPTO_is_ARMv8_PMULL_capable();
|
|
|
|
@ -4234,10 +4234,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/cipher
|
|
|
|
|
#else
|
|
|
|
|
return 0;
|
|
|
|
|
#endif
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashp8-ppc.pl
|
|
|
|
|
@@ -0,0 +1,671 @@
|
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
|
+# Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
@ -4910,10 +4910,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!"; # enforce flush
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c.inc
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.cc.inc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c.inc
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.c.inc
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.cc.inc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/modes/gcm.cc.inc
|
|
|
|
|
@@ -228,6 +228,13 @@ void CRYPTO_ghash_init(gmult_func *out_m
|
|
|
|
|
*out_hash = gcm_ghash_neon;
|
|
|
|
|
return;
|
|
|
|
@ -4928,11 +4928,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
gcm_init_nohw(out_table, H);
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
|
@@ -209,5 +209,15 @@ TEST(GCMTest, ABI) {
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/modes/gcm_test.cc
|
|
|
|
|
@@ -170,5 +170,15 @@ TEST(GCMTest, ABI) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
@ -4948,11 +4948,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/
|
|
|
|
|
+#endif // GHASH_ASM_PPC64LE
|
|
|
|
|
}
|
|
|
|
|
#endif // SUPPORTS_ABI_TEST && !OPENSSL_NO_ASM
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
|
Index: chromium-133.0.6943.35/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-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
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/modes/internal.h
|
|
|
|
|
@@ -260,6 +260,13 @@ void aes_gcm_dec_kernel(const uint8_t *i
|
|
|
|
|
const u128 Htable[16]);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -4966,10 +4966,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/modes/
|
|
|
|
|
#endif
|
|
|
|
|
#endif // OPENSSL_NO_ASM
|
|
|
|
|
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/rand_extra/getrandom_fillin.h
|
|
|
|
|
@@ -30,6 +30,8 @@
|
|
|
|
|
#define EXPECTED_NR_getrandom 278
|
|
|
|
|
#elif defined(OPENSSL_ARM)
|
|
|
|
@ -4979,11 +4979,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/rand_extra/getran
|
|
|
|
|
#elif defined(OPENSSL_RISCV64)
|
|
|
|
|
#define EXPECTED_NR_getrandom 278
|
|
|
|
|
#endif
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c.inc
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c.inc
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/rand/rand.c.inc
|
|
|
|
|
@@ -427,6 +427,11 @@ bcm_infallible BCM_rand_bytes_with_addit
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
|
|
|
|
|
@@ -431,6 +431,11 @@ bcm_infallible BCM_rand_bytes_with_addit
|
|
|
|
|
// Take a read lock around accesses to |state->drbg|. This is needed to
|
|
|
|
|
// avoid returning bad entropy if we race with
|
|
|
|
|
// |rand_thread_state_clear_all|.
|
|
|
|
@ -4995,10 +4995,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/rand/r
|
|
|
|
|
CRYPTO_MUTEX_lock_read(&state->clear_drbg_lock);
|
|
|
|
|
#endif
|
|
|
|
|
if (!CTR_DRBG_reseed(&state->drbg, seed, reseed_additional_data,
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
|
|
|
|
|
@@ -23,6 +23,16 @@
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
@ -5016,16 +5016,16 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/in
|
|
|
|
|
// Define SHA{n}[_{variant}]_ASM if sha{n}_block_data_order[_{variant}] is
|
|
|
|
|
// defined in assembly.
|
|
|
|
|
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.c.inc
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.cc.inc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.c.inc
|
|
|
|
|
@@ -0,0 +1,361 @@
|
|
|
|
|
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.cc.inc
|
|
|
|
|
@@ -0,0 +1,369 @@
|
|
|
|
|
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.ccom)
|
|
|
|
|
+ * All rights reserved.
|
|
|
|
|
+ *
|
|
|
|
|
+ * This package is an SSL implementation written
|
|
|
|
|
+ * by Eric Young (eay@cryptsoft.com).
|
|
|
|
|
+ * by Eric Young (eay@cryptsoft.ccom).
|
|
|
|
|
+ * The implementation was written so as to conform with Netscapes SSL.
|
|
|
|
|
+ *
|
|
|
|
|
+ * This library is free for commercial and non-commercial use as long as
|
|
|
|
@ -5033,7 +5033,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
+ * apply to all code found in this distribution, be it the RC4, RSA,
|
|
|
|
|
+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
|
|
|
|
+ * included with this distribution is covered by the same copyright terms
|
|
|
|
|
+ * except that the holder is Tim Hudson (tjh@cryptsoft.com).
|
|
|
|
|
+ * except that the holder is Tim Hudson (tjh@cryptsoft.ccom).
|
|
|
|
|
+ *
|
|
|
|
|
+ * Copyright remains Eric Young's, and as such any Copyright notices in
|
|
|
|
|
+ * the code are not to be removed.
|
|
|
|
@ -5053,12 +5053,12 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
+ * 3. All advertising materials mentioning features or use of this software
|
|
|
|
|
+ * must display the following acknowledgement:
|
|
|
|
|
+ * "This product includes cryptographic software written by
|
|
|
|
|
+ * Eric Young (eay@cryptsoft.com)"
|
|
|
|
|
+ * Eric Young (eay@cryptsoft.ccom)"
|
|
|
|
|
+ * The word 'cryptographic' can be left out if the rouines from the library
|
|
|
|
|
+ * being used are not cryptographic related :-).
|
|
|
|
|
+ * 4. If you include any Windows specific code (or a derivative thereof) from
|
|
|
|
|
+ * the apps directory (application code) you must include an acknowledgement:
|
|
|
|
|
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
|
|
|
|
|
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.ccom)"
|
|
|
|
|
+ *
|
|
|
|
|
+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
|
|
|
|
|
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
@ -5080,7 +5080,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
+// Altivec-optimized SHA1 in C. This is tested on ppc64le only.
|
|
|
|
|
+//
|
|
|
|
|
+// References:
|
|
|
|
|
+// https://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1
|
|
|
|
|
+// https://software.intel.ccom/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1
|
|
|
|
|
+// http://arctic.org/~dean/crypto/sha1.html
|
|
|
|
|
+//
|
|
|
|
|
+// This code used the generic SHA-1 from OpenSSL as a basis and AltiVec
|
|
|
|
@ -5090,6 +5090,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
+
|
|
|
|
|
+#if defined(OPENSSL_PPC64LE)
|
|
|
|
|
+
|
|
|
|
|
+#if defined(__cplusplus)
|
|
|
|
|
+extern "C" {
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
+#include <altivec.h>
|
|
|
|
|
+
|
|
|
|
|
+void sha1_block_data_order_ppc64(uint32_t *state, const uint8_t *data, size_t num);
|
|
|
|
@ -5175,7 +5179,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
+ return w;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// As pointed out by Wei Dai <weidai@eskimo.com>, F() below can be simplified
|
|
|
|
|
+// As pointed out by Wei Dai <weidai@eskimo.ccom>, F() below can be simplified
|
|
|
|
|
+// to the code in F_00_19. Wei attributes these optimisations to Peter
|
|
|
|
|
+// Gutmann's SHS code, and he attributes it to Rich Schroeppel. #define
|
|
|
|
|
+// F(x,y,z) (((x) & (y)) | ((~(x)) & (z))) I've just become aware of another
|
|
|
|
@ -5368,6 +5372,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+#if defined(__cplusplus)
|
|
|
|
|
+}
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
+#endif // OPENSSL_PPC64LE
|
|
|
|
|
+
|
|
|
|
|
+#undef K_00_19
|
|
|
|
@ -5382,11 +5390,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
+#undef BODY_20_39
|
|
|
|
|
+#undef BODY_40_59
|
|
|
|
|
+#undef BODY_60_79
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/internal.h
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/internal.h
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/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" {
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/internal.h
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/internal.h
|
|
|
|
|
@@ -56,8 +56,9 @@ extern "C" {
|
|
|
|
|
#if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_STATIC_ARMCAP) && \
|
|
|
|
|
(defined(OPENSSL_X86) || defined(OPENSSL_X86_64) || \
|
|
|
|
|
defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64))
|
|
|
|
@ -5398,7 +5406,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/internal.h
|
|
|
|
|
#define NEED_CPUID
|
|
|
|
|
|
|
|
|
|
// OPENSSL_cpuid_setup initializes the platform-specific feature cache. This
|
|
|
|
|
@@ -1723,6 +1724,16 @@ OPENSSL_INLINE int CRYPTO_is_ARMv8_SHA51
|
|
|
|
|
@@ -1397,6 +1398,16 @@ inline int CRYPTO_is_ARMv8_SHA512_capabl
|
|
|
|
|
|
|
|
|
|
#endif // OPENSSL_ARM || OPENSSL_AARCH64
|
|
|
|
|
|
|
|
|
@ -5415,10 +5423,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/internal.h
|
|
|
|
|
#if defined(BORINGSSL_DISPATCH_TEST)
|
|
|
|
|
// Runtime CPU dispatch testing support
|
|
|
|
|
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
|
|
|
|
|
@@ -0,0 +1,320 @@
|
|
|
|
|
+#! /usr/bin/env perl
|
|
|
|
|
+# Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
@ -5501,7 +5509,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/perlasm/ppc-xlate
|
|
|
|
|
+ $ret;
|
|
|
|
|
+};
|
|
|
|
|
+my $text = sub {
|
|
|
|
|
+ my $ret = ($flavour =~ /aix/) ? ".csect\t.text[PR],7" : ".text";
|
|
|
|
|
+ my $ret = ($flavour =~ /aix/) ? ".ccsect\t.text[PR],7" : ".text";
|
|
|
|
|
+ $ret = ".abiversion 2\n".$ret if ($flavour =~ /linux.*64le/);
|
|
|
|
|
+ $ret;
|
|
|
|
|
+};
|
|
|
|
@ -5734,16 +5742,16 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/perlasm/ppc-xlate
|
|
|
|
|
+print <<___;
|
|
|
|
|
+#endif // !OPENSSL_NO_ASM && __powerpc64__ && __ELF__
|
|
|
|
|
+#if defined(__ELF__)
|
|
|
|
|
+// See https://www.airs.com/blog/archives/518.
|
|
|
|
|
+// See https://www.airs.ccom/blog/archives/518.
|
|
|
|
|
+.section .note.GNU-stack,"",\%progbits
|
|
|
|
|
+#endif
|
|
|
|
|
+___
|
|
|
|
|
+
|
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
|
@@ -179,7 +179,78 @@ struct alignas(16) Reg128 {
|
|
|
|
|
CALLER_STATE_REGISTER(uint64_t, x28) \
|
|
|
|
|
CALLER_STATE_REGISTER(uint64_t, x29)
|
|
|
|
@ -5850,10 +5858,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/abi_test.h
|
|
|
|
|
static_assert(sizeof...(args) <= 8,
|
|
|
|
|
"too many arguments for abi_test_trampoline");
|
|
|
|
|
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
|
|
|
|
|
@@ -0,0 +1,262 @@
|
|
|
|
|
+#!/usr/bin/env perl
|
|
|
|
|
+# Copyright (c) 2019, Google Inc.
|
|
|
|
@ -6117,10 +6125,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/test/asm/trampoli
|
|
|
|
|
+
|
|
|
|
|
+print $code;
|
|
|
|
|
+close STDOUT or die "error closing STDOUT: $!";
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
|
@@ -34,6 +34,9 @@
|
|
|
|
|
#elif defined(__ARMEL__) || defined(_M_ARM)
|
|
|
|
|
#define OPENSSL_32_BIT
|
|
|
|
@ -6131,11 +6139,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/include/openssl/target.h
|
|
|
|
|
#elif defined(__MIPSEL__) && !defined(__LP64__)
|
|
|
|
|
#define OPENSSL_32_BIT
|
|
|
|
|
#define OPENSSL_MIPS
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
|
@@ -37,6 +37,8 @@ int main(int argc, char **argv) {
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
|
|
|
|
|
@@ -38,6 +38,8 @@ int main(int argc, char **argv) {
|
|
|
|
|
puts("ARM (32-bit)");
|
|
|
|
|
#elif defined(OPENSSL_AARCH64)
|
|
|
|
|
puts("aarch64 (64-bit)");
|
|
|
|
@ -6144,10 +6152,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/acvp/modu
|
|
|
|
|
#else
|
|
|
|
|
#error "FIPS build not supported on this architecture"
|
|
|
|
|
#endif
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/delocate.go
|
|
|
|
|
@@ -54,7 +54,8 @@ type stringWriter interface {
|
|
|
|
|
type processorType int
|
|
|
|
|
|
|
|
|
@ -6306,13 +6314,13 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+func (d *delocation) isPPC64LEAPair(statement *node32) (target, source, relative string, ok bool) {
|
|
|
|
|
+ instruction := skipWS(statement.up).up
|
|
|
|
|
+ assertNodeType(instruction, ruleInstructionName)
|
|
|
|
|
+ name1 := d.contents(instruction)
|
|
|
|
|
+ name1 := d.ccontents(instruction)
|
|
|
|
|
+ args1 := instructionArgs(instruction.next)
|
|
|
|
|
+
|
|
|
|
|
+ statement = statement.next
|
|
|
|
|
+ instruction = skipWS(statement.up).up
|
|
|
|
|
+ assertNodeType(instruction, ruleInstructionName)
|
|
|
|
|
+ name2 := d.contents(instruction)
|
|
|
|
|
+ name2 := d.ccontents(instruction)
|
|
|
|
|
+ args2 := instructionArgs(instruction.next)
|
|
|
|
|
+
|
|
|
|
|
+ if name1 != "addis" ||
|
|
|
|
@ -6322,16 +6330,16 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+ return "", "", "", false
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ target = d.contents(args1[0])
|
|
|
|
|
+ relative = d.contents(args1[1])
|
|
|
|
|
+ source1 := d.contents(args1[2])
|
|
|
|
|
+ source2 := d.contents(args2[2])
|
|
|
|
|
+ target = d.ccontents(args1[0])
|
|
|
|
|
+ relative = d.ccontents(args1[1])
|
|
|
|
|
+ source1 := d.ccontents(args1[2])
|
|
|
|
|
+ source2 := d.ccontents(args2[2])
|
|
|
|
|
+
|
|
|
|
|
+ if !strings.HasSuffix(source1, "@ha") ||
|
|
|
|
|
+ !strings.HasSuffix(source2, "@l") ||
|
|
|
|
|
+ source1[:len(source1)-3] != source2[:len(source2)-2] ||
|
|
|
|
|
+ d.contents(args2[0]) != target ||
|
|
|
|
|
+ d.contents(args2[1]) != target {
|
|
|
|
|
+ d.ccontents(args2[0]) != target ||
|
|
|
|
|
+ d.ccontents(args2[1]) != target {
|
|
|
|
|
+ return "", "", "", false
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
@ -6404,7 +6412,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
|
|
|
|
|
+func (d *delocation) processPPCInstruction(statement, instruction *node32) (*node32, error) {
|
|
|
|
|
+ assertNodeType(instruction, ruleInstructionName)
|
|
|
|
|
+ instructionName := d.contents(instruction)
|
|
|
|
|
+ instructionName := d.ccontents(instruction)
|
|
|
|
|
+ isBranch := instructionName[0] == 'b'
|
|
|
|
|
+
|
|
|
|
|
+ argNodes := instructionArgs(instruction.next)
|
|
|
|
@ -6425,7 +6433,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+
|
|
|
|
|
+ switch arg.pegRule {
|
|
|
|
|
+ case ruleRegisterOrConstant, ruleLocalLabelRef:
|
|
|
|
|
+ args = append(args, d.contents(fullArg))
|
|
|
|
|
+ args = append(args, d.ccontents(fullArg))
|
|
|
|
|
+
|
|
|
|
|
+ case ruleTOCRefLow:
|
|
|
|
|
+ return nil, errors.New("Found low TOC reference outside preamble pattern")
|
|
|
|
@ -6583,7 +6591,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ for ; memRef != nil; memRef = memRef.next {
|
|
|
|
|
+ argStr += d.contents(memRef)
|
|
|
|
|
+ argStr += d.ccontents(memRef)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ args = append(args, argStr)
|
|
|
|
@ -6629,7 +6637,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
forEachPath(input.ast.up, func(node *node32) {
|
|
|
|
|
+ node = node.up
|
|
|
|
|
+ assertNodeType(node, ruleLabelContainingDirectiveName)
|
|
|
|
|
+ directive := input.contents[node.begin:node.end]
|
|
|
|
|
+ directive := input.ccontents[node.begin:node.end]
|
|
|
|
|
+ if directive != ".localentry" {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
@ -6638,7 +6646,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+ assertNodeType(node, ruleSymbolArgs)
|
|
|
|
|
+ node = node.up
|
|
|
|
|
+ assertNodeType(node, ruleSymbolArg)
|
|
|
|
|
+ symbol := input.contents[node.begin:node.end]
|
|
|
|
|
+ symbol := input.ccontents[node.begin:node.end]
|
|
|
|
|
+ if _, ok := localEntrySymbols[symbol]; ok {
|
|
|
|
|
+ panic(fmt.Sprintf("Duplicate .localentry directive found: %q in %q", symbol, input.path))
|
|
|
|
|
+ }
|
|
|
|
@ -6738,7 +6746,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
func isSynthesized(symbol string) bool {
|
|
|
|
|
return strings.HasSuffix(symbol, "_bss_get") ||
|
|
|
|
|
symbol == "OPENSSL_ia32cap_get" ||
|
|
|
|
|
@@ -1858,6 +2334,8 @@ func detectProcessor(input inputFile) pr
|
|
|
|
|
@@ -1894,6 +2370,8 @@ func detectProcessor(input inputFile) pr
|
|
|
|
|
switch instructionName {
|
|
|
|
|
case "movq", "call", "leaq":
|
|
|
|
|
return x86_64
|
|
|
|
@ -6747,23 +6755,27 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
case "str", "bl", "ldr", "st1":
|
|
|
|
|
return aarch64
|
|
|
|
|
}
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
|
|
|
|
|
@@ -12,9 +12,9 @@
|
|
|
|
|
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
|
|
|
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
|
|
|
|
|
|
|
|
|
|
-# This is a rough parser for x86-64 and aarch64 assembly designed to work with
|
|
|
|
|
+# This is a rough parser for x86-64 and ppc64le assembly designed to work with
|
|
|
|
|
# https://github.com/pointlander/peg. delocate.go has a go:generate line for
|
|
|
|
|
# rebuilding delocate.peg.go from this file.
|
|
|
|
|
-# https://github.com/pointlander/peg. delocate.go has a go:generate line for
|
|
|
|
|
-# rebuilding delocate.peg.go from this file.
|
|
|
|
|
+# This is a rough parser for x86-64, ppc64el, and aarch64 assembly designed
|
|
|
|
|
+# to work with https://github.com/pointlander/peg. delocate.go has a
|
|
|
|
|
+# go:generate line for rebuilding delocate.peg.go from this file.
|
|
|
|
|
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
|
# To regenerate delocate.peg.go:
|
|
|
|
|
#
|
|
|
|
|
Index: chromium-133.0.6943.35/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-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
|
|
|
|
|
@@ -39,6 +39,11 @@ func (test *delocateTest) Path(file stri
|
|
|
|
|
|
|
|
|
|
var delocateTests = []delocateTest{
|
|
|
|
@ -6776,10 +6788,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
{"x86_64-Basic", []string{"in.s"}, "out.s"},
|
|
|
|
|
{"x86_64-BSS", []string{"in.s"}, "out.s"},
|
|
|
|
|
{"x86_64-GOTRewrite", []string{"in.s"}, "out.s"},
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
|
|
|
|
|
@@ -0,0 +1,9 @@
|
|
|
|
|
+ .text
|
|
|
|
|
+foo:
|
|
|
|
@ -6790,13 +6802,13 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+ .localentry foo,.-foo
|
|
|
|
|
+.LVL0:
|
|
|
|
|
+ bl
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
|
|
|
|
|
@@ -0,0 +1,62 @@
|
|
|
|
|
+.text
|
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
|
+.file 1 "inserted_by_delocate.cc"
|
|
|
|
|
+.loc 1 1 0
|
|
|
|
|
+BORINGSSL_bcm_text_start:
|
|
|
|
|
+ .text
|
|
|
|
@ -6857,22 +6869,22 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+.byte 0xff
|
|
|
|
|
+.byte 0x31
|
|
|
|
|
+.byte 0x80
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
|
|
|
|
|
@@ -0,0 +1,4 @@
|
|
|
|
|
+ .text
|
|
|
|
|
+foo:
|
|
|
|
|
+ addis 22,2,bar@toc@ha
|
|
|
|
|
+ ld 0,bar@toc@l(22)
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
|
|
|
|
|
@@ -0,0 +1,72 @@
|
|
|
|
|
+.text
|
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
|
+.file 1 "inserted_by_delocate.cc"
|
|
|
|
|
+.loc 1 1 0
|
|
|
|
|
+BORINGSSL_bcm_text_start:
|
|
|
|
|
+ .text
|
|
|
|
@ -6943,12 +6955,12 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+.byte 0xff
|
|
|
|
|
+.byte 0x31
|
|
|
|
|
+.byte 0x80
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
|
|
|
|
|
@@ -0,0 +1,161 @@
|
|
|
|
|
+ .file "foo.c"
|
|
|
|
|
+ .file "foo.cc"
|
|
|
|
|
+ .abiversion 2
|
|
|
|
|
+ .section ".toc","aw"
|
|
|
|
|
+ .section ".text"
|
|
|
|
@ -7109,16 +7121,16 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+ .size exported_function,.-exported_function
|
|
|
|
|
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
|
|
|
|
|
+ .section .note.GNU-stack,"",@progbits
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
|
|
|
|
|
@@ -0,0 +1,552 @@
|
|
|
|
|
+.text
|
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
|
+.file 1 "inserted_by_delocate.cc"
|
|
|
|
|
+.loc 1 1 0
|
|
|
|
|
+BORINGSSL_bcm_text_start:
|
|
|
|
|
+ .file "foo.c"
|
|
|
|
|
+ .file "foo.cc"
|
|
|
|
|
+ .abiversion 2
|
|
|
|
|
+ .section ".toc","aw"
|
|
|
|
|
+# WAS .section ".text"
|
|
|
|
@ -7666,12 +7678,12 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+.byte 0xff
|
|
|
|
|
+.byte 0x31
|
|
|
|
|
+.byte 0x80
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
|
|
|
|
|
@@ -0,0 +1,226 @@
|
|
|
|
|
+ .file "foo.c"
|
|
|
|
|
+ .file "foo.cc"
|
|
|
|
|
+ .abiversion 2
|
|
|
|
|
+ .section ".toc","aw"
|
|
|
|
|
+ .section ".text"
|
|
|
|
@ -7897,16 +7909,16 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+ .zero 20
|
|
|
|
|
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
|
|
|
|
|
+ .section .note.GNU-stack,"",@progbits
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
|
|
|
|
|
@@ -0,0 +1,677 @@
|
|
|
|
|
+.text
|
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
|
+.file 1 "inserted_by_delocate.cc"
|
|
|
|
|
+.loc 1 1 0
|
|
|
|
|
+BORINGSSL_bcm_text_start:
|
|
|
|
|
+ .file "foo.c"
|
|
|
|
|
+ .file "foo.cc"
|
|
|
|
|
+ .abiversion 2
|
|
|
|
|
+ .section ".toc","aw"
|
|
|
|
|
+# WAS .section ".text"
|
|
|
|
@ -8579,10 +8591,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+.byte 0xff
|
|
|
|
|
+.byte 0x31
|
|
|
|
|
+.byte 0x80
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
|
|
|
|
|
@@ -0,0 +1,23 @@
|
|
|
|
|
+ .text
|
|
|
|
|
+foo:
|
|
|
|
@ -8607,13 +8619,13 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+
|
|
|
|
|
+ addis 4, 2, 1+foo-2@toc@ha+3
|
|
|
|
|
+ addi 4, 4, 1+foo-2@toc@l+3
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
|
|
|
|
|
@@ -0,0 +1,178 @@
|
|
|
|
|
+.text
|
|
|
|
|
+.file 1 "inserted_by_delocate.c"
|
|
|
|
|
+.file 1 "inserted_by_delocate.cc"
|
|
|
|
|
+.loc 1 1 0
|
|
|
|
|
+BORINGSSL_bcm_text_start:
|
|
|
|
|
+ .text
|
|
|
|
@ -8790,11 +8802,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/fipstools/delocate/
|
|
|
|
|
+.byte 0xff
|
|
|
|
|
+.byte 0x31
|
|
|
|
|
+.byte 0x80
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c.inc
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c.inc
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.c.inc
|
|
|
|
|
@@ -408,6 +408,10 @@ static void sha1_block_data_order(uint32
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
|
|
|
|
|
@@ -362,6 +362,10 @@ static void sha1_block_data_order(uint32
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
@ -8805,11 +8817,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/crypto/fipsmodule/sha/sh
|
|
|
|
|
sha1_block_data_order_nohw(state, data, num);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/build.json
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/build.json
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/build.json
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/build.json
|
|
|
|
|
@@ -118,6 +118,10 @@
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/build.json
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/build.json
|
|
|
|
|
@@ -126,6 +126,10 @@
|
|
|
|
|
{"src": "crypto/fipsmodule/sha/asm/sha512-armv4.pl"},
|
|
|
|
|
{"src": "crypto/fipsmodule/aes/asm/vpaes-armv7.pl"}
|
|
|
|
|
],
|
|
|
|
@ -8820,15 +8832,15 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/build.json
|
|
|
|
|
"perlasm_x86": [
|
|
|
|
|
{"src": "crypto/fipsmodule/aes/asm/aesni-x86.pl"},
|
|
|
|
|
{"src": "crypto/fipsmodule/bn/asm/bn-586.pl"},
|
|
|
|
|
@@ -219,6 +223,7 @@
|
|
|
|
|
"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",
|
|
|
|
|
@@ -799,6 +804,9 @@
|
|
|
|
|
@@ -229,6 +233,7 @@
|
|
|
|
|
"crypto/cpu_arm_freebsd.cc",
|
|
|
|
|
"crypto/cpu_arm_linux.cc",
|
|
|
|
|
"crypto/cpu_intel.cc",
|
|
|
|
|
+ "crypto/cpu_ppc64le.cc",
|
|
|
|
|
"crypto/crypto.cc",
|
|
|
|
|
"crypto/curve25519/curve25519.cc",
|
|
|
|
|
"crypto/curve25519/curve25519_64_adx.cc",
|
|
|
|
|
@@ -786,6 +791,9 @@
|
|
|
|
|
"perlasm_arm": [
|
|
|
|
|
{"src": "crypto/test/asm/trampoline-armv4.pl"}
|
|
|
|
|
],
|
|
|
|
@ -8838,10 +8850,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/build.json
|
|
|
|
|
"perlasm_x86": [
|
|
|
|
|
{"src": "crypto/test/asm/trampoline-x86.pl"}
|
|
|
|
|
],
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-130.0.6723.44.orig/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/util/pregenerate/build.go
|
|
|
|
|
@@ -38,6 +38,7 @@ type InputTarget struct {
|
|
|
|
|
// architecture.
|
|
|
|
|
PerlasmAarch64 []PerlasmSource `json:"perlasm_aarch64,omitempty"`
|
|
|
|
@ -8860,10 +8872,10 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/util/pregenerate/build.g
|
|
|
|
|
for _, p := range in.PerlasmX86 {
|
|
|
|
|
addPerlasmTask(&out.Asm, &p, "-apple.S", []string{"macosx", "-fPIC"})
|
|
|
|
|
addPerlasmTask(&out.Asm, &p, "-linux.S", []string{"elf", "-fPIC"})
|
|
|
|
|
Index: chromium-130.0.6723.44/third_party/boringssl/README.ppc64le
|
|
|
|
|
Index: chromium-133.0.6943.35/third_party/boringssl/README.ppc64le
|
|
|
|
|
===================================================================
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ chromium-130.0.6723.44/third_party/boringssl/README.ppc64le
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/README.ppc64le
|
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
|
+==============================================================
|
|
|
|
|
+To recreate boringssl pregenerated files patch for ppc64le:
|
|
|
|
@ -8873,11 +8885,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/README.ppc64le
|
|
|
|
|
+go run ./util/pregenerate
|
|
|
|
|
+cd ../../../../
|
|
|
|
|
+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
|
|
|
|
|
Index: chromium-133.0.6943.35/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 = [
|
|
|
|
|
--- chromium-133.0.6943.35.orig/third_party/boringssl/src/gen/sources.gni
|
|
|
|
|
+++ chromium-133.0.6943.35/third_party/boringssl/src/gen/sources.gni
|
|
|
|
|
@@ -119,6 +119,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",
|
|
|
|
@ -8885,7 +8897,7 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/gen/sources.gni
|
|
|
|
|
"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 = [
|
|
|
|
|
@@ -135,6 +136,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",
|
|
|
|
@ -8893,11 +8905,11 @@ Index: chromium-130.0.6723.44/third_party/boringssl/src/gen/sources.gni
|
|
|
|
|
"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",
|
|
|
|
|
@@ -328,6 +330,7 @@ crypto_sources = [
|
|
|
|
|
"crypto/cpu_arm_freebsd.cc",
|
|
|
|
|
"crypto/cpu_arm_linux.cc",
|
|
|
|
|
"crypto/cpu_intel.cc",
|
|
|
|
|
+ "crypto/cpu_ppc64le.cc",
|
|
|
|
|
"crypto/crypto.cc",
|
|
|
|
|
"crypto/curve25519/curve25519.cc",
|
|
|
|
|
"crypto/curve25519/curve25519_64_adx.cc",
|
|
|
|
|