otrv4 / libgoldilocks

An implementation of Mike Hamburg's Ed448 (Goldilocks) curve - derived from libdecaf. This is a mirror of https://bugs.otr.im/otrv4/libgoldilocks
Other
18 stars 6 forks source link

Check imagine twist on point_eq #2

Closed olabini closed 6 years ago

olabini commented 6 years ago

On decaf.c, there seems to be an unreachable case regarding the Imagine Twist flag. This might be something to change on libdecaf too.

Should be reported to Mike Hamburg

claucece commented 6 years ago

Seems like it can be safely removed, as per d678c9394f4af00c92fadd5eaba872b448b41fe6. Only a comparison by the cofactor is kept.