Commit graph

57 commits

Author SHA1 Message Date
Isis Lovecruft
cb98a23230
Change Cargo.toml to use subtle-0.3.0. 2017-10-05 00:51:42 +00:00
Isis Lovecruft
49f8781681
Revert "Use subtle branch with ConditionallySwappable trait for now."
This reverts commit d86fcd4e17.
2017-10-05 00:49:49 +00:00
Isis Lovecruft
d86fcd4e17
Use subtle branch with ConditionallySwappable trait for now. 2017-09-14 04:55:12 +00:00
Isis Lovecruft
f1a1886d96
Bump dalek to 0.11.0. 2017-08-15 04:53:28 +00:00
Isis Lovecruft
911b71ae27
Bump arrayref to 0.3.4. 2017-08-15 04:47:19 +00:00
Isis Lovecruft
cbf3f6d8c2
Bump dalek version to 0.10.0. 2017-08-01 03:02:47 +00:00
Isis Lovecruft
2c86589939
Merge remote-tracking branch 'hdevalence/feature/fix-licence' into develop 2017-08-01 02:45:17 +00:00
Isis Lovecruft
f2883028dc
Use subtle version 0.2.0.
* CLOSES PR#66 https://github.com/isislovecruft/curve25519-dalek/pull/66
2017-08-01 02:22:43 +00:00
Henry de Valence
4060059b40 Fix licence 2017-07-31 19:08:30 -07:00
Isis Lovecruft
1388f91925
Bump curve25519-dalek version to 0.9.3. 2017-07-31 19:40:17 +00:00
Isis Lovecruft
beb15b8807
Bump curve25519-dalek version to 0.9.2. 2017-06-27 20:47:45 +00:00
Tony Arcieri
bdcfc30fe8 Only pull in subtle's std feature if "std" is enabled
Otherwise subtle implicitly pulls in std because it's a default feature
2017-06-27 11:04:45 -07:00
Isis Lovecruft
8374fa3000
Bump generic-array version to ^0.8. 2017-06-26 20:31:37 +00:00
Isis Lovecruft
d7b3329780
Bump curve25519-dalek version to 0.9.1. 2017-06-26 20:27:22 +00:00
Isis Lovecruft
493786db35
Merge remote-tracking branch 'doomrobo/patch-1' into develop 2017-06-26 20:21:32 +00:00
Isis Lovecruft
4e63cbfe4c
Merge remote-tracking branch 'chain/no_std-fix' into develop 2017-06-26 20:14:38 +00:00
Michael Rosenberg
74b80b227e Update sha2 and digest deps 2017-06-26 10:20:07 -04:00
Tony Arcieri
d9742c2367 Switch from libcollections to liballoc (gated on an "alloc" feature)
libcollections was recently merged into liballoc:

https://github.com/rust-lang/rust/pull/42648

I went ahead and also added an "alloc" feature which no_std users can use to opt
into liballoc features (i.e. any code using Vec). This should have no effect on
anything but no_std usage. It does make it possible for people without
allocators to use curve25519-dalek if they want though. Might be nice for
"bare metal" development.

All that said, from what I can gather liballoc, while not "stable", should
likely stick around for the forseeable future.

Some backstory on the liballoc/libcollections merge here:

