![]() |
![]()
| ![]() |
![]()
NAMEgnutls_hex_decode - API function SYNOPSIS#include <gnutls/gnutls.h> int gnutls_hex_decode(const gnutls_datum_t * hex_data, void * result, size_t * result_size); ARGUMENTS
DESCRIPTIONThis function will decode the given encoded data, using the hex encoding used by PSK password files. Initially result_size must hold the maximum size available
in
RETURNSGNUTLS_E_SHORT_MEMORY_BUFFER if the buffer given is not long enough, GNUTLS_E_PARSING_ERROR on invalid hex data, or 0 on success. REPORTING BUGSReport bugs to <bugs@gnutls.org>.
COPYRIGHTCopyright © 2001-2023 Free Software Foundation, Inc., and
others.
SEE ALSOThe full documentation for gnutls is maintained as a Texinfo manual. If the /usr/local/share/doc/gnutls/ directory does not contain the HTML form visit
|