RSA_get0_multi_prime_factors

Fill primes with borrowed pointers to the extra multi-prime factors (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_get0_multi_prime_factors(
    RSA const* r,
    BIGNUM const* primes[]);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 if r is not multi-prime / on error.

Parameters

NameDescription
rRSA key that may have more than two primes.
primesArray of size RSA_get_multi_prime_extra_count(r) receiving factor pointers (do not free).