Functions
ec_key.c File Reference
#include <openssl/ec_key.h>
#include <string.h>
#include <openssl/ec.h>
#include <openssl/ecdsa.h>
#include <openssl/engine.h>
#include <openssl/err.h>
#include <openssl/ex_data.h>
#include <openssl/mem.h>
#include <openssl/thread.h>
#include "internal.h"
#include "../delocate.h"
#include "../../internal.h"
Include dependency graph for ec_key.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int EC_KEY_check_fips (const EC_KEY *key)
 
int EC_KEY_check_key (const EC_KEY *eckey)
 
EC_KEYEC_KEY_dup (const EC_KEY *src)
 
void EC_KEY_free (EC_KEY *r)
 
int EC_KEY_generate_key (EC_KEY *key)
 
int EC_KEY_generate_key_fips (EC_KEY *eckey)
 
const EC_GROUPEC_KEY_get0_group (const EC_KEY *key)
 
const BIGNUMEC_KEY_get0_private_key (const EC_KEY *key)
 
const EC_POINTEC_KEY_get0_public_key (const EC_KEY *key)
 
point_conversion_form_t EC_KEY_get_conv_form (const EC_KEY *key)
 
unsigned int EC_KEY_get_enc_flags (const EC_KEY *key)
 
void * EC_KEY_get_ex_data (const EC_KEY *d, int idx)
 
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)
 
int EC_KEY_is_opaque (const EC_KEY *key)
 
size_t EC_KEY_key2buf (const EC_KEY *key, point_conversion_form_t form, unsigned char **out_buf, BN_CTX *ctx)
 
EC_KEYEC_KEY_new (void)
 
EC_KEYEC_KEY_new_by_curve_name (int nid)
 
EC_KEYEC_KEY_new_method (const ENGINE *engine)
 
void EC_KEY_set_asn1_flag (EC_KEY *key, int flag)
 
void EC_KEY_set_conv_form (EC_KEY *key, point_conversion_form_t cform)
 
void EC_KEY_set_enc_flags (EC_KEY *key, unsigned int flags)
 
int EC_KEY_set_ex_data (EC_KEY *d, int idx, void *arg)
 
int EC_KEY_set_group (EC_KEY *key, const EC_GROUP *group)
 
int EC_KEY_set_private_key (EC_KEY *key, const BIGNUM *priv_key)
 
int EC_KEY_set_public_key (EC_KEY *key, const EC_POINT *pub_key)
 
int EC_KEY_set_public_key_affine_coordinates (EC_KEY *key, const BIGNUM *x, const BIGNUM *y)
 
int EC_KEY_up_ref (EC_KEY *r)
 
static void ec_wrapped_scalar_free (EC_WRAPPED_SCALAR *scalar)
 
static EC_WRAPPED_SCALARec_wrapped_scalar_new (const EC_GROUP *group)
 

Function Documentation

◆ EC_KEY_check_fips()

int EC_KEY_check_fips ( const EC_KEY key)

Definition at line 328 of file ec_key.c.

◆ EC_KEY_check_key()

int EC_KEY_check_key ( const EC_KEY eckey)

Definition at line 293 of file ec_key.c.

◆ EC_KEY_dup()

EC_KEY* EC_KEY_dup ( const EC_KEY src)

Definition at line 180 of file ec_key.c.

◆ EC_KEY_free()

void EC_KEY_free ( EC_KEY r)

Definition at line 155 of file ec_key.c.

◆ EC_KEY_generate_key()

int EC_KEY_generate_key ( EC_KEY key)

Definition at line 409 of file ec_key.c.

◆ EC_KEY_generate_key_fips()

int EC_KEY_generate_key_fips ( EC_KEY eckey)

Definition at line 441 of file ec_key.c.

◆ EC_KEY_get0_group()

const EC_GROUP* EC_KEY_get0_group ( const EC_KEY key)

Definition at line 215 of file ec_key.c.

