Classes | Functions | Variables
ec.c File Reference
#include <openssl/ec.h>
#include <assert.h>
#include <string.h>
#include <openssl/bn.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/nid.h>
#include "internal.h"
#include "../../internal.h"
#include "../bn/internal.h"
#include "../delocate.h"
Include dependency graph for ec.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  built_in_groups_st
 

Functions

static int arbitrary_bignum_to_scalar (const EC_GROUP *group, EC_SCALAR *out, const BIGNUM *in, BN_CTX *ctx)
 
 DEFINE_METHOD_FUNCTION (struct built_in_curves, OPENSSL_built_in_curves)
 
void ec_affine_select (const EC_GROUP *group, EC_AFFINE *out, BN_ULONG mask, const EC_AFFINE *a, const EC_AFFINE *b)
 
void ec_affine_to_jacobian (const EC_GROUP *group, EC_RAW_POINT *out, const EC_AFFINE *p)
 
int ec_cmp_x_coordinate (const EC_GROUP *group, const EC_RAW_POINT *p, const EC_SCALAR *r)
 
const char * EC_curve_nid2nist (int nid)
 
int EC_curve_nist2nid (const char *name)
 
size_t EC_get_builtin_curves (EC_builtin_curve *out_curves, size_t max_num_curves)
 
int ec_get_x_coordinate_as_bytes (const EC_GROUP *group, uint8_t *out, size_t *out_len, size_t max_out, const EC_RAW_POINT *p)
 
int ec_get_x_coordinate_as_scalar (const EC_GROUP *group, EC_SCALAR *out, const EC_RAW_POINT *p)
 
int EC_GROUP_cmp (const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ignored)
 
EC_GROUPEC_GROUP_dup (const EC_GROUP *a)
 
void EC_GROUP_free (EC_GROUP *group)
 
const EC_POINTEC_GROUP_get0_generator (const EC_GROUP *group)
 
const BIGNUMEC_GROUP_get0_order (const EC_GROUP *group)
 
int EC_GROUP_get_asn1_flag (const EC_GROUP *group)
 
