Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-21 | Extract tortls structures into a new header; clean up a little | Nick Mathewson | |
2018-08-21 | Split X509 code out of tortls.c | Nick Mathewson | |
2018-08-21 | The RSA_free in this test is no longer needed or wanted | Nick Mathewson | |
2018-08-21 | Implement RSA for NSS. | Nick Mathewson | |
2018-08-21 | Also reinitialize the pregenerated keys postfork. | Nick Mathewson | |
2018-08-21 | Refactor crypto_rsa to use pem module. | Nick Mathewson | |
This cleans up a lot of junk from crypto_rsa_openssl, and will save us duplicated code in crypto_rsa_nss (when it exists). (Actually, it already exists, but I am going to use git rebase so that this commit precedes the creation of crypto_rsa_nss.) | |||
2018-08-21 | Add rudimentary support for PEM-encoding, since NSS doesn't do that. | Nick Mathewson | |
2018-08-21 | Use a constant for "65537" | Nick Mathewson | |
2018-08-21 | Rename openssl-bridging functions in crypto_rsa | Nick Mathewson | |
These functions exist only to expose RSA keys to other places in Tor that use OpenSSL; let's be specific about their purpose. | |||
2018-08-21 | Remove a redundant function. | Nick Mathewson | |
2018-08-21 | Rename functions that encode/decode private keys | Nick Mathewson | |
It is not nice to expose a private key's contents without having the function name advertise the fact. Fortunately, we weren't misusing these yet. | |||
2018-08-21 | Extract openssl RSA functionality into its own file. | Nick Mathewson | |
2018-08-14 | Adjust windows stubs for new start/finish_daemon() return types | Nick Mathewson | |
2018-08-08 | Call crypto_postfork on start_daemon() instead. | Nick Mathewson | |
2018-08-08 | Make finish_daemon() return a boolean to say whether it did anything. | Nick Mathewson | |
2018-08-08 | When RunAsDaemon is set, crypto_postfork() as needed | Nick Mathewson | |
2018-08-02 | Suppress strict-prototypes warning in crypto_nss_mgt.c | Nick Mathewson | |
2018-08-02 | Fix double-link of crypto_openssl_mgt.c | Nick Mathewson | |
2018-08-02 | Add a cast to make clang happier. | Nick Mathewson | |
2018-07-31 | Fix issues with crypto_ope compilation now that crypto.h is gone | Nick Mathewson | |
2018-07-31 | Merge branch 'nss_dh_squashed' into nss_dh_squashed_merged | Nick Mathewson | |
2018-07-31 | Only link crypto_dh_openssl.c once | Nick Mathewson | |
(We do this unconditionally, since we still need it for tortls.c) | |||
2018-07-31 | Additional tests for NSS DH | Nick Mathewson | |
Notably, there's a test to make sure that it round-trips with OpenSSL, if OpenSSL is enabled. | |||
2018-07-31 | Implement DH in NSS. | Nick Mathewson | |
2018-07-31 | Refactor the dependency between tortls and crypto_dh. | Nick Mathewson | |
We only ever need this to get us a DH ephemeral key object, so make a function that does just that. | |||
2018-07-31 | Extract the shared part of crypto_dh_compute_secret. | Nick Mathewson | |
2018-07-31 | Extract the OpenSSL DH functionality to a new file. | Nick Mathewson | |
2018-07-31 | Make the rust tests link. | Nick Mathewson | |
2018-07-31 | Fix "make distcheck." | Nick Mathewson | |
2018-07-31 | Use NSS for AES_CTR. | Nick Mathewson | |
2018-07-31 | Use NSS in crypto_rand.c | Nick Mathewson | |
This is comparatively straightforward too, except for a couple of twists: * For as long as we're building with two crypto libraries, we want to seed _both_ their RNGs, and use _both_ their RNGs to improve the output of crypto_strongest_rand() * The NSS prng will sometimes refuse to generate huge outputs. When it does, we stretch the output with SHAKE. We only need this for the tests. | |||
2018-07-31 | Make sure NSS is initialized before running benchmarks | Nick Mathewson | |
2018-07-31 | Use NSS's digest code in Tor. | Nick Mathewson | |
This was a fairly straightforward port, once I realized which layer I should be calling into. | |||
2018-07-31 | Merge remote-tracking branch 'teor/bug26986' | Nick Mathewson | |
2018-07-30 | fix wrong word in comment | Roger Dingledine | |
2018-07-31 | Use Windows-compatible format strings in tor-print-ed-signing-cert.c | teor | |
Fixes bug 26986; bugfix on master. | |||
2018-07-31 | Add TOR_PRIdSZ to torint.h | teor | |
2018-07-30 | Remove a now-obsolete comment about deadcode_dummy__ | Nick Mathewson | |
2018-07-30 | Merge branch 'ticket26890' | Nick Mathewson | |
2018-07-30 | Merge remote-tracking branch 'teor/bug26627_033_merged_master' | Nick Mathewson | |
2018-07-30 | Update include in tor-print-ed-signing-cert | Nick Mathewson | |
2018-07-30 | Merge remote-tracking branch 'rl1987/feature19506_3' | Nick Mathewson | |
2018-07-30 | Merge remote-tracking branch 'rl1987/ticket21349_4' | Nick Mathewson | |
2018-07-30 | Merge remote-tracking branch 'teor/bug26924' | Nick Mathewson | |
2018-07-30 | Merge remote-tracking branch 'juga/ticket3723_03_squashed_rebased' | Nick Mathewson | |
2018-07-30 | Merge remote-tracking branch 'rl1987/bug26892_take2' | Nick Mathewson | |
2018-07-30 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-07-30 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-07-30 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-07-26 | Don't disable an unsupported compiler warning | Taylor Yu | |
Conditionalize the pragma that temporarily disables -Wunused-const-variable. Some versions of gcc don't support it. We need to do this because of an apparent bug in some libzstd headers. Fixes bug 26785; bugfix on 0.3.2.11. |