sl_se_custom_weierstrass_prime_domain_t Struct Reference

Custom Weierstrass curve structure.

#include <sl_se_manager_types.h>

Data Fields

const size_t size
Domain size in bytes.
const uint8_t * p
Modulus p (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)
const uint8_t * N
Order N (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)
const uint8_t * Gx
Generator X-coordinate (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)
const uint8_t * Gy
Generator Y-coordinate (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)
const uint8_t * a
Parameter a (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)
const uint8_t * b
Parameter b (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)
bool a_is_zero
Set if a equals 0.
bool a_is_minus_three
Set if a equals -3.

Custom Weierstrass curve structure.

Field Documentation

size

const size_t sl_se_custom_weierstrass_prime_domain_t::size

Domain size in bytes.

p

const uint8_t* sl_se_custom_weierstrass_prime_domain_t::p

Modulus p (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)

N

const uint8_t* sl_se_custom_weierstrass_prime_domain_t::N

Order N (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)

Gx

const uint8_t* sl_se_custom_weierstrass_prime_domain_t::Gx

Generator X-coordinate (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)

Gy

const uint8_t* sl_se_custom_weierstrass_prime_domain_t::Gy

Generator Y-coordinate (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)

a

const uint8_t* sl_se_custom_weierstrass_prime_domain_t::a

Parameter a (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)

b

const uint8_t* sl_se_custom_weierstrass_prime_domain_t::b

Parameter b (zero-padded from MSB, right-adjusted to extend to 32-bit alignment up from domain size)

a_is_zero

bool sl_se_custom_weierstrass_prime_domain_t::a_is_zero

Set if a equals 0.

a_is_minus_three

bool sl_se_custom_weierstrass_prime_domain_t::a_is_minus_three

Set if a equals -3.