https://github.com/rust-lang/rust/pull/42565
2017-06-19 16:59:45 -07:00
Isis Lovecruft
4bcf8bed9d
Move subtle to its own crate. 2017-05-31 21:20:56 +00:00
Isis Lovecruft
4ecf6ab326
Implement constant-time selection between two things. 2017-05-31 01:29:59 +00:00
Isis Lovecruft
4d6e5e304c
Bump curve25519-dalek version to 0.9.0. 2017-05-26 20:14:18 +00:00
Isis Lovecruft
38e539d469
Bump curve25519-dalek version to 0.8.1. 2017-05-19 23:07:55 +00:00
Isis Lovecruft
562318d4b8
Bump curve25519-dalek version to 0.8.0. 2017-05-18 06:26:23 +00:00
Henry de Valence
69fd268aa4 Make serde an optional feature 2017-05-15 22:40:09 -07:00
Henry de Valence
7c32271346 Initial work on Serde support 2017-05-15 22:37:50 -07:00
Isis Lovecruft
f9a5915651
Bump curve25519-dalek version to 0.7.1. 2017-05-15 03:24:11 +00:00
Isis Lovecruft
1b3422c37d
Bump the version to 0.7.0. 2017-05-14 09:39:13 +00:00
Henry de Valence
127169c151 Remove boxes 2017-05-03 19:32:30 -07:00
Henry de Valence
b6a71304c8 Bump version 2017-03-14 01:53:05 -07:00
Isis Lovecruft
6991b4264b
Merge remote-tracking branch 'hdevalence/feature/64bit-multiplication_r3' into develop 2017-03-14 04:23:11 +00:00
Isis Lovecruft
58c60526da
Add a Travis badge to the Cargo.toml package. 2017-03-14 03:38:13 +00:00
Isis Lovecruft
3cfaf0cf6d
Merge branch 'feature/generic-basepoint_r3' into develop 2017-03-14 03:26:51 +00:00
Isis Lovecruft
f6930997d2
Make #[feature(test)] depend on #[cfg(all(test, feature = "bench"))].
* FIXES Issue #38:
   https://github.com/isislovecruft/curve25519-dalek/pull/38
2017-03-14 01:59:08 +00:00
Henry de Valence
cf9f9aa402 Enable radix_51 on nightly 2017-03-13 17:04:37 -07:00
Henry de Valence
a884260341 Add radix_51 and radix_25_5 features and start feature-gating 2017-03-13 16:38:05 -07:00
Henry de Valence
2610ab872a Feature-gate basepoint table creation on a nightly feature 2017-03-13 16:28:52 -07:00
Henry de Valence
a93798d209 Add a function to hash a byte slice to a scalar. 2017-02-27 11:19:06 -08:00
Isis Lovecruft
f8139da0b6
We're not so yolo that we're not gonna test. Test yolocrypto by default. 2017-02-22 22:47:55 +00:00
Isis Lovecruft
f0c43ce798
Bump version to 0.5.0. 2017-02-22 22:25:13 +00:00
Isis Lovecruft
74feb0db75
Merge remote-tracking branch 'hdevalence/feature/decaf_r15' into develop 2017-02-22 05:30:18 +00:00
Isis Lovecruft
f168e6c70a
Point to the github repo since that's where issues are. 2017-02-21 21:53:06 +00:00
Henry & Isis
c2bee88c0f Add a feature gate for unfinished implementations. 2017-02-21 13:39:01 -08:00
Isis Lovecruft
78701d5441
Bump version to 0.4.0. 2017-02-21 20:59:17 +00:00
Isis Lovecruft
1dac334b84
Whitespace fix. 2017-02-21 20:59:04 +00:00
Isis Lovecruft
90cbe8b0e0
Merge remote-tracking branch 'tarcieri/categories' into develop 2017-02-20 02:00:35 +00:00
Tony Arcieri
90baaba591 Add "cryptography" and "no-std" categories 2017-02-14 08:34:24 -08:00
Isis Lovecruft
7d434f2d37
Bump curve25519-dalek version to 0.3.0 in Cargo.toml. 2017-01-27 02:23:10 +00:00
Tony Arcieri
d08bc7395e Add #![no_std] (fixes #16)
Use ::core in lieu of ::std, allowing this crate to be usable in #![no_std]
environments.

Gates features that presently depend on ::std (presently just rand) behind a
"std" cargo feature, which is enabled by default.
2017-01-18 15:16:01 -08:00
Isis Lovecruft
226f5c7019
Update version to 0.2.0 in Cargo.toml. 2016-12-14 05:02:36 +00:00
Henry de Valence
d8476fe6cf Add a Scalar::random() constructor
This adds a dependency on the `rand` crate, used to construct an
OS-backed CSPRNG.  The implementation in this commit is somewhat
inefficient as it constructs a new OsRng object every time; it might be
better to construct it once.  (Seems like a lot of overhead for a few
getrandom(2) calls...)
2016-12-09 17:38:51 -08:00