#include <openssl/opensslconf.h>
#include <stdint.h>
#include <string.h>
#include <openssl/err.h>
#include "ec_lcl.h"
Go to the source code of this file.
Classes | |
struct | NISTP521_PRE_COMP |
Macros | |
#define | NLIMBS 9 |
Typedefs | |
typedef uint8_t | u8 |
typedef uint64_t | u64 |
typedef int64_t | s64 |
typedef u8 | felem_bytearray [66] |
typedef uint64_t | limb |
typedef limb | felem [NLIMBS] |
typedef uint128_t | largefelem [NLIMBS] |
Functions | |
const EC_METHOD * | EC_GFp_nistp521_method (void) |
int | ec_GFp_nistp521_group_init (EC_GROUP *group) |
int | ec_GFp_nistp521_group_set_curve (EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) |
int | ec_GFp_nistp521_point_get_affine_coordinates (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) |
int | ec_GFp_nistp521_points_mul (const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) |
int | ec_GFp_nistp521_precompute_mult (EC_GROUP *group, BN_CTX *ctx) |
int | ec_GFp_nistp521_have_precompute_mult (const EC_GROUP *group) |
#define NLIMBS 9 |
Definition at line 125 of file ecp_nistp521.c.
Definition at line 128 of file ecp_nistp521.c.
typedef u8 felem_bytearray[66] |
Definition at line 59 of file ecp_nistp521.c.
typedef uint128_t largefelem[NLIMBS] |
Definition at line 129 of file ecp_nistp521.c.
typedef uint64_t limb |
Definition at line 127 of file ecp_nistp521.c.
typedef int64_t s64 |
Definition at line 51 of file ecp_nistp521.c.
typedef uint64_t u64 |
Definition at line 50 of file ecp_nistp521.c.
typedef uint8_t u8 |
Definition at line 49 of file ecp_nistp521.c.
int ec_GFp_nistp521_group_init | ( | EC_GROUP * | group | ) |
Definition at line 1592 of file ecp_nistp521.c.
int ec_GFp_nistp521_group_set_curve | ( | EC_GROUP * | group, |
const BIGNUM * | p, | ||
const BIGNUM * | a, | ||
const BIGNUM * | b, | ||
BN_CTX * | ctx | ||
) |
Definition at line 1600 of file ecp_nistp521.c.
int ec_GFp_nistp521_have_precompute_mult | ( | const EC_GROUP * | group | ) |
Definition at line 2013 of file ecp_nistp521.c.
Returns 64-bit optimized methods for nistp521
Definition at line 1482 of file ecp_nistp521.c.
int ec_GFp_nistp521_point_get_affine_coordinates | ( | const EC_GROUP * | group, |
const EC_POINT * | point, | ||
BIGNUM * | x, | ||
BIGNUM * | y, | ||
BN_CTX * | ctx | ||
) |
Definition at line 1634 of file ecp_nistp521.c.
int ec_GFp_nistp521_points_mul | ( | const EC_GROUP * | group, |
EC_POINT * | r, | ||
const BIGNUM * | scalar, | ||
size_t | num, | ||
const EC_POINT * | points[], | ||
const BIGNUM * | scalars[], | ||
BN_CTX * | ctx | ||
) |
Definition at line 1694 of file ecp_nistp521.c.
Definition at line 1902 of file ecp_nistp521.c.