solv_hex2bin
if (l > sizeof(buf) || solv_hex2bin(&str, buf, l) != l)
extern int solv_hex2bin(const char **strp, unsigned char *buf, int bufl);