curv icon indicating copy to clipboard operation
curv copied to clipboard

constant time comparisons

Open omershlo opened this issue 6 years ago • 3 comments

can be done using https://github.com/dalek-cryptography/subtle as one option. Thanks to Jeremy Rubin.

omershlo avatar Mar 07 '19 12:03 omershlo

I started to do it in multi-party-ecdsa: https://github.com/KZen-networks/multi-party-ecdsa/blob/master/src/protocols/two_party_ecdsa/lindell_2017/party_one.rs#L562

omershlo avatar Mar 18 '19 12:03 omershlo

That line in particular doesn't matter as the functions arguments are all public data :)

JeremyRubin avatar Mar 18 '19 16:03 JeremyRubin

You are right of course, I was just excited to to test the subtle crate. I will leave it there for now to be a code reference . Cheers!

omershlo avatar Mar 18 '19 17:03 omershlo