Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
EC_POINT_add, EC_POINT_dbl, EC_POINT_invert, EC_POINT_is_at_infinity, EC_POINT_is_on_curve, EC_POINT_cmp, EC_POINT_make_affine, EC_POINTs_make_affine, EC_POINTs_mul, EC_POINT_mul, EC_GROUP_precompute_mult, EC_GROUP_have_precompute_mult — perform mathematical operations and tests on EC_POINT objectsSYNOPSIS
#include <openssl/ec.h>#include <openssl/bn.h>
EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx);
EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx);
EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx);
EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p);
EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx);
EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx);
EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx);
EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx);
EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx);
EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
EC_GROUP_have_precompute_mult(const EC_GROUP *group);
DESCRIPTION
These functions operate on EC_POINT objects created by EC_POINT_new(3).generator * n + q * m
q * m.
generator * n + q[0] * m[0].
generator * n.