From: Pauli Date: Wed, 18 Jun 2025 05:17:40 +0000 (+1000) Subject: change _ettable to _list X-Git-Tag: openssl-3.6.0-alpha1~574 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=effba0ee654f9f2edbd62de92d43b569e7ea4a72;p=thirdparty%2Fopenssl.git change _ettable to _list Reviewed-by: Shane Lontis Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/27847) --- diff --git a/providers/implementations/ciphers/cipher_chacha20_poly1305.c.in b/providers/implementations/ciphers/cipher_chacha20_poly1305.c.in index 890f9ad75af..da4956aba1b 100644 --- a/providers/implementations/ciphers/cipher_chacha20_poly1305.c.in +++ b/providers/implementations/ciphers/cipher_chacha20_poly1305.c.in @@ -160,7 +160,7 @@ static int chacha20_poly1305_get_ctx_params(void *vctx, OSSL_PARAM params[]) static const OSSL_PARAM *chacha20_poly1305_gettable_ctx_params (ossl_unused void *cctx, ossl_unused void *provctx) { - return chacha20_poly1305_get_ctx_params_ettable; + return chacha20_poly1305_get_ctx_params_list; } {- produce_param_decoder('chacha20_poly1305_set_ctx_params', @@ -175,7 +175,7 @@ static const OSSL_PARAM *chacha20_poly1305_settable_ctx_params( ossl_unused void *cctx, ossl_unused void *provctx ) { - return chacha20_poly1305_set_ctx_params_ettable; + return chacha20_poly1305_set_ctx_params_list; } static int chacha20_poly1305_set_ctx_params(void *vctx, diff --git a/providers/implementations/ciphers/ciphercommon.c.in b/providers/implementations/ciphers/ciphercommon.c.in index 8014134de87..639d4d1e7c4 100644 --- a/providers/implementations/ciphers/ciphercommon.c.in +++ b/providers/implementations/ciphers/ciphercommon.c.in @@ -43,7 +43,7 @@ use OpenSSL::paramnames qw(produce_param_decoder); const OSSL_PARAM *ossl_cipher_generic_gettable_params(ossl_unused void *provctx) { - return ossl_cipher_generic_get_ctx_params_ettable; + return ossl_cipher_generic_get_ctx_params_list; } int ossl_cipher_generic_get_params(OSSL_PARAM params[], unsigned int md, diff --git a/providers/implementations/ciphers/ciphercommon_ccm.c.in b/providers/implementations/ciphers/ciphercommon_ccm.c.in index a6d71bd2b08..2303ae949c7 100644 --- a/providers/implementations/ciphers/ciphercommon_ccm.c.in +++ b/providers/implementations/ciphers/ciphercommon_ccm.c.in @@ -80,7 +80,7 @@ const OSSL_PARAM *ossl_ccm_settable_ctx_params( ossl_unused void *cctx, ossl_unused void *provctx ) { - return ossl_cipher_ccm_set_ctx_params_ettable; + return ossl_cipher_ccm_set_ctx_params_list; } int ossl_ccm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) @@ -171,7 +171,7 @@ const OSSL_PARAM *ossl_ccm_gettable_ctx_params( ossl_unused void *cctx, ossl_unused void *provctx ) { - return ossl_cipher_ccm_get_ctx_params_ettable; + return ossl_cipher_ccm_get_ctx_params_list; } int ossl_ccm_get_ctx_params(void *vctx, OSSL_PARAM params[]) diff --git a/providers/implementations/ciphers/ciphercommon_gcm.c.in b/providers/implementations/ciphers/ciphercommon_gcm.c.in index afa3ac72378..43490719561 100644 --- a/providers/implementations/ciphers/ciphercommon_gcm.c.in +++ b/providers/implementations/ciphers/ciphercommon_gcm.c.in @@ -159,7 +159,7 @@ const OSSL_PARAM *ossl_gcm_gettable_ctx_params( ossl_unused void *cctx, ossl_unused void *provctx ) { - return ossl_cipher_gcm_get_ctx_params_ettable; + return ossl_cipher_gcm_get_ctx_params_list; } int ossl_gcm_get_ctx_params(void *vctx, OSSL_PARAM params[]) @@ -261,7 +261,7 @@ const OSSL_PARAM *ossl_gcm_settable_ctx_params( ossl_unused void *cctx, ossl_unused void *provctx ) { - return ossl_cipher_gcm_set_ctx_params_ettable; + return ossl_cipher_gcm_set_ctx_params_list; } int ossl_gcm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) diff --git a/providers/implementations/keymgmt/ml_dsa_kmgmt.c.in b/providers/implementations/keymgmt/ml_dsa_kmgmt.c.in index 962e3c2f616..841def9c49c 100644 --- a/providers/implementations/keymgmt/ml_dsa_kmgmt.c.in +++ b/providers/implementations/keymgmt/ml_dsa_kmgmt.c.in @@ -293,7 +293,7 @@ static const OSSL_PARAM *ml_dsa_imexport_types(int selection) { if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0) return NULL; - return ml_dsa_key_type_params_ettable; + return ml_dsa_key_type_params_list; } {- produce_param_decoder('ml_dsa_get_params', @@ -309,7 +309,7 @@ static const OSSL_PARAM *ml_dsa_imexport_types(int selection) static const OSSL_PARAM *ml_dsa_gettable_params(void *provctx) { - return ml_dsa_get_params_ettable; + return ml_dsa_get_params_list; } static int ml_dsa_get_params(void *keydata, OSSL_PARAM params[]) @@ -541,7 +541,7 @@ static int ml_dsa_gen_set_params(void *genctx, const OSSL_PARAM params[]) static const OSSL_PARAM *ml_dsa_gen_settable_params(ossl_unused void *genctx, ossl_unused void *provctx) { - return ml_dsa_gen_set_params_ettable; + return ml_dsa_gen_set_params_list; } static void ml_dsa_gen_cleanup(void *genctx) diff --git a/providers/implementations/keymgmt/ml_kem_kmgmt.c.in b/providers/implementations/keymgmt/ml_kem_kmgmt.c.in index 19cd4639e92..775a66c3647 100644 --- a/providers/implementations/keymgmt/ml_kem_kmgmt.c.in +++ b/providers/implementations/keymgmt/ml_kem_kmgmt.c.in @@ -337,7 +337,7 @@ err: static const OSSL_PARAM *ml_kem_imexport_types(int selection) { if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) - return ml_kem_key_type_params_ettable; + return ml_kem_key_type_params_list; return NULL; } @@ -498,7 +498,7 @@ static int ml_kem_import(void *vkey, int selection, const OSSL_PARAM params[]) static const OSSL_PARAM *ml_kem_gettable_params(void *provctx) { - return ml_kem_get_params_ettable; + return ml_kem_get_params_list; } #ifndef FIPS_MODULE @@ -620,7 +620,7 @@ static int ml_kem_get_params(void *vkey, OSSL_PARAM params[]) static const OSSL_PARAM *ml_kem_settable_params(void *provctx) { - return ml_kem_set_params_ettable; + return ml_kem_set_params_list; } static int ml_kem_set_params(void *vkey, const OSSL_PARAM params[]) @@ -726,7 +726,7 @@ static void *ml_kem_gen_init(void *provctx, int selection, static const OSSL_PARAM *ml_kem_gen_settable_params(ossl_unused void *vgctx, ossl_unused void *provctx) { - return ml_kem_gen_set_params_ettable; + return ml_kem_gen_set_params_list; } static void *ml_kem_gen(void *vgctx, OSSL_CALLBACK *osslcb, void *cbarg) diff --git a/util/perl/OpenSSL/paramnames.pm b/util/perl/OpenSSL/paramnames.pm index a2b44cd7e46..e411329b4f1 100644 --- a/util/perl/OpenSSL/paramnames.pm +++ b/util/perl/OpenSSL/paramnames.pm @@ -763,8 +763,8 @@ sub output_param_decoder { print "/* Machine generated by util/perl/OpenSSL/paramnames.pm */\n"; # Output ettable param array - printf "#ifndef %s_ettable\n", $decoder_name_base; - printf "static const OSSL_PARAM %s_ettable[] = {\n", $decoder_name_base; + printf "#ifndef %s_list\n", $decoder_name_base; + printf "static const OSSL_PARAM %s_list[] = {\n", $decoder_name_base; for (my $i = 0; $i <= $#params; $i++) { my $pname = $params[$i][0]; my $pident = $params[$i][1];