Public Attributes | List of all members
ec_method_st Struct Reference

#include <internal.h>

Public Attributes

void(* add )(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a, const EC_RAW_POINT *b)
 
int(* cmp_x_coordinate )(const EC_GROUP *group, const EC_RAW_POINT *p, const EC_SCALAR *r)
 
void(* dbl )(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a)
 
void(* felem_exp )(const EC_GROUP *group, EC_FELEM *out, const EC_FELEM *a, const BN_ULONG *exp, size_t num_exp)
 
int(* felem_from_bytes )(const EC_GROUP *group, EC_FELEM *out, const uint8_t *in, size_t len)
 
void(* felem_mul )(const EC_GROUP *, EC_FELEM *r, const EC_FELEM *a, const EC_FELEM *b)
 
void(* felem_reduce )(const EC_GROUP *group, EC_FELEM *out, const BN_ULONG *words, size_t num)
 
void(* felem_sqr )(const EC_GROUP *, EC_FELEM *r, const EC_FELEM *a)
 
void(* felem_to_bytes )(const EC_GROUP *group, uint8_t *out, size_t *out_len, const EC_FELEM *in)
 
void(* group_finish )(EC_GROUP *)
 
int(* group_init )(EC_GROUP *)
 
int(* group_set_curve )(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
 
int(* init_precomp )(const EC_GROUP *group, EC_PRECOMP *out, const EC_RAW_POINT *p)
 
int(* jacobian_to_affine_batch )(const EC_GROUP *group, EC_AFFINE *out, const EC_RAW_POINT *in, size_t num)
 
void(* mul )(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *p, const EC_SCALAR *scalar)
 
void(* mul_base )(const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *scalar)
 
void(* mul_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)
 
void(* mul_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)
 
void(* mul_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(* mul_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)
 
int(* point_get_affine_coordinates )(const EC_GROUP *, const EC_RAW_POINT *p, EC_FELEM *x, EC_FELEM *y)
 
void(* scalar_inv0_montgomery )(const EC_GROUP *group, EC_SCALAR *out, const EC_SCALAR *in)
 
int(* scalar_to_montgomery_inv_vartime )(const EC_GROUP *group, EC_SCALAR *out, const EC_SCALAR *in)
 

Detailed Description

Definition at line 463 of file third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h.

Member Data Documentation

◆ add

void(* ec_method_st::add) (const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a, const EC_RAW_POINT *b)

◆ cmp_x_coordinate

int(* ec_method_st::cmp_x_coordinate) (const EC_GROUP *group, const EC_RAW_POINT *p, const EC_SCALAR *r)

◆ dbl

void(* ec_method_st::dbl) (const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a)

◆ felem_exp

void(* ec_method_st::felem_exp) (const EC_GROUP *group, EC_FELEM *out, const EC_FELEM *a, const BN_ULONG *exp, size_t num_exp)

◆ felem_from_bytes

int(* ec_method_st::felem_from_bytes) (const EC_GROUP *group, EC_FELEM *out, const uint8_t *in, size_t len)

◆ felem_mul

void(* ec_method_st::felem_mul) (const EC_GROUP *, EC_FELEM *r, const EC_FELEM *a, const EC_FELEM *b)

◆ felem_reduce

void(* ec_method_st::felem_reduce) (const EC_GROUP *group, EC_FELEM *out, const BN_ULONG *words, size_t num)

◆ felem_sqr

void(* ec_method_st::felem_sqr) (const EC_GROUP *, EC_FELEM *r, const EC_FELEM *a)

◆ felem_to_bytes

void(* ec_method_st::felem_to_bytes) (const EC_GROUP *group, uint8_t *out, size_t *out_len, const EC_FELEM *in)

◆ group_finish

void(* ec_method_st::group_finish) (EC_GROUP *)

◆ group_init

int(* ec_method_st::group_init) (EC_GROUP *)

◆ group_set_curve

int(* ec_method_st::group_set_curve) (EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *)

◆ init_precomp

int(* ec_method_st::init_precomp) (const EC_GROUP *group, EC_PRECOMP *out, const EC_RAW_POINT *p)

◆ jacobian_to_affine_batch

int(* ec_method_st::jacobian_to_affine_batch) (const EC_GROUP *group, EC_AFFINE *out, const EC_RAW_POINT *in, size_t num)

◆ mul

void(* ec_method_st::mul) (const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *p, const EC_SCALAR *scalar)

◆ mul_base

void(* ec_method_st::mul_base) (const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *scalar)

◆ mul_batch

void(* ec_method_st::mul_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)

◆ mul_precomp

void(* ec_method_st::mul_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)

◆ mul_public

void(* ec_method_st::mul_public) (const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, const EC_SCALAR *p_scalar)

◆ mul_public_batch

int(* ec_method_st::mul_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)

◆ point_get_affine_coordinates

int(* ec_method_st::point_get_affine_coordinates) (const EC_GROUP *, const EC_RAW_POINT *p, EC_FELEM *x, EC_FELEM *y)

◆ scalar_inv0_montgomery

void(* ec_method_st::scalar_inv0_montgomery) (const EC_GROUP *group, EC_SCALAR *out, const EC_SCALAR *in)

◆ scalar_to_montgomery_inv_vartime

int(* ec_method_st::scalar_to_montgomery_inv_vartime) (const EC_GROUP *group, EC_SCALAR *out, const EC_SCALAR *in)

The documentation for this struct was generated from the following file:


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