From 4761aea3fe15c5eea6caea0da723f6d357742b9c Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 14 Jul 2025 09:11:57 +1000 Subject: [PATCH] Rename MAC files for autogeneration of param parsers Reviewed-by: Paul Yang Reviewed-by: Shane Lontis Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/28142) --- .gitignore | 6 +++++ build.info | 24 +++++++++++++++++++ .../macs/{cmac_prov.c => cmac_prov.c.in} | 0 .../macs/{gmac_prov.c => gmac_prov.c.in} | 0 .../macs/{hmac_prov.c => hmac_prov.c.in} | 0 .../macs/{kmac_prov.c => kmac_prov.c.in} | 0 .../{poly1305_prov.c => poly1305_prov.c.in} | 0 .../{siphash_prov.c => siphash_prov.c.in} | 0 8 files changed, 30 insertions(+) rename providers/implementations/macs/{cmac_prov.c => cmac_prov.c.in} (100%) rename providers/implementations/macs/{gmac_prov.c => gmac_prov.c.in} (100%) rename providers/implementations/macs/{hmac_prov.c => hmac_prov.c.in} (100%) rename providers/implementations/macs/{kmac_prov.c => kmac_prov.c.in} (100%) rename providers/implementations/macs/{poly1305_prov.c => poly1305_prov.c.in} (100%) rename providers/implementations/macs/{siphash_prov.c => siphash_prov.c.in} (100%) diff --git a/.gitignore b/.gitignore index 68f96ce8358..a582368377b 100644 --- a/.gitignore +++ b/.gitignore @@ -112,6 +112,12 @@ providers/implementations/ciphers/cipher_chacha20_poly1305.c providers/implementations/digests/blake2_prov.c providers/implementations/digests/digestcommon.c providers/implementations/digests/sha3_prov.c +providers/implementations/macs/cmac_prov.c +providers/implementations/macs/gmac_prov.c +providers/implementations/macs/hmac_prov.c +providers/implementations/macs/kmac_prov.c +providers/implementations/macs/poly1305_prov.c +providers/implementations/macs/siphash_prov.c # error code files /crypto/err/openssl.txt.old diff --git a/build.info b/build.info index bede788ddef..f0b4fdd4661 100644 --- a/build.info +++ b/build.info @@ -75,6 +75,12 @@ DEPEND[]=include/openssl/asn1.h \ providers/implementations/digests/blake2_prov.c \ providers/implementations/digests/digestcommon.c \ providers/implementations/digests/sha3_prov.c + providers/implementations/macs/gmac_prov.c \ + providers/implementations/macs/cmac_prov.c \ + providers/implementations/macs/hmac_prov.c \ + providers/implementations/macs/kmac_prov.c \ + providers/implementations/macs/poly1305_prov.c \ + providers/implementations/macs/siphash_prov.c GENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in GENERATE[include/openssl/asn1t.h]=include/openssl/asn1t.h.in @@ -136,6 +142,12 @@ DEPEND[providers/implementations/kdfs/argon2.c \ providers/implementations/digests/blake2_prov.c \ providers/implementations/digests/digestcommon.c \ providers/implementations/digests/sha3_prov.c \ + providers/implementations/macs/cmac_prov.c \ + providers/implementations/macs/gmac_prov.c \ + providers/implementations/macs/hmac_prov.c \ + providers/implementations/macs/kmac_prov.c \ + providers/implementations/macs/poly1305_prov.c \ + providers/implementations/macs/siphash_prov.c \ include/openssl/core_names.h]=util/perl|OpenSSL/paramnames.pm GENERATE[providers/implementations/kdfs/argon2.c]=\ providers/implementations/kdfs/argon2.c.in @@ -191,6 +203,18 @@ GENERATE[providers/implementations/digests/digestcommon.c]=\ providers/implementations/digests/digestcommon.c.in GENERATE[providers/implementations/digests/sha3_prov.c]=\ providers/implementations/digests/sha3_prov.c.in +GENERATE[providers/implementations/macs/cmac_prov.c]=\ + providers/implementations/macs/cmac_prov.c.in +GENERATE[providers/implementations/macs/gmac_prov.c]=\ + providers/implementations/macs/gmac_prov.c.in +GENERATE[providers/implementations/macs/hmac_prov.c]=\ + providers/implementations/macs/hmac_prov.c.in +GENERATE[providers/implementations/macs/kmac_prov.c]=\ + providers/implementations/macs/kmac_prov.c.in +GENERATE[providers/implementations/macs/poly1305_prov.c]=\ + providers/implementations/macs/poly1305_prov.c.in +GENERATE[providers/implementations/macs/siphash_prov.c]=\ + providers/implementations/macs/siphash_prov.c.in GENERATE[include/openssl/core_names.h]=include/openssl/core_names.h.in IF[{- defined $target{shared_defflag} -}] diff --git a/providers/implementations/macs/cmac_prov.c b/providers/implementations/macs/cmac_prov.c.in similarity index 100% rename from providers/implementations/macs/cmac_prov.c rename to providers/implementations/macs/cmac_prov.c.in diff --git a/providers/implementations/macs/gmac_prov.c b/providers/implementations/macs/gmac_prov.c.in similarity index 100% rename from providers/implementations/macs/gmac_prov.c rename to providers/implementations/macs/gmac_prov.c.in diff --git a/providers/implementations/macs/hmac_prov.c b/providers/implementations/macs/hmac_prov.c.in similarity index 100% rename from providers/implementations/macs/hmac_prov.c rename to providers/implementations/macs/hmac_prov.c.in diff --git a/providers/implementations/macs/kmac_prov.c b/providers/implementations/macs/kmac_prov.c.in similarity index 100% rename from providers/implementations/macs/kmac_prov.c rename to providers/implementations/macs/kmac_prov.c.in diff --git a/providers/implementations/macs/poly1305_prov.c b/providers/implementations/macs/poly1305_prov.c.in similarity index 100% rename from providers/implementations/macs/poly1305_prov.c rename to providers/implementations/macs/poly1305_prov.c.in diff --git a/providers/implementations/macs/siphash_prov.c b/providers/implementations/macs/siphash_prov.c.in similarity index 100% rename from providers/implementations/macs/siphash_prov.c rename to providers/implementations/macs/siphash_prov.c.in -- 2.47.3