summaryrefslogtreecommitdiff
path: root/crypto_scrypt-hexconvert.h
blob: 8175b24f13987b2276b826624eb58198bd4b503b (plain)
1
2
3
4
5
6
7
8
9
#include <stdint.h>

/**
 * Converts a binary string to a hex representation of that string
 * outbuf must have size of at least buf * 2 + 1.
 */
int libscrypt_hexconvert(const uint8_t *buf, size_t s, char *outbuf,
	size_t obs);