diff options
author | Richard Levitte <levitte@openssl.org> | 2021-01-28 08:01:52 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-02-01 23:02:20 +0100 |
commit | 58f422f6f481ec7961fe762c97121b53abad3eb4 (patch) | |
tree | 719ddb4b44386d6157f9a8cf9a83be561b7fadcc /providers/defltprov.c | |
parent | b8a1272d57e144dfac97006477a68f9948ebb595 (diff) |
Fix some odd names in our provider source code
ecossl_dh_keyexch_functions -> ossl_ecdh_keyexch_functions
ecossl_dsa_signature_functions -> ossl_ecdsa_signature_functions
sm2_asym_cipher_functions -> ossl_sm2_asym_cipher_functions
sm2_keymgmt_functions -> ossl_sm2_keymgmt_functions
sm2_signature_functions -> ossl_sm2_signature_functions
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14028)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 3cd7dffee8..2a1ebb6218 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -347,7 +347,7 @@ static const OSSL_ALGORITHM deflt_keyexch[] = { { "DH:dhKeyAgreement", "provider=default", ossl_dh_keyexch_functions }, #endif #ifndef OPENSSL_NO_EC - { "ECDH", "provider=default", ecossl_dh_keyexch_functions }, + { "ECDH", "provider=default", ossl_ecdh_keyexch_functions }, { "X25519", "provider=default", ossl_x25519_keyexch_functions }, { "X448", "provider=default", ossl_x448_keyexch_functions }, #endif @@ -375,9 +375,9 @@ static const OSSL_ALGORITHM deflt_signature[] = { #ifndef OPENSSL_NO_EC { "ED25519", "provider=default", ossl_ed25519_signature_functions }, { "ED448", "provider=default", ossl_ed448_signature_functions }, - { "ECDSA", "provider=default", ecossl_dsa_signature_functions }, + { "ECDSA", "provider=default", ossl_ecdsa_signature_functions }, # ifndef OPENSSL_NO_SM2 - { "SM2", "provider=default", sm2_signature_functions }, + { "SM2", "provider=default", ossl_sm2_signature_functions }, # endif #endif { "HMAC", "provider=default", ossl_mac_legacy_hmac_signature_functions }, @@ -396,7 +396,7 @@ static const OSSL_ALGORITHM deflt_signature[] = { static const OSSL_ALGORITHM deflt_asym_cipher[] = { { "RSA:rsaEncryption", "provider=default", ossl_rsa_asym_cipher_functions }, #ifndef OPENSSL_NO_SM2 - { "SM2", "provider=default", sm2_asym_cipher_functions }, + { "SM2", "provider=default", ossl_sm2_asym_cipher_functions }, #endif { NULL, NULL, NULL } }; @@ -436,7 +436,7 @@ static const OSSL_ALGORITHM deflt_keymgmt[] = { { "CMAC", "provider=default", ossl_cossl_mac_legacy_keymgmt_functions }, #endif #ifndef OPENSSL_NO_SM2 - { "SM2", "provider=default", sm2_keymgmt_functions }, + { "SM2", "provider=default", ossl_sm2_keymgmt_functions }, #endif { NULL, NULL, NULL } }; |