]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Move curve448 intrinsic headers to .inc
authorNorbert Pocs <norbertp@openssl.org>
Mon, 11 May 2026 14:27:42 +0000 (16:27 +0200)
committerNorbert Pocs <norbertp@openssl.org>
Mon, 18 May 2026 07:03:29 +0000 (09:03 +0200)
They are included only to one header.

Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
MergeDate: Mon May 18 07:03:50 2026
(Merged from https://github.com/openssl/openssl/pull/31153)

crypto/ec/curve448/arch_32/arch_intrinsics.inc [moved from crypto/ec/curve448/arch_32/arch_intrinsics.h with 94% similarity]
crypto/ec/curve448/arch_64/arch_intrinsics.inc [moved from crypto/ec/curve448/arch_64/arch_intrinsics.h with 94% similarity]
crypto/ec/curve448/word.h

similarity index 94%
rename from crypto/ec/curve448/arch_32/arch_intrinsics.h
rename to crypto/ec/curve448/arch_32/arch_intrinsics.inc
index 6a2bf46a53cef2276843c559df17a1620cbdc7d5..78f5afc69f2cb33eca019f2cd61474dab4b9099c 100644 (file)
@@ -10,6 +10,8 @@
  * Originally written by Mike Hamburg
  */
 
+/* IWYU pragma: private, include word.h */
+
 #ifndef OSSL_CRYPTO_EC_CURVE448_ARCH_32_INTRINSICS_H
 #define OSSL_CRYPTO_EC_CURVE448_ARCH_32_INTRINSICS_H
 
similarity index 94%
rename from crypto/ec/curve448/arch_64/arch_intrinsics.h
rename to crypto/ec/curve448/arch_64/arch_intrinsics.inc
index 14294892e7ec4cf07932c3dc4575ee314330c5f6..5dc906a2416d32010fb590f9b31d0de6b5236082 100644 (file)
@@ -10,6 +10,8 @@
  * Originally written by Mike Hamburg
  */
 
+/* IWYU pragma: private, include word.h */
+
 #ifndef OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H
 #define OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H
 
index a697879eeb3d63878772156cd5b7a4a4e85a1382..65ff1be12b64196957ad586f26b647385d758d9d 100644 (file)
@@ -21,9 +21,9 @@
 #include "internal/constant_time.h"
 
 #ifdef INT128_MAX
-#include "arch_64/arch_intrinsics.h"
+#include "arch_64/arch_intrinsics.inc"
 #else
-#include "arch_32/arch_intrinsics.h"
+#include "arch_32/arch_intrinsics.inc"
 #endif
 
 #if (ARCH_WORD_BITS == 64)