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

Name

Description

group

underlying EC_GROUP object

r

EC_POINT object for the result

n

BIGNUM with the multiplier for the group generator (optional)

num

number further summands

p

array of size num of EC_POINT objects

m

array of size num of BIGNUM objects

ctx

BN_CTX object (optional)

Created with MrDocs