/* * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html *//* * ECDH/ECDSA low level APIs are deprecated for public use, but still ok for * internal use. */#include"internal/deprecated.h"#include"e_os.h" /* strcasecmp */#include<string.h>#include<openssl/core_dispatch.h>#include<openssl/core_names.h>#include<openssl/bn.h>#include<openssl/err.h>#include<openssl/objects.h>#include<openssl/proverr.h>#include"crypto/bn.h"#include"crypto/ec.h"#include"prov/implementations.h"#include"prov/providercommon.h"#include"prov/provider_ctx.h"#include"internal/param_build_set.h"#ifndef FIPS_MODULE# ifndef OPENSSL_NO_SM2#include"crypto/sm2.h"# endif#endifstaticOSSL_FUNC_keymgmt_new_fnec_newdata;staticOSSL_FUNC_keymgmt_gen_init_fnec_gen_init;staticOSSL_FUNC_keymgmt_gen_set_template_fnec_gen_set_template;staticOSSL_FUNC_keymgmt_gen_set_params_fnec_gen_set_params;staticOSSL_FUNC_keymgmt_gen_settable_params_fnec_gen_settable_params;staticOSSL_FUNC_keymgmt_gen_fnec_gen;staticOSSL_FUNC_keymgmt_gen_cleanup_fnec_gen_cleanup;staticOSSL_FUNC_keymgmt_load_fnec_load;staticOSSL_FUNC_keymgmt_free_fnec_freedata;staticOSSL_FUNC_keymgmt_get_params_fnec_get_params;staticOSSL_FUNC_keymgmt_gettable_params_fnec_gettable_params;staticOSSL_FUNC_keymgmt_set_params_fnec_set_params;staticOSSL_FUNC_keymgmt_settable_params_fnec_settable_params;staticOSSL_FUNC_keymgmt_has_fnec_has;staticOSSL_FUNC_keymgmt_match_fnec_match;staticOSSL_FUNC_keymgmt_validate_fnec_validate;staticOSSL_FUNC_keymgmt_import_fnec_import;staticOSSL_FUNC_keymgmt_import_types_fnec_import_types;staticOSSL_FUNC_keymgmt_export_fnec_export;staticOSSL_FUNC_keymgmt_export_types_fnec_export_types;staticOSSL_FUNC_keymgmt_query_operation_name_fnec_query_operation_name;#ifndef FIPS_MODULE# ifndef OPENSSL_NO_SM2staticOSSL_FUNC_keymgmt_gen_fn