[#RSA_get0_multi_prime_factors]
= RSA&lowbar;get0&lowbar;multi&lowbar;prime&lowbar;factors
:mrdocs:

Fill `primes` with borrowed pointers to the extra multi&hyphen;prime factors (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
RSA&lowbar;get0&lowbar;multi&lowbar;prime&lowbar;factors(
    xref:RSA.adoc[RSA] const* r,
    xref:BIGNUM.adoc[BIGNUM] const* primes[]);
----

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

1 on success, or 0 if `r` is not multi&hyphen;prime &sol; on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *r*
| RSA key that may have more than two primes&period;
| *primes*
| Array of size RSA&lowbar;get&lowbar;multi&lowbar;prime&lowbar;extra&lowbar;count(`r)` receiving factor pointers (do not free)&period;
|===


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