Rename OPENSSL_CTX prefix to OSSL_LIB_CTX
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>
Thu, 15 Oct 2020 09:55:50 +0000 (12:55 +0300)
committerMatt Caswell <matt@openssl.org>
Thu, 15 Oct 2020 10:59:53 +0000 (11:59 +0100)
commitb425001010044adbdbcd98f8682694b30b73bbf4
treee87a5b512d7869cb6a500ecc74b706281be762cf
parent29000e43ea257bf54f6ccb2064b3744853b821b2
Rename OPENSSL_CTX prefix to OSSL_LIB_CTX

Many of the new types introduced by OpenSSL 3.0 have an OSSL_ prefix,
e.g., OSSL_CALLBACK, OSSL_PARAM, OSSL_ALGORITHM, OSSL_SERIALIZER.

The OPENSSL_CTX type stands out a little by using a different prefix.
For consistency reasons, this type is renamed to OSSL_LIB_CTX.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12621)
377 files changed:
CHANGES.md
NEWS.md
apps/cmp_mock_srv.c
apps/cmp_mock_srv.h
apps/cms.c
apps/fipsinstall.c
apps/genpkey.c
apps/include/apps.h
apps/lib/app_provider.c
apps/lib/apps.c
apps/openssl.c
apps/pkcs7.c
apps/pkeyutl.c
apps/smime.c
apps/storeutl.c
apps/ts.c
crypto/asn1/a_digest.c
crypto/asn1/a_sign.c
crypto/asn1/a_verify.c
crypto/asn1/asn_mime.c
crypto/asn1/d2i_pr.c
crypto/async/async.c
crypto/async/async_local.h
crypto/bn/bn_ctx.c
crypto/bn/bn_rand.c
crypto/cmp/cmp_ctx.c
crypto/cmp/cmp_local.h
crypto/cmp/cmp_server.c
crypto/cmp/cmp_util.c
crypto/cms/cms_cd.c
crypto/cms/cms_dd.c
crypto/cms/cms_ec.c
crypto/cms/cms_env.c
crypto/cms/cms_ess.c
crypto/cms/cms_lib.c
crypto/cms/cms_local.h
crypto/cms/cms_smime.c
crypto/conf/conf_lib.c
crypto/conf/conf_mod.c
crypto/context.c
crypto/core_algorithm.c
crypto/core_fetch.c
crypto/core_namemap.c
crypto/crmf/crmf_lib.c
crypto/crmf/crmf_pbm.c
crypto/ct/ct_b64.c
crypto/ct/ct_local.h
crypto/ct/ct_log.c
crypto/ct/ct_policy.c
crypto/ct/ct_sct_ctx.c
crypto/dh/dh_ameth.c
crypto/dh/dh_gen.c
crypto/dh/dh_group_params.c
crypto/dh/dh_kdf.c
crypto/dh/dh_lib.c
crypto/dh/dh_local.h
crypto/dh/dh_pmeth.c
crypto/dsa/dsa_ameth.c
crypto/dsa/dsa_lib.c
crypto/dsa/dsa_local.h
crypto/ec/curve25519.c
crypto/ec/curve448/curve448_local.h
crypto/ec/curve448/ed448.h
crypto/ec/curve448/eddsa.c
crypto/ec/ec_ameth.c
crypto/ec/ec_backend.c
crypto/ec/ec_curve.c
crypto/ec/ec_key.c
crypto/ec/ec_kmeth.c
crypto/ec/ec_lib.c
crypto/ec/ec_local.h
crypto/ec/ecdh_kdf.c
crypto/ec/ecx_key.c
crypto/ec/ecx_meth.c
crypto/encode_decode/decoder_lib.c
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/decoder_pkey.c
crypto/encode_decode/encoder_lib.c
crypto/encode_decode/encoder_meth.c
crypto/encode_decode/encoder_pkey.c
crypto/evp/asymcipher.c
crypto/evp/digest.c
crypto/evp/evp_enc.c
crypto/evp/evp_fetch.c
crypto/evp/evp_local.h
crypto/evp/evp_pkey.c
crypto/evp/evp_rand.c
crypto/evp/exchange.c
crypto/evp/kdf_meth.c
crypto/evp/kem.c
crypto/evp/keymgmt_meth.c
crypto/evp/m_sigver.c
crypto/evp/mac_meth.c
crypto/evp/names.c
crypto/evp/p5_crpt2.c
crypto/evp/p_lib.c
crypto/evp/p_sign.c
crypto/evp/p_verify.c
crypto/evp/pbe_scrypt.c
crypto/evp/pmeth_lib.c
crypto/evp/signature.c
crypto/ex_data.c
crypto/ffc/ffc_params_generate.c
crypto/ffc/ffc_params_validate.c
crypto/init.c
crypto/initthread.c
crypto/modes/siv128.c
crypto/ocsp/ocsp_srv.c
crypto/pem/pem_info.c
crypto/pem/pem_pk8.c
crypto/pem/pem_pkey.c
crypto/pkcs7/pk7_asn1.c
crypto/pkcs7/pk7_lib.c
crypto/pkcs7/pk7_local.h
crypto/pkcs7/pk7_smime.c
crypto/property/defn_cache.c
crypto/property/property.c
crypto/property/property_local.h
crypto/property/property_parse.c
crypto/property/property_string.c
crypto/provider.c
crypto/provider_conf.c
crypto/provider_core.c
crypto/rand/rand_lib.c
crypto/rsa/rsa_ameth.c
crypto/rsa/rsa_backend.c
crypto/rsa/rsa_gen.c
crypto/rsa/rsa_lib.c
crypto/rsa/rsa_local.h
crypto/rsa/rsa_oaep.c
crypto/rsa/rsa_pk1.c
crypto/rsa/rsa_ssl.c
crypto/self_test_core.c
crypto/sm2/sm2_crypt.c
crypto/sm2/sm2_sign.c
crypto/srp/srp_lib.c
crypto/srp/srp_vfy.c
crypto/store/store_lib.c
crypto/store/store_local.h
crypto/store/store_meth.c
crypto/store/store_result.c
crypto/x509/by_dir.c
crypto/x509/by_file.c
crypto/x509/by_store.c
crypto/x509/x509_d2.c
crypto/x509/x509_local.h
crypto/x509/x509_lu.c
crypto/x509/x509_vfy.c
crypto/x509/x_all.c
crypto/x509/x_crl.c
crypto/x509/x_pubkey.c
crypto/x509/x_x509.c
doc/internal/man3/OSSL_METHOD_STORE.pod
doc/internal/man3/evp_generic_fetch.pod
doc/internal/man3/evp_pkey_export_to_provider.pod
doc/internal/man3/ossl_algorithm_do_all.pod
doc/internal/man3/ossl_cmp_mock_srv_new.pod
doc/internal/man3/ossl_cmp_msg_protect.pod
doc/internal/man3/ossl_lib_ctx_get_data.pod [moved from doc/internal/man3/openssl_ctx_get_data.pod with 62% similarity]
doc/internal/man3/ossl_method_construct.pod
doc/internal/man3/ossl_namemap_new.pod
doc/internal/man3/ossl_provider_new.pod
doc/internal/man3/x509v3_cache_extensions.pod
doc/man3/BN_CTX_new.pod
doc/man3/BN_generate_prime.pod
doc/man3/CMS_EncryptedData_encrypt.pod
doc/man3/CMS_EnvelopedData_create.pod
doc/man3/CMS_data_create.pod
doc/man3/CMS_digest_create.pod
doc/man3/CMS_encrypt.pod
doc/man3/CMS_get1_ReceiptRequest.pod
doc/man3/CMS_sign.pod
doc/man3/CONF_modules_load_file.pod
doc/man3/CTLOG_STORE_new.pod
doc/man3/CTLOG_new.pod
doc/man3/CT_POLICY_EVAL_CTX_new.pod
doc/man3/EC_GROUP_new.pod
doc/man3/EC_KEY_new.pod
doc/man3/EVP_ASYM_CIPHER_free.pod
doc/man3/EVP_DigestInit.pod
doc/man3/EVP_DigestSignInit.pod
doc/man3/EVP_DigestVerifyInit.pod
doc/man3/EVP_EncryptInit.pod
doc/man3/EVP_KDF.pod
doc/man3/EVP_KEM_free.pod
doc/man3/EVP_KEYEXCH_free.pod
doc/man3/EVP_KEYMGMT.pod
doc/man3/EVP_MAC.pod
doc/man3/EVP_PKEY_CTX_get0_libctx.pod
doc/man3/EVP_PKEY_CTX_new.pod
doc/man3/EVP_PKEY_new.pod
doc/man3/EVP_RAND.pod
doc/man3/EVP_SIGNATURE_free.pod
doc/man3/EVP_SignInit.pod
doc/man3/EVP_VerifyInit.pod
doc/man3/EVP_set_default_properties.pod
doc/man3/NCONF_new_ex.pod
doc/man3/OCSP_response_status.pod
doc/man3/OPENSSL_init_crypto.pod
doc/man3/OSSL_CMP_CTX_new.pod
doc/man3/OSSL_CMP_SRV_CTX_new.pod
doc/man3/OSSL_CRMF_MSG_get0_tmpl.pod
doc/man3/OSSL_CRMF_MSG_set0_validity.pod
doc/man3/OSSL_CRMF_pbmp_new.pod
doc/man3/OSSL_DECODER.pod
doc/man3/OSSL_DECODER_CTX_new_by_EVP_PKEY.pod
doc/man3/OSSL_ENCODER.pod
doc/man3/OSSL_ENCODER_CTX.pod
doc/man3/OSSL_ENCODER_CTX_new_by_EVP_PKEY.pod
doc/man3/OSSL_LIB_CTX.pod [moved from doc/man3/OPENSSL_CTX.pod with 60% similarity]
doc/man3/OSSL_PROVIDER.pod
doc/man3/OSSL_SELF_TEST_set_callback.pod
doc/man3/OSSL_STORE_LOADER.pod
doc/man3/OSSL_STORE_attach.pod
doc/man3/OSSL_STORE_open.pod
doc/man3/PEM_X509_INFO_read_bio_ex.pod
doc/man3/PEM_read_bio_PrivateKey.pod
doc/man3/PKCS7_encrypt.pod
doc/man3/PKCS7_sign.pod
doc/man3/RAND_bytes.pod
doc/man3/RAND_get0_primary.pod
doc/man3/SMIME_write_ASN1.pod
doc/man3/SRP_Calc_B.pod
doc/man3/SRP_create_verifier.pod
doc/man3/SSL_CTX_new.pod
doc/man3/SSL_load_client_CA_file.pod
doc/man3/X509_LOOKUP.pod
doc/man3/X509_LOOKUP_hash_dir.pod
doc/man3/X509_PUBKEY_new.pod
doc/man3/X509_STORE_CTX_new.pod
doc/man3/X509_STORE_add_cert.pod
doc/man3/X509_new.pod
doc/man3/X509_verify.pod
doc/man3/d2i_PrivateKey.pod
doc/man7/provider.pod
engines/e_loader_attic.c
include/crypto/asn1.h
include/crypto/bn.h
include/crypto/decoder.h
include/crypto/dh.h
include/crypto/dsa.h
include/crypto/ec.h
include/crypto/ecx.h
include/crypto/encoder.h
include/crypto/evp.h
include/crypto/rsa.h
include/crypto/siv.h
include/crypto/x509.h
include/internal/core.h
include/internal/cryptlib.h
include/internal/ffc.h
include/internal/namemap.h
include/internal/property.h
include/internal/provider.h
include/internal/thread_once.h
include/openssl/asn1.h.in
include/openssl/bn.h
include/openssl/cmp.h.in
include/openssl/cms.h.in
include/openssl/conf.h.in
include/openssl/crmf.h.in
include/openssl/crypto.h.in
include/openssl/ct.h.in
include/openssl/decoder.h
include/openssl/ec.h
include/openssl/encoder.h
include/openssl/evp.h
include/openssl/kdf.h
include/openssl/ocsp.h.in
include/openssl/pem.h
include/openssl/pkcs7.h.in
include/openssl/provider.h
include/openssl/rand.h
include/openssl/self_test.h
include/openssl/srp.h.in
include/openssl/ssl.h.in
include/openssl/store.h
include/openssl/types.h
include/openssl/x509.h.in
include/openssl/x509_vfy.h.in
providers/baseprov.c
providers/common/include/prov/provider_ctx.h
providers/common/include/prov/provider_util.h
providers/common/include/prov/providercommon.h
providers/common/provider_ctx.c
providers/common/provider_util.c
providers/defltprov.c
providers/fips/fipsprov.c
providers/fips/self_test.c
providers/fips/self_test.h
providers/fips/self_test_kats.c
providers/implementations/asymciphers/rsa_enc.c
providers/implementations/asymciphers/sm2_enc.c
providers/implementations/ciphers/cipher_aes_siv.h
providers/implementations/ciphers/cipher_aes_siv_hw.c
providers/implementations/ciphers/ciphercommon_block.c
providers/implementations/ciphers/ciphercommon_local.h
providers/implementations/encode_decode/encode_key2any.c
providers/implementations/encode_decode/encode_key2text.c
providers/implementations/exchange/dh_exch.c
providers/implementations/exchange/ecdh_exch.c
providers/implementations/include/prov/ciphercommon.h
providers/implementations/include/prov/ciphercommon_gcm.h
providers/implementations/include/prov/kdfexchange.h
providers/implementations/include/prov/macsignature.h
providers/implementations/kdfs/hkdf.c
providers/implementations/kdfs/kbkdf.c
providers/implementations/kdfs/krb5kdf.c
providers/implementations/kdfs/pbkdf2.c
providers/implementations/kdfs/pkcs12kdf.c
providers/implementations/kdfs/scrypt.c
providers/implementations/kdfs/sshkdf.c
providers/implementations/kdfs/sskdf.c
providers/implementations/kdfs/tls1_prf.c
providers/implementations/kdfs/x942kdf.c
providers/implementations/kem/rsa_kem.c
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/keymgmt/ec_kmgmt.c
providers/implementations/keymgmt/ecx_kmgmt.c
providers/implementations/keymgmt/mac_legacy_kmgmt.c
providers/implementations/keymgmt/rsa_kmgmt.c
providers/implementations/macs/cmac_prov.c
providers/implementations/macs/gmac_prov.c
providers/implementations/macs/hmac_prov.c
providers/implementations/rands/crngt.c
providers/implementations/rands/drbg.c
providers/implementations/rands/drbg_ctr.c
providers/implementations/rands/drbg_hash.c
providers/implementations/rands/drbg_hmac.c
providers/implementations/signature/dsa.c
providers/implementations/signature/ecdsa.c
providers/implementations/signature/eddsa.c
providers/implementations/signature/mac_legacy.c
providers/implementations/signature/rsa.c
providers/implementations/signature/sm2sig.c
providers/implementations/storemgmt/file_store.c
providers/legacyprov.c
ssl/record/record_local.h
ssl/record/tls_pad.c
ssl/ssl_cert.c
ssl/ssl_conf.c
ssl/ssl_lib.c
ssl/ssl_local.h
ssl/ssl_mcnf.c
test/acvp_test.c
test/asynctest.c
test/cmp_client_test.c
test/cmp_msg_test.c
test/cmp_protect_test.c
test/cmp_server_test.c
test/cmp_testlib.c
test/cmp_testlib.h
test/cmp_vfy_test.c
test/context_internal_test.c
test/evp_extra_test.c
test/evp_extra_test2.c
test/evp_fetch_prov_test.c
test/evp_libctx_test.c
test/evp_test.c
test/filterprov.c
test/keymgmt_internal_test.c
test/property_test.c
test/provider_fallback_test.c
test/provider_status_test.c
test/ssl_test.c
test/ssl_test_ctx.c
test/ssl_test_ctx.h
test/sslapitest.c
test/ssltest_old.c
test/ssltestlib.c
test/ssltestlib.h
test/testutil.h
test/testutil/provider.c
test/tls-provider.c
util/libcrypto.num
util/other.syms