/* * Copyright 2020-2022 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<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_fne