ec_key.h
Go to the documentation of this file.
1 /* Originally written by Bodo Moeller for the OpenSSL project.
2  * ====================================================================
3  * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * 1. Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * 2. Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in
14  * the documentation and/or other materials provided with the
15  * distribution.
16  *
17  * 3. All advertising materials mentioning features or use of this
18  * software must display the following acknowledgment:
19  * "This product includes software developed by the OpenSSL Project
20  * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
21  *
22  * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
23  * endorse or promote products derived from this software without
24  * prior written permission. For written permission, please contact
25  * openssl-core@openssl.org.
26  *
27  * 5. Products derived from this software may not be called "OpenSSL"
28  * nor may "OpenSSL" appear in their names without prior written
29  * permission of the OpenSSL Project.
30  *
31  * 6. Redistributions of any form whatsoever must retain the following
32  * acknowledgment:
33  * "This product includes software developed by the OpenSSL Project
34  * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
35  *
36  * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
37  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
38  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
39  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
40  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
42  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
43  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
44  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
45  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
47  * OF THE POSSIBILITY OF SUCH DAMAGE.
48  * ====================================================================
49  *
50  * This product includes cryptographic software written by Eric Young
51  * (eay@cryptsoft.com). This product includes software written by Tim
52  * Hudson (tjh@cryptsoft.com).
53  *
54  */
55 /* ====================================================================
56  * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
57  *
58  * Portions of the attached software ("Contribution") are developed by
59  * SUN MICROSYSTEMS, INC., and are contributed to the OpenSSL project.
60  *
61  * The Contribution is licensed pursuant to the OpenSSL open source
62  * license provided above.
63  *
64  * The elliptic curve binary polynomial software is originally written by
65  * Sheueling Chang Shantz and Douglas Stebila of Sun Microsystems
66  * Laboratories. */
67 
68 #ifndef OPENSSL_HEADER_EC_KEY_H
69 #define OPENSSL_HEADER_EC_KEY_H
70 
71 #include <openssl/base.h>
72 
73 #include <openssl/ec.h>
74 #include <openssl/engine.h>
75 #include <openssl/ex_data.h>
76 
77 #if defined(__cplusplus)
78 extern "C" {
79 #endif
80 
81 
82 // ec_key.h contains functions that handle elliptic-curve points that are
83 // public/private keys.
84 
85 
86 // EC key objects.
87 //
88 // An |EC_KEY| object represents a public or private EC key. A given object may
89 // be used concurrently on multiple threads by non-mutating functions, provided
90 // no other thread is concurrently calling a mutating function. Unless otherwise
91 // documented, functions which take a |const| pointer are non-mutating and
92 // functions which take a non-|const| pointer are mutating.
93 
94 // EC_KEY_new returns a fresh |EC_KEY| object or NULL on error.
96 
97 // EC_KEY_new_method acts the same as |EC_KEY_new|, but takes an explicit
98 // |ENGINE|.
100 
101 // EC_KEY_new_by_curve_name returns a fresh EC_KEY for group specified by |nid|
102 // or NULL on error.
104 
105 // EC_KEY_free frees all the data owned by |key| and |key| itself.
107 
108 // EC_KEY_dup returns a fresh copy of |src| or NULL on error.
110 
111 // EC_KEY_up_ref increases the reference count of |key| and returns one. It does
112 // not mutate |key| for thread-safety purposes and may be used concurrently.
114 
115 // EC_KEY_is_opaque returns one if |key| is opaque and doesn't expose its key
116 // material. Otherwise it return zero.
118 
119 // EC_KEY_get0_group returns a pointer to the |EC_GROUP| object inside |key|.
121 
122 // EC_KEY_set_group sets the |EC_GROUP| object that |key| will use to |group|.
123 // It returns one on success and zero if |key| is already configured with a
124 // different group.
126 
127 // EC_KEY_get0_private_key returns a pointer to the private key inside |key|.
129 
130 // EC_KEY_set_private_key sets the private key of |key| to |priv|. It returns
131 // one on success and zero otherwise. |key| must already have had a group
132 // configured (see |EC_KEY_set_group| and |EC_KEY_new_by_curve_name|).
134 
135 // EC_KEY_get0_public_key returns a pointer to the public key point inside
136 // |key|.
138 
139 // EC_KEY_set_public_key sets the public key of |key| to |pub|, by copying it.
140 // It returns one on success and zero otherwise. |key| must already have had a
141 // group configured (see |EC_KEY_set_group| and |EC_KEY_new_by_curve_name|), and
142 // |pub| must also belong to that group.
144 
145 #define EC_PKEY_NO_PARAMETERS 0x001
146 #define EC_PKEY_NO_PUBKEY 0x002
147 
148 // EC_KEY_get_enc_flags returns the encoding flags for |key|, which is a
149 // bitwise-OR of |EC_PKEY_*| values.
151 
152 // EC_KEY_set_enc_flags sets the encoding flags for |key|, which is a
153 // bitwise-OR of |EC_PKEY_*| values.
155 
156 // EC_KEY_get_conv_form returns the conversation form that will be used by
157 // |key|.
159 
160 // EC_KEY_set_conv_form sets the conversion form to be used by |key|.
163 
164 // EC_KEY_check_key performs several checks on |key| (possibly including an
165 // expensive check that the public key is in the primary subgroup). It returns
166 // one if all checks pass and zero otherwise. If it returns zero then detail
167 // about the problem can be found on the error stack.
169 
170 // EC_KEY_check_fips performs a signing pairwise consistency test (FIPS 140-2
171 // 4.9.2). It returns one if it passes and zero otherwise.
173 
174 // EC_KEY_set_public_key_affine_coordinates sets the public key in |key| to
175 // (|x|, |y|). It returns one on success and zero on error. It's considered an
176 // error if |x| and |y| do not represent a point on |key|'s curve.
178  const BIGNUM *x,
179  const BIGNUM *y);
180 
181 // EC_KEY_key2buf encodes the public key in |key| to an allocated octet string
182 // and sets |*out_buf| to point to it. It returns the length of the encoded
183 // octet string or zero if an error occurred.
186  unsigned char **out_buf, BN_CTX *ctx);
187 
188 
189 // Key generation.
190 
191 // EC_KEY_generate_key generates a random, private key, calculates the
192 // corresponding public key and stores both in |key|. It returns one on success
193 // or zero otherwise.
195 
196 // EC_KEY_generate_key_fips behaves like |EC_KEY_generate_key| but performs
197 // additional checks for FIPS compliance.
199 
200 // EC_KEY_derive_from_secret deterministically derives a private key for |group|
201 // from an input secret using HKDF-SHA256. It returns a newly-allocated |EC_KEY|
202 // on success or NULL on error. |secret| must not be used in any other
203 // algorithm. If using a base secret for multiple operations, derive separate
204 // values with a KDF such as HKDF first.
205 //
206 // Note this function implements an arbitrary derivation scheme, rather than any
207 // particular standard one. New protocols are recommended to use X25519 and
208 // Ed25519, which have standard byte import functions. See
209 // |X25519_public_from_private| and |ED25519_keypair_from_seed|.
211  const uint8_t *secret,
212  size_t secret_len);
213 
214 
215 // Serialisation.
216 
217 // EC_KEY_parse_private_key parses a DER-encoded ECPrivateKey structure (RFC
218 // 5915) from |cbs| and advances |cbs|. It returns a newly-allocated |EC_KEY| or
219 // NULL on error. If |group| is non-null, the parameters field of the
220 // ECPrivateKey may be omitted (but must match |group| if present). Otherwise,
221 // the parameters field is required.
223  const EC_GROUP *group);
224 
225 // EC_KEY_marshal_private_key marshals |key| as a DER-encoded ECPrivateKey
226 // structure (RFC 5915) and appends the result to |cbb|. It returns one on
227 // success and zero on failure. |enc_flags| is a combination of |EC_PKEY_*|
228 // values and controls whether corresponding fields are omitted.
230  unsigned enc_flags);
231 
232 // EC_KEY_parse_curve_name parses a DER-encoded OBJECT IDENTIFIER as a curve
233 // name from |cbs| and advances |cbs|. It returns a newly-allocated |EC_GROUP|
234 // or NULL on error.
236 
237 // EC_KEY_marshal_curve_name marshals |group| as a DER-encoded OBJECT IDENTIFIER
238 // and appends the result to |cbb|. It returns one on success and zero on
239 // failure.
241 
242 // EC_KEY_parse_parameters parses a DER-encoded ECParameters structure (RFC
243 // 5480) from |cbs| and advances |cbs|. It returns a newly-allocated |EC_GROUP|
244 // or NULL on error. It supports the namedCurve and specifiedCurve options, but
245 // use of specifiedCurve is deprecated. Use |EC_KEY_parse_curve_name|
246 // instead.
248 
249 
250 // ex_data functions.
251 //
252 // These functions are wrappers. See |ex_data.h| for details.
253 
254 OPENSSL_EXPORT int EC_KEY_get_ex_new_index(long argl, void *argp,
255  CRYPTO_EX_unused *unused,
256  CRYPTO_EX_dup *dup_unused,
257  CRYPTO_EX_free *free_func);
258 OPENSSL_EXPORT int EC_KEY_set_ex_data(EC_KEY *r, int idx, void *arg);
259 OPENSSL_EXPORT void *EC_KEY_get_ex_data(const EC_KEY *r, int idx);
260 
261 
262 // ECDSA method.
263 
264 // ECDSA_FLAG_OPAQUE specifies that this ECDSA_METHOD does not expose its key
265 // material. This may be set if, for instance, it is wrapping some other crypto
266 // API, like a platform key store.
267 #define ECDSA_FLAG_OPAQUE 1
268 
269 // ecdsa_method_st is a structure of function pointers for implementing ECDSA.
270 // See engine.h.
273 
274  void *app_data;
275 
278 
279  // group_order_size returns the number of bytes needed to represent the order
280  // of the group. This is used to calculate the maximum size of an ECDSA
281  // signature in |ECDSA_size|.
282  size_t (*group_order_size)(const EC_KEY *key);
283 
284  // sign matches the arguments and behaviour of |ECDSA_sign|.
285  int (*sign)(const uint8_t *digest, size_t digest_len, uint8_t *sig,
286  unsigned int *sig_len, EC_KEY *eckey);
287 
288  int flags;
289 };
290 
291 
292 // Deprecated functions.
293 
294 // EC_KEY_set_asn1_flag does nothing.
296 
297 // d2i_ECPrivateKey parses a DER-encoded ECPrivateKey structure (RFC 5915) from
298 // |len| bytes at |*inp|, as described in |d2i_SAMPLE|. On input, if |*out_key|
299 // is non-NULL and has a group configured, the parameters field may be omitted
300 // but must match that group if present.
301 //
302 // Use |EC_KEY_parse_private_key| instead.
304  long len);
305 
306 // i2d_ECPrivateKey marshals |key| as a DER-encoded ECPrivateKey structure (RFC
307 // 5915), as described in |i2d_SAMPLE|.
308 //
309 // Use |EC_KEY_marshal_private_key| instead.
310 OPENSSL_EXPORT int i2d_ECPrivateKey(const EC_KEY *key, uint8_t **outp);
311 
312 // d2i_ECParameters parses a DER-encoded ECParameters structure (RFC 5480) from
313 // |len| bytes at |*inp|, as described in |d2i_SAMPLE|.
314 //
315 // Use |EC_KEY_parse_parameters| or |EC_KEY_parse_curve_name| instead.
317  long len);
318 
319 // i2d_ECParameters marshals |key|'s parameters as a DER-encoded OBJECT
320 // IDENTIFIER, as described in |i2d_SAMPLE|.
321 //
322 // Use |EC_KEY_marshal_curve_name| instead.
323 OPENSSL_EXPORT int i2d_ECParameters(const EC_KEY *key, uint8_t **outp);
324 
325 // o2i_ECPublicKey parses an EC point from |len| bytes at |*inp| into
326 // |*out_key|. Note that this differs from the d2i format in that |*out_key|
327 // must be non-NULL with a group set. On successful exit, |*inp| is advanced by
328 // |len| bytes. It returns |*out_key| or NULL on error.
329 //
330 // Use |EC_POINT_oct2point| instead.
332  long len);
333 
334 // i2o_ECPublicKey marshals an EC point from |key|, as described in
335 // |i2d_SAMPLE|.
336 //
337 // Use |EC_POINT_point2cbb| instead.
338 OPENSSL_EXPORT int i2o_ECPublicKey(const EC_KEY *key, unsigned char **outp);
339 
340 
341 #if defined(__cplusplus)
342 } // extern C
343 
344 extern "C++" {
345 
347 
350 
352 
353 } // extern C++
354 
355 #endif
356 
357 #endif // OPENSSL_HEADER_EC_KEY_H
flag
uint32_t flag
Definition: ssl_versions.cc:162
EC_KEY_generate_key
OPENSSL_EXPORT int EC_KEY_generate_key(EC_KEY *key)
Definition: ec_key.c:409
EC_KEY_get_ex_new_index
OPENSSL_EXPORT int EC_KEY_get_ex_new_index(long argl, void *argp, CRYPTO_EX_unused *unused, CRYPTO_EX_dup *dup_unused, CRYPTO_EX_free *free_func)
Definition: ec_key.c:453
test_server.argp
argp
Definition: test_server.py:33
cbs_st
Definition: bytestring.h:39
ctx
Definition: benchmark-async.c:30
CRYPTO_EX_dup
int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, void **from_d, int index, long argl, void *argp)
Definition: ex_data.h:184
EC_KEY_set_public_key
OPENSSL_EXPORT int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub)
Definition: ec_key.c:263
EC_KEY_parse_private_key
OPENSSL_EXPORT EC_KEY * EC_KEY_parse_private_key(CBS *cbs, const EC_GROUP *group)
Definition: ec_asn1.c:75
regen-readme.inp
inp
Definition: regen-readme.py:11
y
const double y
Definition: bloaty/third_party/googletest/googlemock/test/gmock-matchers_test.cc:3611
d2i_ECParameters
OPENSSL_EXPORT EC_KEY * d2i_ECParameters(EC_KEY **out_key, const uint8_t **inp, long len)
Definition: ec_asn1.c:454
i2o_ECPublicKey
OPENSSL_EXPORT int i2o_ECPublicKey(const EC_KEY *key, unsigned char **outp)
Definition: ec_asn1.c:520
ecdsa_method_st::flags
int flags
Definition: ec_key.h:288
EC_KEY_is_opaque
OPENSSL_EXPORT int EC_KEY_is_opaque(const EC_KEY *key)
Definition: ec_key.c:211
EC_KEY_set_group
OPENSSL_EXPORT int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group)
Definition: ec_key.c:217
bignum_ctx
Definition: ctx.c:91
cbs
const CBS * cbs
Definition: third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h:107
i2d_ECPrivateKey
OPENSSL_EXPORT int i2d_ECPrivateKey(const EC_KEY *key, uint8_t **outp)
Definition: ec_asn1.c:444
EC_KEY_new
OPENSSL_EXPORT EC_KEY * EC_KEY_new(void)
Definition: ec_key.c:106
uint8_t
unsigned char uint8_t
Definition: stdint-msvc2008.h:78
EC_KEY_up_ref
OPENSSL_EXPORT int EC_KEY_up_ref(EC_KEY *key)
Definition: ec_key.c:206
ecdsa_method_st::group_order_size
size_t(* group_order_size)(const EC_KEY *key)
Definition: ec_key.h:282
base.h
ecdsa_method_st::app_data
void * app_data
Definition: ec_key.h:274
EC_KEY_marshal_private_key
OPENSSL_EXPORT int EC_KEY_marshal_private_key(CBB *cbb, const EC_KEY *key, unsigned enc_flags)
Definition: ec_asn1.c:192
BORINGSSL_MAKE_UP_REF
#define BORINGSSL_MAKE_UP_REF(type, up_ref_func)
Definition: base.h:507
EC_KEY_set_enc_flags
OPENSSL_EXPORT void EC_KEY_set_enc_flags(EC_KEY *key, unsigned flags)
ecdsa_method_st::init
int(* init)(EC_KEY *key)
Definition: ec_key.h:276
xds_interop_client.int
int
Definition: xds_interop_client.py:113
ecdsa_method_st::sign
int(* sign)(const uint8_t *digest, size_t digest_len, uint8_t *sig, unsigned int *sig_len, EC_KEY *eckey)
Definition: ec_key.h:285
EC_KEY_key2buf
OPENSSL_EXPORT size_t EC_KEY_key2buf(const EC_KEY *key, point_conversion_form_t form, unsigned char **out_buf, BN_CTX *ctx)
Definition: ec_key.c:382
EC_KEY_set_asn1_flag
OPENSSL_EXPORT void EC_KEY_set_asn1_flag(EC_KEY *key, int flag)
Definition: ec_key.c:472
i2d_ECParameters
OPENSSL_EXPORT int i2d_ECParameters(const EC_KEY *key, uint8_t **outp)
Definition: ec_asn1.c:482
EC_KEY_generate_key_fips
OPENSSL_EXPORT int EC_KEY_generate_key_fips(EC_KEY *key)
Definition: ec_key.c:441
BSSL_NAMESPACE_END
#define BSSL_NAMESPACE_END
Definition: base.h:480
EC_KEY_new_by_curve_name
OPENSSL_EXPORT EC_KEY * EC_KEY_new_by_curve_name(int nid)
Definition: ec_key.c:141
arg
Definition: cmdline.cc:40
EC_KEY_marshal_curve_name
OPENSSL_EXPORT int EC_KEY_marshal_curve_name(CBB *cbb, const EC_GROUP *group)
Definition: ec_asn1.c:346
CRYPTO_EX_unused
int CRYPTO_EX_unused
Definition: ex_data.h:192
EC_KEY_set_conv_form
OPENSSL_EXPORT void EC_KEY_set_conv_form(EC_KEY *key, point_conversion_form_t cform)
Definition: ec_key.c:289
x
int x
Definition: bloaty/third_party/googletest/googlemock/test/gmock-matchers_test.cc:3610
EC_KEY_free
OPENSSL_EXPORT void EC_KEY_free(EC_KEY *key)
Definition: ec_key.c:155
EC_KEY_set_private_key
OPENSSL_EXPORT int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv)
Definition: ec_key.c:239
EC_KEY_get_ex_data
OPENSSL_EXPORT void * EC_KEY_get_ex_data(const EC_KEY *r, int idx)
Definition: ec_key.c:468
CRYPTO_EX_free
void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int index, long argl, void *argp)
Definition: ex_data.h:174
setup.idx
idx
Definition: third_party/bloaty/third_party/capstone/bindings/python/setup.py:197
EC_KEY_dup
OPENSSL_EXPORT EC_KEY * EC_KEY_dup(const EC_KEY *src)
Definition: ec_key.c:180
nid
int nid
Definition: cipher_extra.c:71
EC_KEY_check_fips
OPENSSL_EXPORT int EC_KEY_check_fips(const EC_KEY *key)
Definition: ec_key.c:328
o2i_ECPublicKey
OPENSSL_EXPORT EC_KEY * o2i_ECPublicKey(EC_KEY **out_key, const uint8_t **inp, long len)
Definition: ec_asn1.c:497
ec_key_st
Definition: third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h:723
d2i_ECPrivateKey
OPENSSL_EXPORT EC_KEY * d2i_ECPrivateKey(EC_KEY **out_key, const uint8_t **inp, long len)
Definition: ec_asn1.c:418
ecdsa_method_st::finish
int(* finish)(EC_KEY *key)
Definition: ec_key.h:277
ecdsa_method_st
Definition: ec_key.h:271
EC_KEY_set_ex_data
OPENSSL_EXPORT int EC_KEY_set_ex_data(EC_KEY *r, int idx, void *arg)
Definition: ec_key.c:464
EC_KEY_parse_curve_name
OPENSSL_EXPORT EC_GROUP * EC_KEY_parse_curve_name(CBS *cbs)
Definition: ec_asn1.c:324
BSSL_NAMESPACE_BEGIN
Definition: trust_token_test.cc:45
EC_KEY_get_enc_flags
OPENSSL_EXPORT unsigned EC_KEY_get_enc_flags(const EC_KEY *key)
Definition: ec_key.c:279
key
const char * key
Definition: hpack_parser_table.cc:164
upload.group
group
Definition: bloaty/third_party/googletest/googlemock/scripts/upload.py:397
absl::flags_internal
Definition: abseil-cpp/absl/flags/commandlineflag.h:40
point_conversion_form_t
point_conversion_form_t
Definition: ec.h:83
EC_KEY_get_conv_form
OPENSSL_EXPORT point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key)
Definition: ec_key.c:285
bignum_st
Definition: bn.h:957
ec_point_st
Definition: third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h:615
EC_KEY_new_method
OPENSSL_EXPORT EC_KEY * EC_KEY_new_method(const ENGINE *engine)
Definition: ec_key.c:108
ec_group_st
Definition: third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h:573
fix_build_deps.r
r
Definition: fix_build_deps.py:491
OPENSSL_EXPORT
#define OPENSSL_EXPORT
Definition: base.h:222
BORINGSSL_MAKE_DELETER
#define BORINGSSL_MAKE_DELETER(type, deleter)
Definition: base.h:506
EC_KEY_set_public_key_affine_coordinates
OPENSSL_EXPORT int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, const BIGNUM *x, const BIGNUM *y)
Definition: ec_key.c:357
openssl_method_common_st
Definition: engine.h:86
EC_KEY_get0_private_key
const OPENSSL_EXPORT BIGNUM * EC_KEY_get0_private_key(const EC_KEY *key)
Definition: ec_key.c:235
engine.h
engine_st
Definition: engine.c:29
EC_KEY_derive_from_secret
OPENSSL_EXPORT EC_KEY * EC_KEY_derive_from_secret(const EC_GROUP *group, const uint8_t *secret, size_t secret_len)
Definition: ec_derive.c:28
ex_data.h
len
int len
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:46
ec.h
EC_KEY_parse_parameters
OPENSSL_EXPORT EC_GROUP * EC_KEY_parse_parameters(CBS *cbs)
Definition: ec_asn1.c:368
EC_KEY_get0_public_key
const OPENSSL_EXPORT EC_POINT * EC_KEY_get0_public_key(const EC_KEY *key)
Definition: ec_key.c:259
common
Definition: bloaty/third_party/googletest/googletest/scripts/common.py:1
EC_KEY_get0_group
const OPENSSL_EXPORT EC_GROUP * EC_KEY_get0_group(const EC_KEY *key)
Definition: ec_key.c:215
EC_KEY_check_key
OPENSSL_EXPORT int EC_KEY_check_key(const EC_KEY *key)
Definition: ec_key.c:293
cbb_st
Definition: bytestring.h:375


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:14