Gleb Kozyrev
2bcd67f568
Declare the use of unstable libstd APIs
2015-02-01 14:56:07 +02:00
Gleb Kozyrev
eb7b7bf847
Change Hasher and HMAC APIs closer to std::hash model
...
- Implement Clone and std::io::Writer.
- Reduce the API to write() and finish(). Contrary to std::hash, finish() resets the hasher immediately.
- Add hmac::hmac() convenience fn.
- Replace hash::evpmd() with HashType methods.
- Add assertions as a crude check for failed calls into openssl.
- Add examples and some tests.
[breaking-change]
2015-01-28 21:51:12 +02:00
Steven Fackler
8fe0633917
Release v0.2.18
2015-01-28 08:48:07 -08:00
Steven Fackler
030cf5fe88
Fix for IO changes
2015-01-28 08:47:16 -08:00
Steven Fackler
cfe9df78fa
Release v0.2.17
2015-01-23 10:22:11 -08:00
Gleb Kozyrev
cb0898df37
Bring ffi definitions closer to the originals
...
Add missing return types and fix imprecise type translations.
Repair the fallout in the openssl crate.
2015-01-21 21:56:56 +02:00
Steven Fackler
1a60bccb6a
Release v0.2.16
2015-01-16 22:31:07 -08:00
Akos Kiss
c49816055a
Fix ffi: `BN_hex2bn` and `BN_dec2bn` shall take `*const c_char` as parameter
...
`c_char` is not `i8` on all platforms
2015-01-12 20:44:59 +00:00
Alex Crichton
9dfeea6ca9
Update to rust master
2015-01-09 08:12:39 -08:00
Steven Fackler
1ba1067430
Release v0.2.13
2015-01-06 08:59:58 -08:00
Chris Cole
63fda80bf7
Merge remote-tracking branch 'upstream/master'
2015-01-05 23:53:23 -05:00
Steven Fackler
3ab2e07618
Release v0.2.12
2015-01-04 08:04:26 -08:00
Chris Cole
fde7fbd03b
Merge remote-tracking branch 'upstream/master'
2015-01-03 19:31:14 -05:00
Steven Fackler
df9a73570d
Release v0.2.11
2015-01-03 08:32:57 -08:00
Steven Fackler
2f24d8e771
Fix deprecation warnings
2015-01-03 08:31:57 -08:00
Chris Cole
2e2fde4b1a
Added BN_add_word, BN_sub_word, BN_mul_word, BN_div_word.
...
Removed BIGNUM_PTR struct.
2015-01-02 18:47:29 -05:00
Chris Cole
077846fdb1
Merge remote-tracking branch 'upstream/master'
2015-01-02 15:43:02 -05:00
Steven Fackler
ef8b8f7ead
Merge pull request #134 from DiamondLovesYou/master
...
OpenSSL-sys: Cfg off target_os instead off feature.
2015-01-02 11:13:11 -05:00
Valerii Hiora
afffffc730
Array syntax fallout
2015-01-02 13:51:26 +02:00
Richard Diamond
8a7e7b67d8
OpenSSL-sys: Cfg off target_os instead off feature.
...
It seems cargo doesn't provide --cfg entries for dep crates after all.
2015-01-02 03:37:35 -06:00
Steven Fackler
d6ee6863b0
Release v0.2.10
2014-12-31 21:16:52 -08:00
Samuel Fredrickson
dfdd4c0e4f
Change to use updated Mutex API in latest Rust master.
2014-12-30 16:39:49 -08:00
Steven Fackler
651a1eab0b
Release v0.2.9
2014-12-29 14:44:48 -08:00
Chris Cole
fa32bc950b
Added Copy impl.
2014-12-23 15:50:29 -05:00
Chris Cole
156fc65eb0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
openssl-sys/src/lib.rs
2014-12-23 15:14:27 -05:00
Steven Fackler
49a72ae921
Release v0.2.8
2014-12-23 11:58:05 -05:00
Steven Fackler
12d31ade9d
Release v0.2.7
2014-12-21 13:36:35 -05:00
Aaron Weiss
e2fa62e2ae
Replaced now removed NativeMutex with StaticMutex, and fixed Neg
...
implementation for BigNum.
2014-12-21 08:52:12 -05:00
Steven Fackler
1392970360
Release v0.2.6
2014-12-19 08:22:08 -08:00
Steven Fackler
88b753d3fe
Merge pull request #119 from glennw/android-static-linking
...
Use static linking on android, which simplifies deployment since loading...
2014-12-16 19:08:44 -05:00
Steven Fackler
ada2398b75
Release v0.2.5
2014-12-16 08:58:07 -08:00
Steven Fackler
1dc66d9486
Release v0.2.4
2014-12-15 09:26:34 -08:00
Chris Cole
38682821ad
Added BigNum::{from_dec_str,from_hex_str}, BN_dec2bn, and BN_hex2bn.
2014-12-14 10:02:18 -05:00
Glenn Watson
4d49abd102
Use static linking on android, which simplifies deployment since loading application specific shared libraries on android requires Java code or other hacks.
2014-12-12 08:05:42 +10:00
Steven Fackler
c1e225563d
Clean up Copy impls a bit
2014-12-11 09:04:27 -08:00
Valerii Hiora
c922090075
Update to nightly: explicit Copy trait
2014-12-11 13:44:37 +02:00
Chris Cole
fb1c815274
Merge remote-tracking branch 'upstream/master'
2014-12-10 22:09:20 -05:00
Chris Cole
33f3c966ac
Added mod_word.
2014-12-10 22:08:32 -05:00
Ummon
6d2f8d67f2
Add the openssl function prototype 'HMAC_CTX_cleanup'.
2014-12-10 22:25:32 +01:00
Steven Fackler
6d6ef3e747
Merge pull request #113 from DiamondLovesYou/nacl-crosses
...
Now that pkg-config 0.1.1 has been published, delegate bailout detection to pkg-config.
2014-12-10 00:23:10 -05:00
Richard Diamond
10e8a8f8e3
Now that pkg-config 0.1.1 has been published, delegate to bailout detection to pkg-config.
...
Also bump version minors for publishing. :)
2014-12-09 23:15:04 -06:00
Steven Fackler
43c9a43e2d
Merge pull request #108 from DiamondLovesYou/nacl-crosses
...
Use locally built libreSSL if targeting NaCl instead of the host's versions.
2014-12-09 02:13:09 -05:00
Richard Diamond
0dff5268de
Add a feature to openssl-sys to cause it to build a local copy of libressl for
...
use instead of whatever pkg-config says (which in the case of crosses, is almost
certainly incorrect). This is for PNaCl.
2014-12-09 00:04:06 -06:00
Manish Goregaokar
31d188e313
Directly substitute $OPENSSL_PATH
2014-12-05 06:43:18 -08:00
Manish Goregaokar
82db54c822
Allow passing in Android paths
2014-12-03 12:49:53 -08:00
Steven Fackler
fd680e8a33
Release v0.2.2
2014-12-01 13:23:43 -08:00
Steven Fackler
ad109a25be
Release 0.2.1
2014-11-28 15:49:12 -08:00
Steven Fackler
08d1f2e629
Drop execute bit on file
2014-11-28 14:04:33 -08:00
Steven Fackler
4bf953bc2b
Bump to 0.2
...
Also removed the PNaCl support. It hasn't worked anyway in a while since
the pnacl-libressl-sys library doesn't have any of the FFI bindings and
makes openssl's Cargo.toml a mess.
This is a minor version bump since Hasher's API changed
2014-11-27 21:35:39 -08:00
Steven Fackler
4e379ec84a
Fix to pkg-config 0.1
2014-11-27 15:37:07 -08:00