Skip to contentSkip to conversation

lib/crypto: arm, arm64: Drop filenames from file comments

PATCH Applied Eric Biggers 2 participants 4 messages Nov 2, 2025 – Nov 3, 2025

Subsystems (2)
lore
Share & tools
lore

Eric Biggers

author maintainer
#0 lore raw

PATCH 1/1 lib/crypto: arm, arm64: Drop filenames from file comments

Remove self-references to filenames from assembly files in lib/crypto/arm/ and lib/crypto/arm64/. This follows the recommended practice and eliminates an outdated reference to sha2-ce-core.S.

---

This patch is targeting libcrypto-next

 lib/crypto/arm/sha1-armv7-neon.S  | 2 +-
 lib/crypto/arm/sha1-ce-core.S     | 2 +-
 lib/crypto/arm/sha256-ce.S        | 2 +-
 lib/crypto/arm64/sha1-ce-core.S   | 2 +-
 lib/crypto/arm64/sha256-ce.S      | 2 +-
 lib/crypto/arm64/sha512-ce-core.S | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
lib/crypto/arm/sha1-armv7-neon.S +1 -1
index 6edba3ab62e8..a0323fa5c58a 100644
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
-/* sha1-armv7-neon.S - ARM/NEON accelerated SHA-1 transform function
+/* ARM/NEON accelerated SHA-1 transform function
  *
  * Copyright © 2013-2014 Jussi Kivilinna <[email protected]>
  */
 
 #include <linux/linkage.h>
lib/crypto/arm/sha1-ce-core.S +1 -1
index 2de40dd25e47..7d6b2631ca8d 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha1-ce-core.S - SHA-1 secure hash using ARMv8 Crypto Extensions
+ * SHA-1 secure hash using ARMv8 Crypto Extensions
  *
  * Copyright (C) 2015 Linaro Ltd.
  * Author: Ard Biesheuvel <[email protected]>
  */
 
lib/crypto/arm/sha256-ce.S +1 -1
index 7481ac8e6c0d..144ee805f64a 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha256-ce.S - SHA-224/256 secure hash using ARMv8 Crypto Extensions
+ * SHA-224/256 secure hash using ARMv8 Crypto Extensions
  *
  * Copyright (C) 2015 Linaro Ltd.
  * Author: Ard Biesheuvel <[email protected]>
  */
 
lib/crypto/arm64/sha1-ce-core.S +1 -1
index 21efbbafd7d6..8fbd4767f0f0 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha1-ce-core.S - SHA-1 secure hash using ARMv8 Crypto Extensions
+ * SHA-1 secure hash using ARMv8 Crypto Extensions
  *
  * Copyright (C) 2014 Linaro Ltd <[email protected]>
  */
 
 #include <linux/linkage.h>
lib/crypto/arm64/sha256-ce.S +1 -1
index 410174ba5237..e4bfe42a61a9 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha2-ce-core.S - core SHA-224/SHA-256 transform using v8 Crypto Extensions
+ * Core SHA-224/SHA-256 transform using v8 Crypto Extensions
  *
  * Copyright (C) 2014 Linaro Ltd <[email protected]>
  */
 
 #include <linux/linkage.h>
lib/crypto/arm64/sha512-ce-core.S +1 -1
index 22f1ded89bc8..ffd51acfd1ee 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 /*
- * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions
+ * Core SHA-384/SHA-512 transform using v8 Crypto Extensions
  *
  * Copyright (C) 2018 Linaro Ltd <[email protected]>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as

base-commit: 5a2a5e62a5216ba05d4481cf90d915f4de0bfde9

Signature · 1 line
2.51.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Eric Biggers

Remove self-references to filenames from assembly files in lib/crypto/arm/ and lib/crypto/arm64/. This follows the recommended practice and eliminates an outdated reference to sha2-ce-core.S.

---

This patch is targeting libcrypto-next

Quoted 8 lines
 lib/crypto/arm/sha1-armv7-neon.S  | 2 +-
 lib/crypto/arm/sha1-ce-core.S     | 2 +-
 lib/crypto/arm/sha256-ce.S        | 2 +-
 lib/crypto/arm64/sha1-ce-core.S   | 2 +-
 lib/crypto/arm64/sha256-ce.S      | 2 +-
 lib/crypto/arm64/sha512-ce-core.S | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Quoted 88 lines
lib/crypto/arm/sha1-armv7-neon.S +1 -1
index 6edba3ab62e8..a0323fa5c58a 100644
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
-/* sha1-armv7-neon.S - ARM/NEON accelerated SHA-1 transform function
+/* ARM/NEON accelerated SHA-1 transform function
  *
  * Copyright © 2013-2014 Jussi Kivilinna <[email protected]>
  */
 
 #include <linux/linkage.h>
