set_hex
static int set_hex(const char *in, unsigned char *out, int size);
if (hsalt != NULL && !set_hex(hsalt, salt, saltlen)) {
} else if (!set_hex(hiv, iv, siz)) {
if (!set_hex(hkey, key, EVP_CIPHER_get_key_length(cipher))) {