[#BN_mpi2bn] = BN_mpi2bn :mrdocs: Decode an MPI‐format integer (4‐byte length prefix plus big‐endian content). == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIGNUM.adoc[BIGNUM]* BN_mpi2bn( unsigned char const* s, int len, xref:BIGNUM.adoc[BIGNUM]* ret); ---- == Return Value Result BIGNUM, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *s* | MPI‐encoded input buffer. | *len* | Number of bytes at `s.` | *ret* | Destination BIGNUM to reuse, or NULL to allocate a new one. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#