[#RSA_X931_derive_ex] = RSA_X931_derive_ex :mrdocs: Derive an RSA key from ANSI X9.31 intermediate values (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_X931_derive_ex( xref:RSA.adoc[RSA]* rsa, xref:BIGNUM.adoc[BIGNUM]* p1, xref:BIGNUM.adoc[BIGNUM]* p2, xref:BIGNUM.adoc[BIGNUM]* q1, xref:BIGNUM.adoc[BIGNUM]* q2, xref:BIGNUM.adoc[BIGNUM] const* Xp1, xref:BIGNUM.adoc[BIGNUM] const* Xp2, xref:BIGNUM.adoc[BIGNUM] const* Xp, xref:BIGNUM.adoc[BIGNUM] const* Xq1, xref:BIGNUM.adoc[BIGNUM] const* Xq2, xref:BIGNUM.adoc[BIGNUM] const* Xq, xref:BIGNUM.adoc[BIGNUM] const* e, xref:BN_GENCB.adoc[BN_GENCB]* cb); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *rsa* | Destination RSA object that receives the derived key. | *p1* | Optional output for the first p factor component, or NULL. | *p2* | Optional output for the second p factor component, or NULL. | *q1* | Optional output for the first q factor component, or NULL. | *q2* | Optional output for the second q factor component, or NULL. | *Xp1* | X9.31 Xp1 input value. | *Xp2* | X9.31 Xp2 input value. | *Xp* | X9.31 Xp input value. | *Xq1* | X9.31 Xq1 input value. | *Xq2* | X9.31 Xq2 input value. | *Xq* | X9.31 Xq input value. | *e* | Public exponent. | *cb* | Optional BN_GENCB progress callback, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#