◆ EC_KEY_get0_private_key()

const BIGNUM* EC_KEY_get0_private_key ( const EC_KEY key)

Definition at line 235 of file ec_key.c.

◆ EC_KEY_get0_public_key()

const EC_POINT* EC_KEY_get0_public_key ( const EC_KEY key)

Definition at line 259 of file ec_key.c.

◆ EC_KEY_get_conv_form()

point_conversion_form_t EC_KEY_get_conv_form ( const EC_KEY key)

Definition at line 285 of file ec_key.c.

◆ EC_KEY_get_enc_flags()

unsigned int EC_KEY_get_enc_flags ( const EC_KEY key)

Definition at line 279 of file ec_key.c.

◆ EC_KEY_get_ex_data()

void* EC_KEY_get_ex_data ( const EC_KEY d,
int  idx 
)

Definition at line 468 of file ec_key.c.

◆ EC_KEY_get_ex_new_index()

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 at line 453 of file ec_key.c.

◆ EC_KEY_is_opaque()

int EC_KEY_is_opaque ( const EC_KEY key)

Definition at line 211 of file ec_key.c.

◆ EC_KEY_key2buf()

size_t EC_KEY_key2buf ( const EC_KEY key,
point_conversion_form_t  form,
unsigned char **  out_buf,
BN_CTX ctx 
)

Definition at line 382 of file ec_key.c.

◆ EC_KEY_new()

EC_KEY* EC_KEY_new ( void  )

Definition at line 106 of file ec_key.c.

◆ EC_KEY_new_by_curve_name()

EC_KEY* EC_KEY_new_by_curve_name ( int  nid)

Definition at line 141 of file ec_key.c.

◆ EC_KEY_new_method()

EC_KEY* EC_KEY_new_method ( const ENGINE engine)

Definition at line 108 of file ec_key.c.

◆ EC_KEY_set_asn1_flag()

void EC_KEY_set_asn1_flag ( EC_KEY key,
int  flag 
)

Definition at line 472 of file ec_key.c.

◆ EC_KEY_set_conv_form()

void EC_KEY_set_conv_form ( EC_KEY key,
point_conversion_form_t  cform 
)

Definition at line 289 of file ec_key.c.

◆ EC_KEY_set_enc_flags()

void EC_KEY_set_enc_flags ( EC_KEY key,
unsigned int  flags 
)

Definition at line 281 of file ec_key.c.

◆ EC_KEY_set_ex_data()

int EC_KEY_set_ex_data ( EC_KEY d,
int  idx,
void *  arg 
)

Definition at line 464 of file ec_key.c.

◆ EC_KEY_set_group()

int EC_KEY_set_group ( EC_KEY key,
const EC_GROUP group 
)

Definition at line 217 of file ec_key.c.

◆ EC_KEY_set_private_key()

int EC_KEY_set_private_key ( EC_KEY key,
const BIGNUM priv_key 
)

Definition at line 239 of file ec_key.c.

◆ EC_KEY_set_public_key()

int EC_KEY_set_public_key ( EC_KEY key,
const EC_POINT pub_key 
)

Definition at line 263 of file ec_key.c.

◆ EC_KEY_set_public_key_affine_coordinates()

int EC_KEY_set_public_key_affine_coordinates ( EC_KEY key,
const BIGNUM x,
const BIGNUM y 
)

Definition at line 357 of file ec_key.c.

◆ EC_KEY_up_ref()

int EC_KEY_up_ref ( EC_KEY r)

Definition at line 206 of file ec_key.c.

◆ ec_wrapped_scalar_free()

static void ec_wrapped_scalar_free ( EC_WRAPPED_SCALAR scalar)
static

Definition at line 102 of file ec_key.c.

◆ ec_wrapped_scalar_new()

static EC_WRAPPED_SCALAR* ec_wrapped_scalar_new ( const EC_GROUP group)
static

Definition at line 87 of file ec_key.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:11