Fixed invalid-curve vulnerability http://safecurves.cr.yp.to/twist.html