Parse a hexadecimal ASCII string into a BIGNUM.
Synopsis
Declared in <openssl/bn.h>
int
BN_hex2bn(
BIGNUM** a,
char const* str);
Return Value
Number of characters consumed from str on success, or 0 on parse error.
Parameters
Name |
Description |
a |
Location of the BIGNUM pointer; allocated if *`a` is NULL. |
str |
Hex digit string; a leading '‐' sets the negative flag. |
Created with MrDocs