LLFourn / secp256kfun

A pure-rust secp256k1 library optimised for fun
BSD Zero Clause License
101 stars 29 forks source link

Implement subtle traits for core primitives #45

Closed LLFourn closed 2 years ago

LLFourn commented 3 years ago

https://docs.rs/subtle/2.3.0/subtle/

This is needed to fix rather serious constant time violation here: https://github.com/LLFourn/secp256kfun/blob/c124785118e42dff0cf95d0d854812a18673b428/sigma_fun/src/ext/dl_secp256k1_ed25519_eq.rs#L139-L142

LLFourn commented 2 years ago

https://github.com/LLFourn/secp256kfun/pull/57 did what was needed here.