Use a constant-time compare #366

Closed
sarah wants to merge 1 commits from soatok/cwtch:master into master
Owner
No description provided.
sarah self-assigned this 2021-06-12 21:46:00 +00:00
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/203
sarah reviewed 2021-06-12 21:47:43 +00:00
@ -41,3 +42,1 @@
if a[i] != b[i] {
return false
}
d := d | (a[i] ^ b[i])
Author
Owner

isn't d going to be shadowed here? (should be = instead of := I think)

isn't d going to be shadowed here? (should be `=` instead of `:=` I think)
Author
Owner

This section was clarified in: a3665af870

This section was clarified in: https://git.openprivacy.ca/cwtch.im/cwtch/commit/a3665af87072fe513299e4cfa33cbcd9b0f11699
sarah closed this pull request 2021-06-28 23:55:20 +00:00
Some checks failed
continuous-integration/drone/pr Build is failing

Pull request closed

Sign in to join this conversation.
No description provided.