EC_POINT_mul

Computes r = generator * n + q * m

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)

q const(.EC_POINT)*

EC_POINT object with the first factor of the second summand

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

BIGNUM with the second factor of the second summand

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