iPXE
Data Fields
elliptic_curve Struct Reference

An elliptic curve. More...

#include <crypto.h>

Data Fields

const char * name
 Curve name. More...
 
size_t keysize
 Key size. More...
 
int(* multiply )(const void *base, const void *scalar, void *result)
 Multiply scalar by curve point. More...
 

Detailed Description

An elliptic curve.

Definition at line 199 of file crypto.h.

Field Documentation

◆ name

const char* elliptic_curve::name

Curve name.

Definition at line 201 of file crypto.h.

Referenced by tls_send_client_key_exchange_ecdhe().

◆ keysize

size_t elliptic_curve::keysize

Key size.

Definition at line 203 of file crypto.h.

Referenced by tls_send_client_key_exchange_ecdhe().

◆ multiply

int( * elliptic_curve::multiply) (const void *base, const void *scalar, void *result)

Multiply scalar by curve point.

Parameters
baseBase point (or NULL to use generator)
scalarScalar multiple
resultResult point to fill in
Return values
rcReturn status code

Definition at line 211 of file crypto.h.


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