Commit Graph

126 Commits

Author SHA1 Message Date
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
Richard Diamond 93c6c867e0 Don't forget to bump the openssl-sys dep version! 2014-12-10 00:04:21 -06: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 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 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 f1e37f477c Fix windows dependencies 2014-11-27 21:25:19 -08:00
Steven Fackler 74171f6bd0 Add openssl-sys dependency on windows 2014-11-27 20:03:19 -08:00
Steven Fackler d1a733dfaa Bump to 0.1.1 2014-11-26 08:49:50 -08:00
Steven Fackler 525394d308 Bump to 0.1.0 2014-11-25 16:46:57 -08:00
Steven Fackler b7c88101f5 Add more crate metadata 2014-11-22 15:46:11 -08:00
Steven Fackler 178d0f0c8e Update stuff for upload to registry 2014-11-22 14:57:13 -08:00
Steven Fackler b084ddc7b0 Add license and description 2014-11-21 22:21:37 -08:00
Steven Fackler 5258ce6ece Move AES XTS support to a feature 2014-11-16 14:01:24 -08:00
Valerii Hiora b60d140d3d New build system 2014-11-13 15:17:00 +02:00
Steven Fackler 1f1c30dd3a Bump to 0.0.1 2014-11-11 00:30:50 -06:00
Richard Diamond 019e47020a Support PNaCl/NaCl. 2014-11-09 23:07:59 -06:00
Richard Diamond f32940294d Add overrideable platform ssl. 2014-11-08 23:15:19 -06:00
Valerii Hiora 59b843517d BN_is_zero as a Rust function
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.
2014-10-09 19:25:07 +03:00
Jonathan Reem c22b3c5063 Add a dummy bn_is_zero C dependency to wrap BN_is_zero
This is necessary because on some architectures BN_is_zero
is a CPP macro, so trying to link against it in an `extern "C"`
block causes a linker error.

This also introduces a build command to Cargo to compile
the bn_is_zero wrapper.
2014-10-04 18:18:02 -07:00
Valerii Hiora 4c1edcf4c8 TLS 1_1, 1_2, Ssl 2 is enabled by features 2014-09-23 18:29:43 +03:00
Steven Fackler 182ec4a6e7 cargo update 2014-08-16 14:27:31 -07:00
Steven Fackler 203bdd076e Shift directory structure 2014-08-03 19:16:09 -07:00
Steven Fackler bfd8fa2d4c Drop to version 0.0.0 2014-06-25 22:10:50 -07:00
Alex Crichton a92b102add Add a Cargo.toml configuration 2014-06-25 07:18:17 -07:00