OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
ecp_nist.c File Reference
#include <limits.h>
#include <openssl/err.h>
#include <openssl/obj_mac.h>
#include "ec_lcl.h"

Go to the source code of this file.

Functions

const EC_METHODEC_GFp_nist_method (void)
 
int ec_GFp_nist_group_copy (EC_GROUP *dest, const EC_GROUP *src)
 
int ec_GFp_nist_group_set_curve (EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
 
int ec_GFp_nist_field_mul (const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
 
int ec_GFp_nist_field_sqr (const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
 

Function Documentation

int ec_GFp_nist_field_mul ( const EC_GROUP group,
BIGNUM r,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)

Definition at line 168 of file ecp_nist.c.

int ec_GFp_nist_field_sqr ( const EC_GROUP group,
BIGNUM r,
const BIGNUM a,
BN_CTX ctx 
)

Definition at line 194 of file ecp_nist.c.

int ec_GFp_nist_group_copy ( EC_GROUP dest,
const EC_GROUP src 
)

Definition at line 122 of file ecp_nist.c.

int ec_GFp_nist_group_set_curve ( EC_GROUP group,
const BIGNUM p,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)

Definition at line 129 of file ecp_nist.c.

const EC_METHOD* EC_GFp_nist_method ( void  )

Returns GFp methods using optimized methods for NIST recommended curves

Returns
EC_METHOD object

Definition at line 74 of file ecp_nist.c.