RSA_X931_derive_ex

Derive an RSA key from ANSI X9.31 intermediate values (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_X931_derive_ex(
    RSA* rsa,
    BIGNUM* p1,
    BIGNUM* p2,
    BIGNUM* q1,
    BIGNUM* q2,
    BIGNUM const* Xp1,
    BIGNUM const* Xp2,
    BIGNUM const* Xp,
    BIGNUM const* Xq1,
    BIGNUM const* Xq2,
    BIGNUM const* Xq,
    BIGNUM const* e,
    BN_GENCB* cb);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
rsaDestination RSA object that receives the derived key.
p1Optional output for the first p factor component, or NULL.
p2Optional output for the second p factor component, or NULL.
q1Optional output for the first q factor component, or NULL.
q2Optional output for the second q factor component, or NULL.
Xp1X9.31 Xp1 input value.
Xp2X9.31 Xp2 input value.
XpX9.31 Xp input value.
Xq1X9.31 Xq1 input value.
Xq2X9.31 Xq2 input value.
XqX9.31 Xq input value.
ePublic exponent.
cbOptional BN_GENCB progress callback, or NULL.