hashes and curves hardcoded