[#BN_exp] = BN_exp :mrdocs: Compute r = aˆp (non‐modular exponentiation). == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BN_exp( xref:BIGNUM.adoc[BIGNUM]* r, xref:BIGNUM.adoc[BIGNUM] const* a, xref:BIGNUM.adoc[BIGNUM] const* p, xref:BN_CTX.adoc[BN_CTX]* ctx); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *r* | Result BIGNUM. | *a* | Base. | *p* | Non‐negative exponent. | *ctx* | BN_CTX for temporaries. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#