lib/crypto/arm/sha1-ce-core.S +1 -1
index 2de40dd25e47..7d6b2631ca8d 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha1-ce-core.S - SHA-1 secure hash using ARMv8 Crypto Extensions
+ * SHA-1 secure hash using ARMv8 Crypto Extensions
  *
  * Copyright (C) 2015 Linaro Ltd.
  * Author: Ard Biesheuvel <[email protected]>
  */
 
lib/crypto/arm/sha256-ce.S +1 -1
index 7481ac8e6c0d..144ee805f64a 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha256-ce.S - SHA-224/256 secure hash using ARMv8 Crypto Extensions
+ * SHA-224/256 secure hash using ARMv8 Crypto Extensions
  *
  * Copyright (C) 2015 Linaro Ltd.
  * Author: Ard Biesheuvel <[email protected]>
  */
 
lib/crypto/arm64/sha1-ce-core.S +1 -1
index 21efbbafd7d6..8fbd4767f0f0 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha1-ce-core.S - SHA-1 secure hash using ARMv8 Crypto Extensions
+ * SHA-1 secure hash using ARMv8 Crypto Extensions
  *
  * Copyright (C) 2014 Linaro Ltd <[email protected]>
  */
 
 #include <linux/linkage.h>
lib/crypto/arm64/sha256-ce.S +1 -1
index 410174ba5237..e4bfe42a61a9 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * sha2-ce-core.S - core SHA-224/SHA-256 transform using v8 Crypto Extensions
+ * Core SHA-224/SHA-256 transform using v8 Crypto Extensions
  *
  * Copyright (C) 2014 Linaro Ltd <[email protected]>
  */
 
 #include <linux/linkage.h>
lib/crypto/arm64/sha512-ce-core.S +1 -1
index 22f1ded89bc8..ffd51acfd1ee 100644
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 /*
- * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions
+ * Core SHA-384/SHA-512 transform using v8 Crypto Extensions
  *
  * Copyright (C) 2018 Linaro Ltd <[email protected]>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as

base-commit: 5a2a5e62a5216ba05d4481cf90d915f4de0bfde9 --
2.51.2

author maintainer Applied
#2 lore raw
In reply to Eric Biggers
Quoted 8 lines · Eric Biggers

Remove self-references to filenames from assembly files in lib/crypto/arm/ and lib/crypto/arm64/. This follows the recommended practice and eliminates an outdated reference to sha2-ce-core.S.

---

This patch is targeting libcrypto-next

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric

author maintainer
#3 lore raw
Quoted 5 lines · Eric Biggers
Quoted 4 lines · Eric Biggers

Remove self-references to filenames from assembly files in lib/crypto/arm/ and lib/crypto/arm64/. This follows the recommended practice and eliminates an outdated reference to sha2-ce-core.S.

Quoted 8 lines
Quoted 4 lines

---

This patch is targeting libcrypto-next

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric

Since I applied it after the SHA-3 series which moved sha3-ce-core.S into lib/crypto/, I also folded in the same change to sha3-ce-core.S:

lib/crypto/arm64/sha3-ce-core.S +1 -1
index b62bd714839b..ace90b506490 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 /*
- * sha3-ce-core.S - core SHA-3 transform using v8.2 Crypto Extensions
+ * Core SHA-3 transform using v8.2 Crypto Extensions
  *
  * Copyright (C) 2018 Linaro Ltd <[email protected]>
  *