Computes r = generator * n + sum_{i=0}^{num-1} p[i]* m[i]
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);
Deprecated. Use of this entity is allowed but discouraged.
1 on success and 0 if an error occurred
| 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) |