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

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).

Created with MrDocs