Home | History | Annotate | Download | only in default

Lines Matching defs:hex

105     char              *hex;
170 hex = (char *) sodium_malloc(192 * 2 + 1);
171 sodium_bin2hex(hex, 192 * 2 + 1, out, 192);
172 printf("%s\n", hex);
178 sodium_free(hex);
302 char hex[65];
399 sodium_bin2hex(hex, sizeof hex, pk, crypto_box_curve25519xchacha20poly1305_PUBLICKEYBYTES);
400 assert(strcmp(hex, "4701d08488451f545a409fb58ae3e58581ca40ac3f7f114698cd71deac73ca01") == 0);
401 sodium_bin2hex(hex, sizeof hex, sk, crypto_box_curve25519xchacha20poly1305_SECRETKEYBYTES);
402 assert(strcmp(hex, "3d94eea49c580aef816935762be049559d6d1440dede12e6a125f1841fff8e6f") == 0);