Set multi-prime RSA factors, exponents, and CRT coefficients (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_set0_multi_prime_params(
RSA* r,
BIGNUM* primes[],
BIGNUM* exps[],
BIGNUM* coeffs[],
int pnum);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| r | RSA key to update. |
| primes | Array of pnum prime factors that r will own. |
| exps | Array of pnum CRT exponents that r will own. |
| coeffs | Array of pnum CRT coefficients that r will own. |
| pnum | Number of additional primes (beyond the classic two-prime case). |