felem_bytearray
static char get_bit(const felem_bytearray in, unsigned i)
const felem_bytearray scalars[],
BN_bin2bn(nistp224_curve_params[0], sizeof(felem_bytearray), curve_p);
BN_bin2bn(nistp224_curve_params[1], sizeof(felem_bytearray), curve_a);
BN_bin2bn(nistp224_curve_params[2], sizeof(felem_bytearray), curve_b);
felem_bytearray g_secret;
felem_bytearray *secrets = NULL;
(const felem_bytearray(*))secrets, num_points,
(const felem_bytearray(*))secrets, num_points,
BN_bin2bn(nistp224_curve_params[3], sizeof(felem_bytearray), x);
BN_bin2bn(nistp224_curve_params[4], sizeof(felem_bytearray), y);
felem_bytearray b_out;
felem_bytearray b_out;
static const felem_bytearray nistp224_curve_params[5] = {
felem_bytearray b_out;
static char get_bit(const felem_bytearray in, int i)
const felem_bytearray scalars[],
felem_bytearray b_out;
BN_bin2bn(nistp256_curve_params[0], sizeof(felem_bytearray), curve_p);
BN_bin2bn(nistp256_curve_params[1], sizeof(felem_bytearray), curve_a);
BN_bin2bn(nistp256_curve_params[2], sizeof(felem_bytearray), curve_b);
felem_bytearray g_secret;
felem_bytearray *secrets = NULL;
(const felem_bytearray(*))secrets, num_points,
(const felem_bytearray(*))secrets, num_points,
BN_bin2bn(nistp256_curve_params[3], sizeof(felem_bytearray), x);
BN_bin2bn(nistp256_curve_params[4], sizeof(felem_bytearray), y);
static const felem_bytearray nistp256_curve_params[5] = {
static char get_bit(const felem_bytearray in, int i)
const felem_bytearray scalars[],
felem_bytearray b_out;
felem_bytearray b_out;
BN_bin2bn(nistp384_curve_params[0], sizeof(felem_bytearray), curve_p);
BN_bin2bn(nistp384_curve_params[1], sizeof(felem_bytearray), curve_a);
BN_bin2bn(nistp384_curve_params[2], sizeof(felem_bytearray), curve_b);
felem_bytearray g_secret;
felem_bytearray *secrets = NULL;
(const felem_bytearray(*))secrets, num_points,
(const felem_bytearray(*))secrets, num_points,
BN_bin2bn(nistp384_curve_params[3], sizeof(felem_bytearray), x);
BN_bin2bn(nistp384_curve_params[4], sizeof(felem_bytearray), y);
static const felem_bytearray nistp384_curve_params[5] = {
static char get_bit(const felem_bytearray in, int i)
const felem_bytearray scalars[],
BN_bin2bn(nistp521_curve_params[0], sizeof(felem_bytearray), curve_p);
BN_bin2bn(nistp521_curve_params[1], sizeof(felem_bytearray), curve_a);
BN_bin2bn(nistp521_curve_params[2], sizeof(felem_bytearray), curve_b);
felem_bytearray b_out;
felem_bytearray g_secret;
felem_bytearray *secrets = NULL;
felem_bytearray b_out;
(const felem_bytearray(*))secrets, num_points,
(const felem_bytearray(*))secrets, num_points,
BN_bin2bn(nistp521_curve_params[3], sizeof(felem_bytearray), x);
BN_bin2bn(nistp521_curve_params[4], sizeof(felem_bytearray), y);
static const felem_bytearray nistp521_curve_params[5] = {