- 06 Apr, 2018 1 commit
-
-
Isis Lovecruft authored
* ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658
-
- 28 Mar, 2018 13 commits
-
-
Nick Mathewson authored
The earlier checks in this function should ensure that components is always nonempty. But in case somebody messes with them in the future, let's add an extra check to make sure we aren't crashing.
-
Nick Mathewson authored
Per discussion on 25055.
-
-
-
-
-
-
-
-
-
-
-
-
- 22 Mar, 2018 1 commit
-
-
- 20 Mar, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Apparently, sometimes getpwnam will call this. Fixes bug 25513.
-
- 19 Mar, 2018 1 commit
-
-
Nick Mathewson authored
These declarations need to exist unconditionally, but they were trapped inside an "#else /* !(defined(HAVE_SYSLOG_H)) */" block. Fixes a travis regression caused by 23881; bug not in any released tor.
-
- 03 Mar, 2018 1 commit
- 02 Mar, 2018 1 commit
-
-
Alex Xu authored
-
- 20 Feb, 2018 3 commits
-
-
Isis Lovecruft authored
* ADD include for "crypto_openssl_mgt.h" so that we have OpenSSL defined SHA* types and functions. * FIXES part of #24658: https://bugs.torproject.org/24658#comment:30
-
Isis Lovecruft authored
* ADD includes for "torint.h" and "container.h" to crypto_digest.h. * ADD includes for "crypto_digest.h" to a couple places in which crypto_digest_t was then missing. * FIXES part of #24658: https://bugs.torproject.org/24658#comment:30
-
Nick Mathewson authored
Folks have found two in the past week or so; we may as well fix the others. Found with: \#!/usr/bin/python3 import re def findMulti(fname): includes = set() with open(fname) as f: for line in f: m = re.match(r'^\s*#\s*include\s+["<](\S+)[>"]', line) if m: inc = m.group(1) if inc in includes: print("{}: {}".format(fname, inc)) includes.add(m.group(1)) import sys for fname in sys.argv[1:]: findMulti(fname)
-
- 18 Feb, 2018 1 commit
-
-
Nick Mathewson authored
Fixes a bug in our zstd-static code. Bug not in any released version of Tor.
-
- 16 Feb, 2018 7 commits
-
-
Fernando Fernandez Mancera authored
We moved the crypto_pk_obselete_* functions into crypto_rsa.[ch] because they fit better with the RSA module. Follows #24658. Signed-off-by:
Fernando Fernandez Mancera <ffmancera@riseup.net>
-
Fernando Fernandez Mancera authored
Follows #24658. Signed-off-by:
Fernando Fernandez Mancera <ffmancera@riseup.net>
-
Nick Mathewson authored
-
Nick Mathewson authored
This is necessary because apparently v3 rendezvous cpath hops use sha3, which I had forgotten. Bugfix on master; bug not in any released Tor.
-
Nick Mathewson authored
Fixes bug 25276; bugfix not in any released Tor.
-
Fernando Fernandez Mancera authored
We moved the crypto_pk_* digest functions into crypto_rsa.[ch] because they fit better with the RSA module. Follows #24658. Signed-off-by:
Fernando Fernandez Mancera <ffmancera@riseup.net>
-
Nick Mathewson authored
Add an autoconf test to make sure we won't regret it. Closes ticket 24484.
-
- 12 Feb, 2018 2 commits
-
-
We don't expect this to come up very much, but we may as well make sure that the value isn't predictable (as we do for the other addresses) in case the issue ever comes up. Spotted by teor.
-
-
- 11 Feb, 2018 2 commits
-
-
Nick Mathewson authored
-
This patch lowers the log-level from warning to info in the cases where we are going to attempt another method as entropy source to hopefully make the user feel less concerned. See: https://bugs.torproject.org/25120
-
- 09 Feb, 2018 1 commit
-
-
Roger Dingledine authored
-
- 08 Feb, 2018 2 commits
-
-
This is a convenience function, so callers don't need to wrap the IPv4 address.
-
We're going to need this to make our anti-DoS code (see 24902) more robust.
-
- 07 Feb, 2018 2 commits
-
-
Roger Dingledine authored
some of these ought to have been noticed by the "misspell" tool, so if anybody is debugging it, here are some bug reports :)
-
Nick Mathewson authored
-