Computes the sum of two EC_POINT

Synopsis

Declared in <openssl/ec.h>

int
EC_POINT_add(
    EC_GROUP const* group,
    EC_POINT* r,
    EC_POINT const* a,
    EC_POINT const* b,
    BN_CTX* ctx);

Return Value

1 on success and 0 if an error occurred

Parameters

Name

Description

group

underlying EC_GROUP object

r

EC_POINT object for the result (r = a + b)

a

EC_POINT object with the first summand

b

EC_POINT object with the second summand

ctx

BN_CTX object (optional)

Created with MrDocs