RSA_set0_multi_prime_params

Set multi-prime RSA factors, exponents, and CRT coefficients (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_set0_multi_prime_params(
    RSA* r,
    BIGNUM* primes[],
    BIGNUM* exps[],
    BIGNUM* coeffs[],
    int pnum);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
rRSA key to update.
primesArray of pnum prime factors that r will own.
expsArray of pnum CRT exponents that r will own.
coeffsArray of pnum CRT coefficients that r will own.
pnumNumber of additional primes (beyond the classic two-prime case).