[#BN_native2bn] = BN_native2bn :mrdocs: Decode a native‐endian unsigned byte string into a BIGNUM. == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIGNUM.adoc[BIGNUM]* BN_native2bn( unsigned char const* s, int len, xref:BIGNUM.adoc[BIGNUM]* ret); ---- == Return Value Result BIGNUM (same as `ret` when non‐NULL), or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *s* | Input bytes in host endianness. | *len* | Number of bytes at `s.` | *ret* | Optional existing BIGNUM to reuse, or NULL to allocate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#