crypto: shash - Fix has_key setting