]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/OpensslLib/EcSm2Null.c
2 Null implementation of EC and SM2 functions called by BaseCryptLib.
4 Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #include <Library/DebugLib.h>
14 #include <openssl/objects.h>
15 #include <openssl/bn.h>
16 #include <openssl/ec.h>
17 #include <openssl/pem.h>
29 const EC_GROUP
*group
,
39 EC_GROUP_get_curve_name (
49 const EC_GROUP
*group
,
70 EC_GROUP_new_by_curve_name (
104 EC_POINT_set_affine_coordinates (
105 const EC_GROUP
*group
,
117 EC_POINT_get_affine_coordinates (
118 const EC_GROUP
*group
,
130 EC_POINT_set_compressed_coordinates (
131 const EC_GROUP
*group
,
144 const EC_GROUP
*group
,
157 const EC_GROUP
*group
,
167 EC_POINT_is_at_infinity (
168 const EC_GROUP
*group
,
177 EC_POINT_is_on_curve (
178 const EC_GROUP
*group
,
179 const EC_POINT
*point
,
189 const EC_GROUP
*group
,
201 const EC_GROUP
*group
,
214 EC_KEY_new_by_curve_name (
249 EC_KEY_get0_public_key (
258 EC_KEY_set_public_key (
268 EC_KEY_generate_key (
289 const EC_POINT
*pub_key
,
304 EVP_PKEY_get0_EC_KEY (
313 PEM_read_bio_ECPrivateKey (
343 const ECDSA_SIG
*sig
,
364 const unsigned char *dgst
,
375 const unsigned char *dgst
,
377 const ECDSA_SIG
*sig
,