Conversation
Previously we ignored the top 3 bits and reduced otherwise. RFC 9496 allows this, see section 4.4, but advises rejecting all but canonical scalars. Adjust behaviour accordingly.
|
You still have to press approve, @lukevalenta |
|
Just flagging: the dependency on https://github.com/bwesterb/go-ristretto seems to go a little against CIRCL's conventions of being self-contained except for golang.org/x/crypto. Perhaps worth folding the implementation in here at some point. Also, do we need to bump the dep version in https://github.com/cloudflare/circl/blob/main/go.mod#L6 to 1.2.4? |
Yeah, Armando was a bit pragmatic when adding it.
Maybe. Not sure it's really worth the investment though.
It's already bumped, no? Also, you still need to press approve. |
D'oh yes 🤦 |
Previously we ignored the top 3 bits and reduced otherwise. RFC 9496 allows this, see section 4.4, but advises rejecting all but canonical scalars. Adjust behaviour accordingly.