Home
last modified time | relevance | path

Searched refs:hex_end (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dcodecs.c16 const char *hex_end; in main() local
26 &hex_end); in main()
29 printf("dt1: %ld\n", (long) (hex_end - hex)); in main()
37 if (sodium_hex2bin(buf1, 1U, hex, 8U, NULL, &bin_len, &hex_end) != -1) { in main()
40 printf("dt2: %ld\n", (long) (hex_end - hex)); in main()
43 if (sodium_hex2bin(buf1, 4U, hex, 12U, ":", &bin_len, &hex_end) != -1) { in main()
48 printf("dt3: %ld\n", (long) (hex_end - hex)); in main()
52 &bin_len, &hex_end) != -1) { in main()
55 printf("dt4: %ld\n", (long) (hex_end - hex)); in main()
59 &bin_len, &hex_end) != -1) { in main()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/sodium/
H A Dcodecs.c44 const char **const hex_end) in sodium_hex2bin() argument
91 if (hex_end != NULL) { in sodium_hex2bin()
92 *hex_end = &hex[hex_pos]; in sodium_hex2bin()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dutils.h65 const char ** const hex_end);