iPXE
elliptic_multiply_test Struct Reference

An elliptic curve point multiplication test. More...

#include <elliptic_test.h>

Data Fields

struct elliptic_curvecurve
 Elliptic curve.
const void * base
 Base point.
size_t base_len
 Length of base point (or 0 to use generator).
const void * scalar
 Scalar multiple.
size_t scalar_len
 Length of scalar multiple.
const void * expected
 Expected result point.
size_t expected_len
 Length of expected result point (or 0 to expect failure).

Detailed Description

An elliptic curve point multiplication test.

Definition at line 12 of file elliptic_test.h.

Field Documentation

◆ curve

struct elliptic_curve* elliptic_multiply_test::curve

Elliptic curve.

Definition at line 14 of file elliptic_test.h.

◆ base

const void* elliptic_multiply_test::base

Base point.

Definition at line 16 of file elliptic_test.h.

◆ base_len

size_t elliptic_multiply_test::base_len

Length of base point (or 0 to use generator).

Definition at line 18 of file elliptic_test.h.

◆ scalar

const void* elliptic_multiply_test::scalar

Scalar multiple.

Definition at line 20 of file elliptic_test.h.

◆ scalar_len

size_t elliptic_multiply_test::scalar_len

Length of scalar multiple.

Definition at line 22 of file elliptic_test.h.

◆ expected

const void* elliptic_multiply_test::expected

Expected result point.

Definition at line 24 of file elliptic_test.h.

◆ expected_len

size_t elliptic_multiply_test::expected_len

Length of expected result point (or 0 to expect failure).

Definition at line 26 of file elliptic_test.h.


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