build: build struct based param files

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27847)
This commit is contained in:
Pauli 2025-06-17 14:27:30 +10:00
parent 51425094b5
commit 85cfd18d1c
2 changed files with 11 additions and 5 deletions

3
.gitignore vendored
View File

@ -58,7 +58,6 @@
/include/openssl/x509_acert.h
/include/openssl/x509_vfy.h
/include/openssl/core_names.h
/include/internal/param_names.h
# Auto generated parameter name files
/crypto/params_idx.c
@ -88,6 +87,8 @@ providers/common/include/prov/der_ml_dsa.h
providers/implementations/keymgmt/ml_dsa_kmgmt.c
providers/implementations/keymgmt/ml_kem_kmgmt.c
providers/implementations/ciphers/ciphercommon.c
providers/implementations/ciphers/ciphercommon_ccm.c
providers/implementations/ciphers/ciphercommon_gcm.c
providers/implementations/ciphers/cipher_chacha20_poly1305.c
# error code files

View File

@ -48,10 +48,11 @@ DEPEND[]=include/openssl/asn1.h \
include/openssl/x509_acert.h \
include/openssl/x509_vfy.h \
include/crypto/bn_conf.h include/crypto/dso_conf.h \
include/internal/param_names.h \
providers/implementations/keymgmt/ml_dsa_kmgmt.c \
providers/implementations/keymgmt/ml_kem_kmgmt.c \
providers/implementations/ciphers/ciphercommon.c \
providers/implementations/ciphers/ciphercommon_ccm.c \
providers/implementations/ciphers/ciphercommon_gcm.c \
providers/implementations/ciphers/cipher_chacha20_poly1305.c
GENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in
@ -87,19 +88,23 @@ GENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in
GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in
GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in
DEPEND[include/internal/param_names.h \
providers/implementations/keymgmt/ml_dsa_kmgmt.c \
DEPEND[providers/implementations/keymgmt/ml_dsa_kmgmt.c \
providers/implementations/keymgmt/ml_kem_kmgmt.c \
providers/implementations/ciphers/ciphercommon.c \
providers/implementations/ciphers/ciphercommon_ccm.c \
providers/implementations/ciphers/ciphercommon_gcm.c \
providers/implementations/ciphers/cipher_chacha20_poly1305.c \
include/openssl/core_names.h]=util/perl|OpenSSL/paramnames.pm
GENERATE[include/internal/param_names.h]=include/internal/param_names.h.in
GENERATE[providers/implementations/keymgmt/ml_dsa_kmgmt.c]=\
providers/implementations/keymgmt/ml_dsa_kmgmt.c.in
GENERATE[providers/implementations/keymgmt/ml_kem_kmgmt.c]=\
providers/implementations/keymgmt/ml_kem_kmgmt.c.in
GENERATE[providers/implementations/ciphers/ciphercommon.c]=\
providers/implementations/ciphers/ciphercommon.c.in
GENERATE[providers/implementations/ciphers/ciphercommon_ccm.c]=\
providers/implementations/ciphers/ciphercommon_ccm.c.in
GENERATE[providers/implementations/ciphers/ciphercommon_gcm.c]=\
providers/implementations/ciphers/ciphercommon_gcm.c.in
GENERATE[providers/implementations/ciphers/cipher_chacha20_poly1305.c]=\
providers/implementations/ciphers/cipher_chacha20_poly1305.c.in
GENERATE[include/openssl/core_names.h]=include/openssl/core_names.h.in