hash: correctly accept HAVE_CRYPTOPP