Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
EC_GROUP_new_curve_GFp, EC_GROUP_set_curve, EC_GROUP_get_curve, EC_GROUP_set_generator, EC_GROUP_get0_generator, EC_GROUP_get_degree, EC_GROUP_get_order, EC_GROUP_order_bits, EC_GROUP_get_cofactor, EC_GROUP_clear_free, EC_GROUP_set_curve_GFp, EC_GROUP_get_curve_GFp — define elliptic curves and retrieve information from themSYNOPSIS
library “libcrypto”#include <openssl/bn.h>
#include <openssl/ec.h>
EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor);
EC_GROUP_get0_generator(const EC_GROUP *group);
EC_GROUP_get_degree(const EC_GROUP *);
EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
EC_GROUP_order_bits(const EC_GROUP *group);
EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
void
EC_GROUP_clear_free(EC_GROUP *group);
EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
DESCRIPTION
With the exception of the getters the functions in this manual should not be used. Use EC_GROUP_new_by_curve_name(3) instead.y^2 = x^3 + ax + b
|order*cofactor- (p + 1)| <= 2 sqrt(p)