EC_POINTs_mul

Computes r = generator * n + sum_{i=0}^{num-1} p[i]* m[i]

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_POINTs_mul(
    EC_GROUP const* group,
    EC_POINT* r,
    BIGNUM const* n,
    size_t num,
    EC_POINT const* p[],
    BIGNUM const* m[],
    BN_CTX* ctx);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success and 0 if an error occurred

Parameters

NameDescription
groupunderlying EC_GROUP object
rEC_POINT object for the result
nBIGNUM with the multiplier for the group generator (optional)
numnumber further summands
parray of size num of EC_POINT objects
marray of size num of BIGNUM objects
ctxBN_CTX object (optional)