EC_POINTs_mul

Computes r = generator * n sum_{i=0}^num pi * mi

extern (C) nothrow @nogc
int
EC_POINTs_mul

Parameters

group const(.EC_GROUP)*

underlying EC_GROUP object

r .EC_POINT*

EC_POINT object for the result

n const(libressl_d.openssl.ossl_typ.BIGNUM)*

BIGNUM with the multiplier for the group generator (optional)

num size_t

number futher summands

p const(.EC_POINT)**

array of size num of EC_POINT objects

m const(libressl_d.openssl.ossl_typ.BIGNUM)**

array of size num of BIGNUM objects

ctx libressl_d.openssl.ossl_typ.BN_CTX*

BN_CTX object (optional)

Return Value

Type: int

1 on success and 0 if an error occured

Meta