[#BN_div_recp] = BN_div_recp :mrdocs: Divide `m` by the reciprocal modulus in `recp,` producing quotient and remainder. == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BN_div_recp( xref:BIGNUM.adoc[BIGNUM]* dv, xref:BIGNUM.adoc[BIGNUM]* rem, xref:BIGNUM.adoc[BIGNUM] const* m, xref:BN_RECP_CTX.adoc[BN_RECP_CTX]* recp, xref:BN_CTX.adoc[BN_CTX]* ctx); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *dv* | Destination for the quotient, or NULL if not required. | *rem* | Destination for the remainder, or NULL if not required. | *m* | Dividend. | *recp* | Reciprocal context previously set up for the divisor. | *ctx* | BN_CTX for temporaries. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#