Rename CPU feature files with underscores.

We use underscores everywhere except these files, which use hyphens.
Switch them to be consistent.

Change-Id: I67eddbdae7caaf8405bdb4a0c1b65e6f3ca43916
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/50808
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 31ccfc1..d9cfa5c 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -263,14 +263,14 @@
   cipher_extra/tls_cbc.c
   cmac/cmac.c
   conf/conf.c
-  cpu-aarch64-apple.c
-  cpu-aarch64-fuchsia.c
-  cpu-aarch64-linux.c
-  cpu-aarch64-win.c
-  cpu-arm-linux.c
-  cpu-arm.c
-  cpu-intel.c
-  cpu-ppc64le.c
+  cpu_aarch64_apple.c
+  cpu_aarch64_fuchsia.c
+  cpu_aarch64_linux.c
+  cpu_aarch64_win.c
+  cpu_arm_linux.c
+  cpu_arm.c
+  cpu_intel.c
+  cpu_ppc64le.c
   crypto.c
   curve25519/curve25519.c
   curve25519/spake25519.c
@@ -504,7 +504,7 @@
   compiler_test.cc
   conf/conf_test.cc
   constant_time_test.cc
-  cpu-arm-linux_test.cc
+  cpu_arm_linux_test.cc
   crypto_test.cc
   curve25519/ed25519_test.cc
   curve25519/spake25519_test.cc
diff --git a/crypto/cpu-aarch64-apple.c b/crypto/cpu_aarch64_apple.c
similarity index 100%
rename from crypto/cpu-aarch64-apple.c
rename to crypto/cpu_aarch64_apple.c
diff --git a/crypto/cpu-aarch64-fuchsia.c b/crypto/cpu_aarch64_fuchsia.c
similarity index 100%
rename from crypto/cpu-aarch64-fuchsia.c
rename to crypto/cpu_aarch64_fuchsia.c
diff --git a/crypto/cpu-aarch64-linux.c b/crypto/cpu_aarch64_linux.c
similarity index 100%
rename from crypto/cpu-aarch64-linux.c
rename to crypto/cpu_aarch64_linux.c
diff --git a/crypto/cpu-aarch64-win.c b/crypto/cpu_aarch64_win.c
similarity index 100%
rename from crypto/cpu-aarch64-win.c
rename to crypto/cpu_aarch64_win.c
diff --git a/crypto/cpu-arm.c b/crypto/cpu_arm.c
similarity index 100%
rename from crypto/cpu-arm.c
rename to crypto/cpu_arm.c
diff --git a/crypto/cpu-arm-linux.c b/crypto/cpu_arm_linux.c
similarity index 99%
rename from crypto/cpu-arm-linux.c
rename to crypto/cpu_arm_linux.c
index 962a4a5..0ffd9a4 100644
--- a/crypto/cpu-arm-linux.c
+++ b/crypto/cpu_arm_linux.c
@@ -23,7 +23,7 @@
 #include <openssl/arm_arch.h>
 #include <openssl/mem.h>
 
-#include "cpu-arm-linux.h"
+#include "cpu_arm_linux.h"
 
 #define AT_HWCAP 16
 #define AT_HWCAP2 26
diff --git a/crypto/cpu-arm-linux.h b/crypto/cpu_arm_linux.h
similarity index 100%
rename from crypto/cpu-arm-linux.h
rename to crypto/cpu_arm_linux.h
diff --git a/crypto/cpu-arm-linux_test.cc b/crypto/cpu_arm_linux_test.cc
similarity index 99%
rename from crypto/cpu-arm-linux_test.cc
rename to crypto/cpu_arm_linux_test.cc
index 0472537..019b579 100644
--- a/crypto/cpu-arm-linux_test.cc
+++ b/crypto/cpu_arm_linux_test.cc
@@ -12,7 +12,7 @@
  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
 
-#include "cpu-arm-linux.h"
+#include "cpu_arm_linux.h"
 
 #include <string.h>
 
diff --git a/crypto/cpu-intel.c b/crypto/cpu_intel.c
similarity index 100%
rename from crypto/cpu-intel.c
rename to crypto/cpu_intel.c
diff --git a/crypto/cpu-ppc64le.c b/crypto/cpu_ppc64le.c
similarity index 100%
rename from crypto/cpu-ppc64le.c
rename to crypto/cpu_ppc64le.c
diff --git a/fuzz/arm_cpuinfo.cc b/fuzz/arm_cpuinfo.cc
index 5d70046..ea40725 100644
--- a/fuzz/arm_cpuinfo.cc
+++ b/fuzz/arm_cpuinfo.cc
@@ -12,7 +12,7 @@
  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
 
-#include "../crypto/cpu-arm-linux.h"
+#include "../crypto/cpu_arm_linux.h"
 
 
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) {