Fill primes with borrowed pointers to the extra multi-prime factors (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_get0_multi_prime_factors(
RSA const* r,
BIGNUM const* primes[]);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 if r is not multi-prime / on error.
| Name | Description |
|---|---|
| r | RSA key that may have more than two primes. |
| primes | Array of size RSA_get_multi_prime_extra_count(r) receiving factor pointers (do not free). |