[#EC_POINTs_mul]
= EC&lowbar;POINTs&lowbar;mul
:mrdocs:

Computes r &equals; generator &ast; n &plus; sum&lowbar;&lcub;i&equals;0&rcub;&circ;&lcub;num&hyphen;1&rcub; p&lsqb;i&rsqb;&ast; m&lsqb;i&rsqb;

== Synopsis

Declared in `&lt;openssl&sol;ec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
EC&lowbar;POINTs&lowbar;mul(
    xref:EC_GROUP.adoc[EC&lowbar;GROUP] const* group,
    xref:EC_POINT.adoc[EC&lowbar;POINT]* r,
    xref:BIGNUM.adoc[BIGNUM] const* n,
    size&lowbar;t num,
    xref:EC_POINT.adoc[EC&lowbar;POINT] const* p[],
    xref:BIGNUM.adoc[BIGNUM] const* m[],
    xref:BN_CTX.adoc[BN&lowbar;CTX]* ctx);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success and 0 if an error occurred

== Parameters

[cols="1,4"]
|===
| Name| Description
| *group*
| underlying EC&lowbar;GROUP object
| *r*
| EC&lowbar;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&lowbar;POINT objects
| *m*
| array of size num of BIGNUM objects
| *ctx*
| BN&lowbar;CTX object (optional)
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
