Convert a single hexadecimal digit character to its 0–15 value.
Declared in <openssl/crypto.h>
int
OPENSSL_hexchar2int(unsigned char c);
Nibble value 0–15, or -1 if c is not a hex digit.
| Name | Description |
|---|---|
| c | ASCII hex digit ('0'–'9', 'a'–'f', or 'A'–'F'). |