Commit Graph

1274 Commits

Author SHA1 Message Date
Steven Fackler 58ccea26ad Fix cipher_name return value 2019-02-22 12:33:41 -07:00
Steven Fackler 28c0af386f Release openssl v0.10.17 2019-02-22 10:51:35 -07:00
Steven Fackler 4c6af10cbd Release openssl-sys v0.9.41 2019-02-22 10:50:16 -07:00
Steven Fackler 70afbb8393 Add standard ciphername support 2019-02-22 10:33:12 -07:00
Steven Fackler 7eee39f1ec Rustfmt 2019-02-22 10:14:15 -07:00
Ryuichi Okumura 899fc30e9b
Change from EVP_des_ede3_cfb to EVP_des_ede3_cfb64 2019-02-18 19:35:00 +09:00
Ryuichi Okumura 941a69a4d2
Add des_ede3_cfb symm cipher 2019-02-17 22:21:01 +09:00
Steven Fackler 3a170b655b Make Rsa::generate delegate to Rsa::generate_with_e 2019-01-30 09:16:12 -08:00
Steven Fackler e48901e20b
Merge pull request #1054 from Zolmeister/generate-with-e
add Rsa::generate_with_e(bits: u32, e: BigNum)
2019-01-29 18:50:33 -08:00
Zolmeister dd140f5167 add Rsa::generate_with_e(bits: u32, e: BigNum) 2019-01-29 12:00:47 -06:00
Steven Fackler 34755f8a6b ASN1_TIME_from_string_x509 was added in 1.1.1 2019-01-27 13:14:11 -08:00
Steven Fackler 691ce7ca2a Add Asn1Time::from_str and Asn1Time::from_str_x509
Closes #1051
2019-01-27 13:05:03 -08:00
Zolmeister e56e09b6a4 Add RsaRef::check_key 2019-01-18 21:03:04 -06:00
Jonas Schievink 6378eff9db Forward to BigNumRef::to_asn1_integer 2019-01-18 17:58:48 +01:00
Jonas Schievink 4ff5f4486f Add `Asn1Integer::from_bn` 2019-01-18 12:21:39 +01:00
Jonas Schievink b565a0c7eb Implement AsRef<str/[u8]> for OpensslString{Ref} 2019-01-17 14:19:36 +01:00
Steven Fackler 69aa335871 Drop data_encoding dev dependency 2019-01-04 20:50:00 -08:00
PSeitz 1c48c9c456
Update bn.rs 2019-01-04 11:54:36 +01:00
Steven Fackler 57e02abb50 Release openssl v0.10.16 2018-12-16 09:04:07 -08:00
Stacey Ell 800c232c09 Fix cargo dependency documentation
`feature` -> `features`
2018-11-24 13:29:10 -07:00
Steven Fackler 5c7fa43d87 Add bindings to RAND_keep_random_devices_open
Closes #1019
2018-11-22 09:32:50 -07:00
Sameer 38a4dccceb Add new SHAKE128/256 EVP message digest functions in OpenSSL 1.1.1, fixes #1017. 2018-11-21 15:46:03 -05:00
Sameer e0e0a96cb3 Add new SHA3 EVP message digest functions in OpenSSL 1.1.1 2018-11-21 15:31:50 -05:00
Steven Fackler b88778bc76 Release openssl v0.10.15 2018-10-22 09:03:28 -07:00
Steven Fackler 93c67e2f77 Implement DoubleEndedIterator for stack iters 2018-10-22 08:49:24 -07:00
Steven Fackler e2783971ea Release openssl v0.10.14 2018-10-18 20:16:55 -07:00
Steven Fackler 3aecfe5655 Release openssl-sys v0.9.39 2018-10-18 20:11:35 -07:00
Steven Fackler 4256cfbf19 Fix some accidentally-public functions 2018-10-18 11:37:36 -07:00
Steven Fackler 3013d2e93f Release openssl v0.10.13 2018-10-14 16:10:22 -07:00
Steven Fackler d3bb880866 Release openssl-sys 0.9.37 2018-10-14 16:09:17 -07:00
Steven Fackler d52be16cc4
Merge pull request #1005 from samscott89/add-pkcs7-support
Add PKCS7 support
2018-10-10 22:18:46 -07:00
Steven Fackler 04ada473d1 Cleanup 2018-10-10 21:25:29 -07:00
Steven Fackler d2cc0eae2d Move README info into crate root docs
This is more discoverable in the modern Rust world!
2018-10-07 19:59:33 -07:00
Sam Scott 8ae761063c Address comments. 2018-10-02 22:53:03 -04:00
Sam Scott 2dd3736444 Refactor to match style and add documentation. 2018-10-02 17:25:18 -04:00
Jonatan Männchen cd1d1955d9 PKCS7 Support
(Rebased onto latest version)
2018-10-02 17:25:18 -04:00
Mike Belopuhov 18dfc9b6b2 Add support for encoding and decoding ECDSA signatures 2018-09-28 14:43:33 +02:00
Steven Fackler 5894cdfdc5
Fix get session callback
This could previously open up the possibility of a double-free!

Closes #996
2018-09-17 09:30:16 -07:00
Steven Fackler 22231d7547 Support the client hello callback 2018-09-15 13:29:18 -07:00
Steven Fackler a548913e44 Release openssl 0.10.12 2018-09-13 19:23:09 -07:00
李伟 348cb7391b
Fix typo
Fix typo in docs for openssl::rsa::Rsa::from_private_components
2018-09-13 12:39:57 -10:00
Steven Fackler 8c6bc774db Support libressl 2.8.0
Closes #988
2018-09-12 20:44:22 -07:00
Steven Fackler ea18d84de3 clean up example 2018-09-02 14:51:08 -07:00
Steven Fackler 947dfbd143 Small cleanup
Closes #981
2018-09-02 14:26:27 -07:00
Steven Fackler bc4e47a321 Fix lookup errors with SNI callback.
The job of an SNI callback is typically to swap out the context
associated with an SSL depending on the domain the client is trying to
talk to. Typically, only the callbacks associated with the current
context are used, but this is not the case for the SNI callback.

If SNI is run for a second time on a connection (i.e. in a
renegotiation) and the context was replaced with one that didn't itself
register an SNI callback, the old callback would run but wouldn't be
able to find its state in the context's ex data. To work around this, we
pass the pointer to the callback data directly to the callback to make
sure it's always available. It still lives in ex data to handle the
lifetime management.

Closes #979
2018-08-31 20:23:55 -07:00
Steven Fackler 2df87cfd59 Fix doc reference 2018-08-19 20:19:10 -07:00
Steven Fackler ef7721092d SRTP cleanup 2018-08-19 18:50:11 -07:00
Aron Wieck 59c578cf04 Add methods for DTLS/SRTP key handshake 2018-08-14 16:04:33 +02:00
Steven Fackler 1396143c66 Add get_shutdown and set_shutdown 2018-08-08 13:19:55 -07:00
Steven Fackler ef69870ea2 Release openssl 0.10.11 2018-08-04 10:12:12 -07:00