On the one-way function candidate proposed by Goldreich