diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-05-09 18:39:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-11 16:12:33 -0400 |
commit | 4b19730c8234de3587bd50256fcb11660fb07388 (patch) | |
tree | 01a606ed8b66ea94ec482395b09c16762b9bc91a /changes | |
parent | 8a36f2125137dc31a0771a8eeac0f2bb8c1343d0 (diff) | |
download | tor-4b19730c8234de3587bd50256fcb11660fb07388.tar.gz tor-4b19730c8234de3587bd50256fcb11660fb07388.zip |
Add a data-independent variant of memcmp and a d-i memeq function.
The tor_memcmp code is by Robert Ransom, and the tor_memeq code is
by me. Both incorporate some ideas from DJB's stuff.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug3122_memcmp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/bug3122_memcmp b/changes/bug3122_memcmp new file mode 100644 index 0000000000..a049476743 --- /dev/null +++ b/changes/bug3122_memcmp @@ -0,0 +1,7 @@ + o Security fixes + - Replace all potentially sensitive memory comparison operations + with versions whose runtime does not depend on the data being + compared. This will help resist a class of attacks where an + adversary can use variations in timing information to learn + sensitive data. Fix for one case of bug 3122. (Safe memcmp + implementation by Robert Ransom based partially on code by DJB.) |