convert libwallet to non-openssl hashing functions.