[#BN_dec2bn] = BN_dec2bn :mrdocs: Parse a decimal ASCII string into a BIGNUM. == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BN_dec2bn( xref:BIGNUM.adoc[BIGNUM]** a, char const* str); ---- == Return Value Number of characters consumed from `str` on success, or 0 on parse error. == Parameters [cols="1,4"] |=== | Name| Description | *a* | Location of the BIGNUM pointer; allocated if *`a` is NULL. | *str* | Decimal digit string; a leading '‐' sets the negative flag. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#