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

Name

Description

r

RSA key to update.

dmp1

d mod (p‐1), or NULL to leave unchanged (once set, may not clear).

dmq1

d mod (q‐1), or NULL to leave unchanged.

iqmp

qˆ‐1 mod p, or NULL to leave unchanged.

Created with MrDocs