shrub/pkg/urcrypt/scrypt/crypto_scrypt-hexconvert.h

10 lines
249 B
C

#include <stddef.h>
#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);