Date: Mon, 24 Jun 2013 09:52:14 +0200 From: Alan Barrett <a...@cequrux.com>
I think that the names explicit_memzero() and consttime_memeq() are fine, but I'd expect consttime_memeq() have the opposite polarity from consttime_bcmp(), because it should be answering the question "are they equal?" (1 for true), not "in what order do they compare for sorting?" (0 for equal). Oops, you're right; silly oversight on my part. Will bring this stuff up on tech-userlevel.