Degenerate curve attacks: extending invalid curve attacks to Edwards curves and other models. (1st May 2018)