1gnutls_hex2bin(3)                   gnutls                   gnutls_hex2bin(3)
2
3
4

NAME

6       gnutls_hex2bin - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int  gnutls_hex2bin(const  char  *  hex_data,  size_t  hex_size, void *
12       bin_data, size_t * bin_size);
13

ARGUMENTS

15       const char * hex_data
16                   string with data in hex format
17
18       size_t hex_size
19                   size of hex data
20
21       void * bin_data
22                   output array with binary data
23
24       size_t * bin_size
25                   when calling should hold maximum size  of   bin_data  ,  on
26                   return will hold actual length of  bin_data .
27

DESCRIPTION

29       Convert a buffer with hex data to binary data.
30

RETURNS

32       GNUTLS_E_SUCCESS on success, otherwise a negative error code.
33

SINCE

35       2.4.0
36

REPORTING BUGS

38       Report bugs to <bugs@gnutls.org>.
39       Home page: http://www.gnutls.org
40
41
43       Copyright © 2001-2014 Free Software Foundation, Inc..
44       Copying  and  distribution  of this file, with or without modification,
45       are permitted in any medium  without  royalty  provided  the  copyright
46       notice and this notice are preserved.
47

SEE ALSO

49       The  full  documentation  for gnutls is maintained as a Texinfo manual.
50       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
51       visit
52
53       http://www.gnutls.org/manual/
54
55gnutls                              3.3.29                   gnutls_hex2bin(3)
Impressum