| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update to rust master | Alex Crichton | 2014-12-16 | 1 | -16/+16 |
| | | |||||
| * | Track master: proc removal, tuple indexing | Valerii Hiora | 2014-12-15 | 2 | -2/+2 |
| | | |||||
| * | Clean up Copy impls a bit | Steven Fackler | 2014-12-11 | 1 | -2/+2 |
| | | |||||
| * | Update to nightly: explicit Copy trait | Valerii Hiora | 2014-12-11 | 6 | -3/+14 |
| | | |||||
| * | Add the openssl function prototype 'HMAC_CTX_cleanup'. | Ummon | 2014-12-10 | 1 | -0/+8 |
| | | |||||
| * | Speed up SslStream initialization a bit | Steven Fackler | 2014-12-06 | 1 | -1/+8 |
| | | |||||
| * | Fix doc test and stop doc upload | Steven Fackler | 2014-12-03 | 1 | -4/+4 |
| | | |||||
| * | Make SslStream Cloneable | Steven Fackler | 2014-11-29 | 2 | -7/+18 |
| | | | | | Closes #6 | ||||
| * | Add MaybeSslStream | Steven Fackler | 2014-11-28 | 1 | -1/+73 |
| | | |||||
| * | Hasher: static contract checking, context reuse | Gleb Kozyrev | 2014-11-26 | 1 | -22/+63 |
| | | | | | | | | | | | | | - Store EVP_MD_CTX in a separate struct. - Add with_context() constructor that uses an existing context. - Switch to EVP_Digest(Init|Final)_ex for efficient context reuse. - Make update() borrow &mut self. - Make finalize() consume self. Add finalize_reuse() that also returns the context which can be passed to from_context() constructor for reuse. These changes let the type system prevent illegal calls to update() and finalize(). | ||||
| * | Sync is now part of the standard library | Andor Uhlár | 2014-11-26 | 2 | -2/+1 |
| | | |||||
| * | Allow access to the underlying stream | Steven Fackler | 2014-11-25 | 1 | -0/+9 |
| | | | | | | The use case here is to allow methods like `set_read_timeout` to be called. | ||||
| * | Fix deprecation warning | Steven Fackler | 2014-11-24 | 1 | -2/+1 |
| | | |||||
| * | ssl: add get_peer_certificate() | Cody P Schafer | 2014-11-24 | 1 | -1/+12 |
| | | |||||
| * | sys (and bn): make CRYPTO_free() take a *mut c_void insead of a *const c_char | Cody P Schafer | 2014-11-24 | 1 | -2/+2 |
| | | | | | | | | | | CRYPTO_free() ends up being used for a variety of types of data, not just c_char. And it essentially takes full ownership of the type, making *mut appropriate. With this change it also more closely (exactly) matches the C defintion: void CRYPTO_free(void *ptr); | ||||
| * | Fix negative serials on generated certs | Valerii Hiora | 2014-11-21 | 1 | -1/+15 |
| | | | | | required for compatibility with Go crypto | ||||
| * | Slice syntax fix | Gleb Kozyrev | 2014-11-20 | 1 | -1/+1 |
| | | |||||
| * | Replace an expired cert with a new one to make tests happy | Gleb Kozyrev | 2014-11-20 | 2 | -2/+2 |
| | | |||||
| * | Merge pull request #54 from jmesmon/server | Steven Fackler | 2014-11-19 | 1 | -13/+24 |
| |\ | | | | | Server Support | ||||
| | * | Baseline server support | Cody P Schafer | 2014-11-19 | 1 | -13/+24 |
| | | | | | | | | | | | Allows calling SSL_accept() instead of SSL_connect() when creating an SslStream. | ||||
| * | | Fix test build | Steven Fackler | 2014-11-19 | 4 | -12/+12 |
| |/ | |||||
| * | Remove Zero and One impls | Steven Fackler | 2014-11-17 | 1 | -20/+0 |
| | | |||||
| * | Fixed compilation errors related to namedspaced enums | James Hurst | 2014-11-17 | 9 | -116/+120 |
| | | |||||
| * | Impl Error for SslError | Steven Fackler | 2014-11-16 | 2 | -2/+23 |
| | | |||||
| * | Move AES XTS support to a feature | Steven Fackler | 2014-11-16 | 2 | -1/+8 |
| | | |||||
| * | Add XTS-AES mode | Corey Ford | 2014-11-14 | 1 | -0/+16 |
| | | |||||
| * | New build system | Valerii Hiora | 2014-11-13 | 2 | -484/+1 |
| | | |||||
| * | Merge pull request #89 from pyrho/aes-256-cbc-decrypt-test | Steven Fackler | 2014-11-10 | 1 | -0/+34 |
| |\ | | | | | Aes 256 cbc decrypt test | ||||
| | * | Replaced vector of bytes with bytes string literal for expected output of ↵ | pyrho | 2014-10-28 | 1 | -7/+2 |
| | | | | | | | | | AES_256_CBC deciphering unit test | ||||
| | * | Merge remote-tracking branch 'upstream/master' into aes-256-cbc-decrypt-test | pyrho | 2014-10-28 | 3 | -14/+11 |
| | |\ | |||||
| | * | | AES 256 CBC unit test | pyrho | 2014-10-28 | 1 | -0/+39 |
| | | | | |||||
| * | | | Force linkage of LibreSSL when targeting NaCl OSs. | Richard Diamond | 2014-11-09 | 1 | -0/+3 |
| | | | | |||||
| * | | | Support PNaCl/NaCl. | Richard Diamond | 2014-11-09 | 1 | -14/+20 |
| | | | | |||||
| * | | | Hasher::write(): add basic test | Cody P Schafer | 2014-11-07 | 1 | -0/+13 |
| | | | | |||||
| * | | | crypto/hash: impl Writer for Hasher to allow use of Reader-Writer ↵ | Cody P Schafer | 2014-11-07 | 1 | -0/+8 |
| | | | | | | | | | | | | | convenience functions | ||||
| * | | | Update to work with change in TcpStream api | Cody P Schafer | 2014-11-07 | 1 | -13/+13 |
| | | | | |||||
| * | | | Clean up some warnings | Steven Fackler | 2014-10-31 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge pull request #90 from ebfe/fix-build | Steven Fackler | 2014-10-30 | 8 | -16/+16 |
| |\ \ \ | |_|/ |/| | | fail! -> panic! | ||||
| | * | | fail! -> panic! | Michael Gehring | 2014-10-30 | 8 | -16/+16 |
| | | | | |||||
| * | | | Clean up some BN stuff | Steven Fackler | 2014-10-26 | 3 | -14/+11 |
| | |/ |/| | |||||
| * | | Update doc location | Steven Fackler | 2014-10-26 | 1 | -1/+1 |
| |/ | |||||
| * | Cert loading from PEM & restructuring | Valerii Hiora | 2014-10-15 | 5 | -56/+100 |
| | | | | | | | - Added cert loading - Extracted X509 tests | ||||
| * | Cleaned up BigNum constructors | Valerii Hiora | 2014-10-14 | 1 | -25/+11 |
| | | |||||
| * | Correct init mutexes and locking function | Valerii Hiora | 2014-10-14 | 12 | -23/+46 |
| | | | | | | | | | | `libcrypto` uses locks quite intensively even without SSL. So they should be initialized before everything else to function properly in multi-threaded apps in which SSL operations are absent or delayed. Finishes #79 | ||||
| * | ssl: allow setting cipher list | Cody P Schafer | 2014-10-13 | 2 | -0/+9 |
| | | |||||
| * | Refactor init and error handling code | Jared Roesch | 2014-10-11 | 3 | -21/+43 |
| | | | | | | Move common ffi initialization code to 'ffi::init()' and the initialization of error handling to a a shared location. | ||||
| * | Prepare for s/static/const/ | Alex Crichton | 2014-10-09 | 1 | -88/+88 |
| | | |||||
| * | Merge pull request #75 from kinghajj/change-final-to-finalize | Steven Fackler | 2014-10-09 | 3 | -12/+12 |
| |\ | | | | | "final" is now a reserved word, so change occurrences to "finalize". | ||||
| | * | "final" is now a reserved word, so change occurrences to "finalize". | Samuel Fredrickson | 2014-10-09 | 3 | -12/+12 |
| | | | |||||
| * | | BN_is_zero as a Rust function | Valerii Hiora | 2014-10-09 | 3 | -34/+16 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although wrapping was relatively easy it basically meant that we depend on C compilation which becomes nightmare as soon as multiple platforms are used. I’ve got a huge pain once iOS was involved with 3 device archs and 2 simulator arches to support, not mentioning different set of include and lib flags. So there are 2 different approaches: - continue this way, maintaining all compilation issues like like managing correct flags, providing correct paths and so on. This way our Makefile will grow extremely fast and will actually take more efforts to maintain. - doing it pure Rust way. In this case we provide all the macros expansions inside our wrappers and there should be no other way to access raw data other than through those wrappers. It might be fragile if OpenSSL internal data structures will ever change, but I think (or hope) it is pretty stable and wouldn’t change anytime soon. This PR eliminates `BN_is_zero` at all from public API. It’s functionality is implemented in `BigNum.is_zero` and should be enough. Additional notes: 1. I’ve moved BIGNUM into `bn` so it could access fields directly and keep it as an opaque structure for everyone else 2. I’ve kept empty Makefile as I hope to land `feature-matrix` branch soon and I don’t like merging deleted/added file conflicts. | ||||