#include <openssl/opensslconf.h>
#include <stddef.h>
#include "ec_lcl.h"
Go to the source code of this file.
|
#define | tmp_felem(I) (&((char *)tmp_felems)[(I) * felem_size]) |
|
#define | X(I) (&((char *)point_array)[3*(I) * felem_size]) |
|
#define | Y(I) (&((char *)point_array)[(3*(I) + 1) * felem_size]) |
|
#define | Z(I) (&((char *)point_array)[(3*(I) + 2) * felem_size]) |
|
|
void | ec_GFp_nistp_points_make_affine_internal (size_t num, void *point_array, size_t felem_size, void *tmp_felems, void(*felem_one)(void *out), int(*felem_is_zero)(const void *in), void(*felem_assign)(void *out, const void *in), void(*felem_square)(void *out, const void *in), void(*felem_mul)(void *out, const void *in1, const void *in2), void(*felem_inv)(void *out, const void *in), void(*felem_contract)(void *out, const void *in)) |
|
void | ec_GFp_nistp_recode_scalar_bits (unsigned char *sign, unsigned char *digit, unsigned char in) |
|
#define tmp_felem |
( |
|
I | ) |
(&((char *)tmp_felems)[(I) * felem_size]) |
#define X |
( |
|
I | ) |
(&((char *)point_array)[3*(I) * felem_size]) |
#define Y |
( |
|
I | ) |
(&((char *)point_array)[(3*(I) + 1) * felem_size]) |
#define Z |
( |
|
I | ) |
(&((char *)point_array)[(3*(I) + 2) * felem_size]) |
void ec_GFp_nistp_points_make_affine_internal |
( |
size_t |
num, |
|
|
void * |
point_array, |
|
|
size_t |
felem_size, |
|
|
void * |
tmp_felems, |
|
|
void(*)(void *out) |
felem_one, |
|
|
int(*)(const void *in) |
felem_is_zero, |
|
|
void(*)(void *out, const void *in) |
felem_assign, |
|
|
void(*)(void *out, const void *in) |
felem_square, |
|
|
void(*)(void *out, const void *in1, const void *in2) |
felem_mul, |
|
|
void(*)(void *out, const void *in) |
felem_inv, |
|
|
void(*)(void *out, const void *in) |
felem_contract |
|
) |
| |
void ec_GFp_nistp_recode_scalar_bits |
( |
unsigned char * |
sign, |
|
|
unsigned char * |
digit, |
|
|
unsigned char |
in |
|
) |
| |