summaryrefslogtreecommitdiff
path: root/src/crypto/cpu-aarch64-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/cpu-aarch64-linux.c')
-rw-r--r--src/crypto/cpu-aarch64-linux.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crypto/cpu-aarch64-linux.c b/src/crypto/cpu-aarch64-linux.c
index 1b0f3955..f9fa6c5c 100644
--- a/src/crypto/cpu-aarch64-linux.c
+++ b/src/crypto/cpu-aarch64-linux.c
@@ -28,8 +28,8 @@ extern uint32_t OPENSSL_armcap_P;
void OPENSSL_cpuid_setup(void) {
unsigned long hwcap = getauxval(AT_HWCAP);
- /* See /usr/include/asm/hwcap.h on an aarch64 installation for the source of
- * these values. */
+ // See /usr/include/asm/hwcap.h on an aarch64 installation for the source of
+ // these values.
static const unsigned long kNEON = 1 << 1;
static const unsigned long kAES = 1 << 3;
static const unsigned long kPMULL = 1 << 4;
@@ -37,8 +37,8 @@ void OPENSSL_cpuid_setup(void) {
static const unsigned long kSHA256 = 1 << 6;
if ((hwcap & kNEON) == 0) {
- /* Matching OpenSSL, if NEON is missing, don't report other features
- * either. */
+ // Matching OpenSSL, if NEON is missing, don't report other features
+ // either.
return;
}
@@ -58,4 +58,4 @@ void OPENSSL_cpuid_setup(void) {
}
}
-#endif /* OPENSSL_AARCH64 && !OPENSSL_STATIC_ARMCAP */
+#endif // OPENSSL_AARCH64 && !OPENSSL_STATIC_ARMCAP