RSA_set0_crt_params

Set the CRT parameters on an RSA key, transferring ownership (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_set0_crt_params(
    RSA* r,
    BIGNUM* dmp1,
    BIGNUM* dmq1,
    BIGNUM* iqmp);

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.
dmp1d mod (p-1), or NULL to leave unchanged (once set, may not clear).
dmq1d mod (q-1), or NULL to leave unchanged.
iqmpq^-1 mod p, or NULL to leave unchanged.