aboutsummaryrefslogtreecommitdiff
path: root/src/common/di_ops.h
Commit message (Collapse)AuthorAge
* Update the copyright date to 201.Nick Mathewson2013-01-16
|
* Implement a constant-time safe_mem_is_zero.Nick Mathewson2013-01-03
|
* Add a data-invariant linear-search map structureNick Mathewson2013-01-02
| | | | I'm going to use this for looking op keys server-side for ntor.
* Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson2012-06-04
|
* Fixup whitespace issues from 3122 commitNick Mathewson2011-05-15
|
* Hand-conversion and audit phase of memcmp transitionNick Mathewson2011-05-11
| | | | | | | | | | | | | | | | | Here I looked at the results of the automated conversion and cleaned them up as follows: If there was a tor_memcmp or tor_memeq that was in fact "safe"[*] I changed it to a fast_memcmp or fast_memeq. Otherwise if there was a tor_memcmp that could turn into a tor_memneq or tor_memeq, I converted it. This wants close attention. [*] I'm erring on the side of caution here, and leaving some things as tor_memcmp that could in my opinion use the data-dependent fast_memcmp variant.
* Add a data-independent variant of memcmp and a d-i memeq function.Nick Mathewson2011-05-11
The tor_memcmp code is by Robert Ransom, and the tor_memeq code is by me. Both incorporate some ideas from DJB's stuff.