int EC_GROUP_get_cofactor (const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
 
int EC_GROUP_get_curve_GFp (const EC_GROUP *group, BIGNUM *out_p, BIGNUM *out_a, BIGNUM *out_b, BN_CTX *ctx)
 
int EC_GROUP_get_curve_name (const EC_GROUP *group)
 
unsigned EC_GROUP_get_degree (const EC_GROUP *group)
 
int EC_GROUP_get_order (const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
 
const EC_METHODEC_GROUP_method_of (const EC_GROUP *group)
 
EC_GROUPec_group_new (const EC_METHOD *meth)
 
EC_GROUPEC_GROUP_new_by_curve_name (int nid)
 
EC_GROUPEC_GROUP_new_curve_GFp (const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
 
static EC_GROUPec_group_new_from_data (const struct built_in_curve *curve)
 
int EC_GROUP_order_bits (const EC_GROUP *group)
 
void EC_GROUP_set_asn1_flag (EC_GROUP *group, int flag)
 
static int ec_group_set_generator (EC_GROUP *group, const EC_AFFINE *generator, const BIGNUM *order)
 
int EC_GROUP_set_generator (EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor)
 
void EC_GROUP_set_point_conversion_form (EC_GROUP *group, point_conversion_form_t form)
 
int ec_init_precomp (const EC_GROUP *group, EC_PRECOMP *out, const EC_RAW_POINT *p)
 
int ec_jacobian_to_affine (const EC_GROUP *group, EC_AFFINE *out, const EC_RAW_POINT *p)
 
int ec_jacobian_to_affine_batch (const EC_GROUP *group, EC_AFFINE *out, const EC_RAW_POINT *in, size_t num)
 
int EC_METHOD_get_field_type (const EC_METHOD *meth)
 
int EC_POINT_add (const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
 
void EC_POINT_clear_free (EC_POINT *point)
 
int EC_POINT_cmp (const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
 
int EC_POINT_copy (EC_POINT *dest, const EC_POINT *src)
 
int EC_POINT_dbl (const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx)
 
EC_POINTEC_POINT_dup (const EC_POINT *a, const EC_GROUP *group)
 
void EC_POINT_free (EC_POINT *point)
 
static void ec_point_free (EC_POINT *point, int free_group)
 
int EC_POINT_get_affine_coordinates (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
 
int EC_POINT_get_affine_coordinates_GFp (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
 
int EC_POINT_invert (const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx)
 
int EC_POINT_is_at_infinity (const EC_GROUP *group, const EC_POINT *point)
 
int EC_POINT_is_on_curve (const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx)
 
int EC_POINT_mul (const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx)
 
int ec_point_mul_scalar (const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *p, const EC_SCALAR *scalar)
 
int ec_point_mul_scalar_base (const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *scalar)
 
int ec_point_mul_scalar_batch (const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *p0, const EC_SCALAR *scalar0, const EC_RAW_POINT *p1, const EC_SCALAR *scalar1, const EC_RAW_POINT *p2, const EC_SCALAR *scalar2)
 
int ec_point_mul_scalar_precomp (const EC_GROUP *group, EC_RAW_POINT *r, const EC_PRECOMP *p0, const EC_SCALAR *scalar0, const EC_PRECOMP *p1, const EC_SCALAR *scalar1, const EC_PRECOMP *p2, const EC_SCALAR *scalar2)
 
int ec_point_mul_scalar_public (const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, const EC_SCALAR *p_scalar)
 
int ec_point_mul_scalar_public_batch (const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *g_scalar, const EC_RAW_POINT *points, const EC_SCALAR *scalars, size_t num)
 
EC_POINTEC_POINT_new (const EC_GROUP *group)
 
void ec_point_select (const EC_GROUP *group, EC_RAW_POINT *out, BN_ULONG mask, const EC_RAW_POINT *a, const EC_RAW_POINT *b)
 
int ec_point_set_affine_coordinates (const EC_GROUP *group, EC_AFFINE *out, const EC_FELEM *x, const EC_FELEM *y)
 
int EC_POINT_set_affine_coordinates (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
 
int EC_POINT_set_affine_coordinates_GFp (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
 
int EC_POINT_set_to_infinity (const EC_GROUP *group, EC_POINT *point)
 
void ec_precomp_select (const EC_GROUP *group, EC_PRECOMP *out, BN_ULONG mask, const EC_PRECOMP *a, const EC_PRECOMP *b)
 
void ec_set_to_safe_point (const EC_GROUP *group, EC_RAW_POINT *out)
 

Variables

static const uint8_t kP224Params [6 *28]
 
static const uint8_t kP256Params [6 *32]
 
static const uint8_t kP384Params [6 *48]
 
static const uint8_t kP521Params [6 *66]
 

Function Documentation

◆ arbitrary_bignum_to_scalar()

static int arbitrary_bignum_to_scalar ( const EC_GROUP group,
EC_SCALAR out,
const BIGNUM in,
BN_CTX ctx 
)
static

Definition at line 927 of file ec.c.

◆ DEFINE_METHOD_FUNCTION()

DEFINE_METHOD_FUNCTION ( struct built_in_curves  ,
OPENSSL_built_in_curves   
)

Definition at line 218 of file ec.c.

◆ ec_affine_select()

void ec_affine_select ( const EC_GROUP group,
EC_AFFINE out,
BN_ULONG  mask,
const EC_AFFINE a,
const EC_AFFINE b 
)

Definition at line 1141 of file ec.c.

◆ ec_affine_to_jacobian()

void ec_affine_to_jacobian ( const EC_GROUP group,
EC_RAW_POINT out,
const EC_AFFINE p 
)

Definition at line 806 of file ec.c.

◆ ec_cmp_x_coordinate()

int ec_cmp_x_coordinate ( const EC_GROUP group,
const EC_RAW_POINT p,
const EC_SCALAR r 
)

Definition at line 1156 of file ec.c.

◆ EC_curve_nid2nist()

const char* EC_curve_nid2nist ( int  nid)

Definition at line 650 of file ec.c.

◆ EC_curve_nist2nid()

int EC_curve_nist2nid ( const char *  name)

Definition at line 664 of file ec.c.

◆ EC_get_builtin_curves()

size_t EC_get_builtin_curves ( EC_builtin_curve out_curves,
size_t  max_num_curves 
)

Definition at line 1257 of file ec.c.

◆ ec_get_x_coordinate_as_bytes()

int ec_get_x_coordinate_as_bytes ( const EC_GROUP group,
uint8_t out,
size_t *  out_len,
size_t  max_out,
const EC_RAW_POINT p 
)

Definition at line 1202 of file ec.c.

◆ ec_get_x_coordinate_as_scalar()

int ec_get_x_coordinate_as_scalar ( const EC_GROUP group,
EC_SCALAR out,
const EC_RAW_POINT p 
)

Definition at line 1161 of file ec.c.

◆ EC_GROUP_cmp()

int EC_GROUP_cmp ( const EC_GROUP a,
const EC_GROUP b,
BN_CTX ignored 
)

Definition at line 586 of file ec.c.

◆ EC_GROUP_dup()

EC_GROUP* EC_GROUP_dup ( const EC_GROUP a)

Definition at line 572 of file ec.c.

◆ EC_GROUP_free()

void EC_GROUP_free ( EC_GROUP group)

Definition at line 553 of file ec.c.

◆ EC_GROUP_get0_generator()

const EC_POINT* EC_GROUP_get0_generator ( const EC_GROUP group)

Definition at line 613 of file ec.c.

◆ EC_GROUP_get0_order()

const BIGNUM* EC_GROUP_get0_order ( const EC_GROUP group)

Definition at line 617 of file ec.c.

◆ EC_GROUP_get_asn1_flag()

int EC_GROUP_get_asn1_flag ( const EC_GROUP group)

Definition at line 1235 of file ec.c.

◆ EC_GROUP_get_cofactor()

int EC_GROUP_get_cofactor ( const EC_GROUP group,
BIGNUM cofactor,
BN_CTX ctx 
)

Definition at line 633 of file ec.c.

◆ EC_GROUP_get_curve_GFp()

int EC_GROUP_get_curve_GFp ( const EC_GROUP group,
BIGNUM out_p,
BIGNUM out_a,
BIGNUM out_b,
BN_CTX ctx 
)

Definition at line 639 of file ec.c.

◆ EC_GROUP_get_curve_name()

int EC_GROUP_get_curve_name ( const EC_GROUP group)

Definition at line 644 of file ec.c.

◆ EC_GROUP_get_degree()

unsigned EC_GROUP_get_degree ( const EC_GROUP group)

Definition at line 646 of file ec.c.

◆ EC_GROUP_get_order()

int EC_GROUP_get_order ( const EC_GROUP group,
BIGNUM order,
BN_CTX ctx 
)

Definition at line 622 of file ec.c.

◆ EC_GROUP_method_of()

const EC_METHOD* EC_GROUP_method_of ( const EC_GROUP group)

Definition at line 1239 of file ec.c.

◆ ec_group_new()

EC_GROUP* ec_group_new ( const EC_METHOD meth)

Definition at line 272 of file ec.c.

◆ EC_GROUP_new_by_curve_name()

EC_GROUP* EC_GROUP_new_by_curve_name ( int  nid)

Definition at line 506 of file ec.c.

◆ EC_GROUP_new_curve_GFp()

EC_GROUP* EC_GROUP_new_curve_GFp ( const BIGNUM p,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)

Definition at line 349 of file ec.c.

◆ ec_group_new_from_data()

static EC_GROUP* ec_group_new_from_data ( const struct built_in_curve curve)
static

Definition at line 442 of file ec.c.

◆ EC_GROUP_order_bits()

int EC_GROUP_order_bits ( const EC_GROUP group)

Definition at line 629 of file ec.c.

◆ EC_GROUP_set_asn1_flag()

void EC_GROUP_set_asn1_flag ( EC_GROUP group,
int  flag 
)

Definition at line 1233 of file ec.c.

◆ ec_group_set_generator()

static int ec_group_set_generator ( EC_GROUP group,
const EC_AFFINE generator,
const BIGNUM order 
)
static

Definition at line 304 of file ec.c.

◆ EC_GROUP_set_generator()

int EC_GROUP_set_generator ( EC_GROUP group,
const EC_POINT generator,
const BIGNUM order,
const BIGNUM cofactor 
)

Definition at line 390 of file ec.c.

◆ EC_GROUP_set_point_conversion_form()

void EC_GROUP_set_point_conversion_form ( EC_GROUP group,
point_conversion_form_t  form 
)

Definition at line 1250 of file ec.c.

◆ ec_init_precomp()

int ec_init_precomp ( const EC_GROUP group,
EC_PRECOMP out,
const EC_RAW_POINT p 
)

Definition at line 1102 of file ec.c.

◆ ec_jacobian_to_affine()

int ec_jacobian_to_affine ( const EC_GROUP group,
EC_AFFINE out,
const EC_RAW_POINT p 
)

Definition at line 813 of file ec.c.

◆ ec_jacobian_to_affine_batch()

int ec_jacobian_to_affine_batch ( const EC_GROUP group,
EC_AFFINE out,
const EC_RAW_POINT in,
size_t  num 
)

Definition at line 818 of file ec.c.

◆ EC_METHOD_get_field_type()

int EC_METHOD_get_field_type ( const EC_METHOD meth)

Definition at line 1246 of file ec.c.

◆ EC_POINT_add()

int EC_POINT_add ( const EC_GROUP group,
EC_POINT r,
const EC_POINT a,
const EC_POINT b,
BN_CTX ctx 
)

Definition at line 894 of file ec.c.

◆ EC_POINT_clear_free()

void EC_POINT_clear_free ( EC_POINT point)

Definition at line 711 of file ec.c.

◆ EC_POINT_cmp()

int EC_POINT_cmp ( const EC_GROUP group,
const EC_POINT a,
const EC_POINT b,
BN_CTX ctx 
)

Definition at line 766 of file ec.c.

◆ EC_POINT_copy()

int EC_POINT_copy ( EC_POINT dest,
const EC_POINT src 
)

Definition at line 713 of file ec.c.

◆ EC_POINT_dbl()

int EC_POINT_dbl ( const EC_GROUP group,
EC_POINT r,
const EC_POINT a,
BN_CTX ctx 
)

Definition at line 906 of file ec.c.

◆ EC_POINT_dup()

EC_POINT* EC_POINT_dup ( const EC_POINT a,
const EC_GROUP group 
)

Definition at line 725 of file ec.c.

◆ EC_POINT_free()

void EC_POINT_free ( EC_POINT point)

Definition at line 707 of file ec.c.

◆ ec_point_free()

static void ec_point_free ( EC_POINT point,
int  free_group 
)
static

Definition at line 697 of file ec.c.

◆ EC_POINT_get_affine_coordinates()

int EC_POINT_get_affine_coordinates ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BN_CTX ctx 
)

Definition at line 800 of file ec.c.

◆ EC_POINT_get_affine_coordinates_GFp()

int EC_POINT_get_affine_coordinates_GFp ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BN_CTX ctx 
)

Definition at line 778 of file ec.c.

◆ EC_POINT_invert()

int EC_POINT_invert ( const EC_GROUP group,
EC_POINT a,
BN_CTX ctx 
)

Definition at line 918 of file ec.c.

◆ EC_POINT_is_at_infinity()

int EC_POINT_is_at_infinity ( const EC_GROUP group,
const EC_POINT point 
)

Definition at line 749 of file ec.c.

◆ EC_POINT_is_on_curve()

int EC_POINT_is_on_curve ( const EC_GROUP group,
const EC_POINT point,
BN_CTX ctx 
)

Definition at line 757 of file ec.c.

◆ EC_POINT_mul()

int EC_POINT_mul ( const EC_GROUP group,
EC_POINT r,
const BIGNUM g_scalar,
const EC_POINT p,
const BIGNUM p_scalar,
BN_CTX ctx 
)

Definition at line 946 of file ec.c.

◆ ec_point_mul_scalar()

int ec_point_mul_scalar ( const EC_GROUP group,
EC_RAW_POINT r,
const EC_RAW_POINT p,
const EC_SCALAR scalar 
)

Definition at line 1042 of file ec.c.

◆ ec_point_mul_scalar_base()

int ec_point_mul_scalar_base ( const EC_GROUP group,
EC_RAW_POINT r,
const EC_SCALAR scalar 
)

Definition at line 1061 of file ec.c.

◆ ec_point_mul_scalar_batch()

int ec_point_mul_scalar_batch ( const EC_GROUP group,
EC_RAW_POINT r,
const EC_RAW_POINT p0,
const EC_SCALAR scalar0,
const EC_RAW_POINT p1,
const EC_SCALAR scalar1,
const EC_RAW_POINT p2,
const EC_SCALAR scalar2 
)

Definition at line 1080 of file ec.c.

◆ ec_point_mul_scalar_precomp()

int ec_point_mul_scalar_precomp ( const EC_GROUP group,
EC_RAW_POINT r,
const EC_PRECOMP p0,
const EC_SCALAR scalar0,
const EC_PRECOMP p1,
const EC_SCALAR scalar1,
const EC_PRECOMP p2,
const EC_SCALAR scalar2 
)

Definition at line 1112 of file ec.c.

◆ ec_point_mul_scalar_public()

int ec_point_mul_scalar_public ( const EC_GROUP group,
EC_RAW_POINT r,
const EC_SCALAR g_scalar,
const EC_RAW_POINT p,
const EC_SCALAR p_scalar 
)

Definition at line 1013 of file ec.c.

◆ ec_point_mul_scalar_public_batch()

int ec_point_mul_scalar_public_batch ( const EC_GROUP group,
EC_RAW_POINT r,
const EC_SCALAR g_scalar,
const EC_RAW_POINT points,
const EC_SCALAR scalars,
size_t  num 
)

Definition at line 1029 of file ec.c.

◆ EC_POINT_new()

EC_POINT* EC_POINT_new ( const EC_GROUP group)

Definition at line 680 of file ec.c.

◆ ec_point_select()

void ec_point_select ( const EC_GROUP group,
EC_RAW_POINT out,
BN_ULONG  mask,
const EC_RAW_POINT a,
const EC_RAW_POINT b 
)

Definition at line 1134 of file ec.c.

◆ ec_point_set_affine_coordinates()

int ec_point_set_affine_coordinates ( const EC_GROUP group,
EC_AFFINE out,
const EC_FELEM x,
const EC_FELEM y 
)

Definition at line 827 of file ec.c.

◆ EC_POINT_set_affine_coordinates()

int EC_POINT_set_affine_coordinates ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
const BIGNUM y,
BN_CTX ctx 
)

Definition at line 888 of file ec.c.

◆ EC_POINT_set_affine_coordinates_GFp()

int EC_POINT_set_affine_coordinates_GFp ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
const BIGNUM y,
BN_CTX ctx 
)

Definition at line 860 of file ec.c.

◆ EC_POINT_set_to_infinity()

int EC_POINT_set_to_infinity ( const EC_GROUP group,
EC_POINT point 
)

Definition at line 740 of file ec.c.

◆ ec_precomp_select()

void ec_precomp_select ( const EC_GROUP group,
EC_PRECOMP out,
BN_ULONG  mask,
const EC_PRECOMP a,
const EC_PRECOMP b 
)

Definition at line 1147 of file ec.c.

◆ ec_set_to_safe_point()

void ec_set_to_safe_point ( const EC_GROUP group,
EC_RAW_POINT out 
)

Definition at line 1222 of file ec.c.

Variable Documentation

◆ kP224Params

const uint8_t kP224Params[6 *28]
static
Initial value:
= {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x01,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFE,
0xB4, 0x05, 0x0A, 0x85, 0x0C, 0x04, 0xB3, 0xAB, 0xF5, 0x41, 0x32, 0x56,
0x50, 0x44, 0xB0, 0xB7, 0xD7, 0xBF, 0xD8, 0xBA, 0x27, 0x0B, 0x39, 0x43,
0x23, 0x55, 0xFF, 0xB4,
0xB7, 0x0E, 0x0C, 0xBD, 0x6B, 0xB4, 0xBF, 0x7F, 0x32, 0x13, 0x90, 0xB9,
0x4A, 0x03, 0xC1, 0xD3, 0x56, 0xC2, 0x11, 0x22, 0x34, 0x32, 0x80, 0xD6,
0x11, 0x5C, 0x1D, 0x21,
0xbd, 0x37, 0x63, 0x88, 0xb5, 0xf7, 0x23, 0xfb, 0x4c, 0x22, 0xdf, 0xe6,
0xcd, 0x43, 0x75, 0xa0, 0x5a, 0x07, 0x47, 0x64, 0x44, 0xd5, 0x81, 0x99,
0x85, 0x00, 0x7e, 0x34,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0x16, 0xA2, 0xE0, 0xB8, 0xF0, 0x3E, 0x13, 0xDD, 0x29, 0x45,
0x5C, 0x5C, 0x2A, 0x3D,
}

Definition at line 86 of file ec.c.

◆ kP256Params

const uint8_t kP256Params[6 *32]
static
Initial value:
= {
0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
0x5A, 0xC6, 0x35, 0xD8, 0xAA, 0x3A, 0x93, 0xE7, 0xB3, 0xEB, 0xBD, 0x55,
0x76, 0x98, 0x86, 0xBC, 0x65, 0x1D, 0x06, 0xB0, 0xCC, 0x53, 0xB0, 0xF6,
0x3B, 0xCE, 0x3C, 0x3E, 0x27, 0xD2, 0x60, 0x4B,
0x6B, 0x17, 0xD1, 0xF2, 0xE1, 0x2C, 0x42, 0x47, 0xF8, 0xBC, 0xE6, 0xE5,
0x63, 0xA4, 0x40, 0xF2, 0x77, 0x03, 0x7D, 0x81, 0x2D, 0xEB, 0x33, 0xA0,
0xF4, 0xA1, 0x39, 0x45, 0xD8, 0x98, 0xC2, 0x96,
0x4f, 0xe3, 0x42, 0xe2, 0xfe, 0x1a, 0x7f, 0x9b, 0x8e, 0xe7, 0xeb, 0x4a,
0x7c, 0x0f, 0x9e, 0x16, 0x2b, 0xce, 0x33, 0x57, 0x6b, 0x31, 0x5e, 0xce,
0xcb, 0xb6, 0x40, 0x68, 0x37, 0xbf, 0x51, 0xf5,
0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xBC, 0xE6, 0xFA, 0xAD, 0xA7, 0x17, 0x9E, 0x84,
0xF3, 0xB9, 0xCA, 0xC2, 0xFC, 0x63, 0x25, 0x51,
}

Definition at line 113 of file ec.c.

◆ kP384Params

const uint8_t kP384Params[6 *48]
static

Definition at line 140 of file ec.c.

◆ kP521Params

const uint8_t kP521Params[6 *66]
static

Definition at line 173 of file ec.c.



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