Home | History | Annotate | Download | only in default

Lines Matching refs:sodium_hex2bin

25     sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len,
32 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len, NULL);
37 if (sodium_hex2bin(buf1, 1U, hex, 8U, NULL, &bin_len, &hex_end) != -1) {
38 printf("sodium_hex2bin() overflow not detected\n");
43 if (sodium_hex2bin(buf1, 4U, hex, 12U, ":", &bin_len, &hex_end) != -1) {
45 "sodium_hex2bin() with an odd input length and a short output "
51 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":",
53 printf("sodium_hex2bin() with an odd input length\n");
58 if (sodium_hex2bin(buf1, sizeof buf1, hex, 13U, ":",
60 printf("sodium_hex2bin() with an odd input length (2)\n");
65 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":",
67 printf("sodium_hex2bin() with an odd input length and no end pointer\n");
71 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":",
73 printf("sodium_hex2bin() with an extra character and an end pointer\n");
78 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":",
80 printf("sodium_hex2bin() with an extra character and no end pointer\n");