Commit graph

19 commits

Author SHA1 Message Date
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
Henry de Valence
22f78e227f Merge remote-tracking branch 'isis/master' 2016-12-09 14:57:58 -08:00
Henry de Valence
71bf0d5e53 Remove port of Montgomery conversion from Adam's code
This should be brought back later as part of reworking the compressed
point formats / serialization code.  Right now there's just
"CompressedPoint" which is in the ed25519 format.  Ideally, users should
be able to serialize points to formats used for X25519, for decaf, etc.
and not have to worry too much about the internal model.
2016-12-09 14:49:27 -08:00
Henry de Valence
b5eee15f50 Add additional TODO items 2016-12-09 14:47:35 -08:00
Isis Lovecruft
6b9e2696bd
Merge branch 'release/0.1.3' 2016-12-09 04:19:58 +00:00
Isis Lovecruft
02bbc4eec9
Bump version to 0.1.3 in Cargo.toml. 2016-12-09 02:34:11 +00:00
Isis Lovecruft
0c9d43e82a
Fix another typo in the package description. 2016-12-09 02:13:04 +00:00
Isis Lovecruft
cd4642c57e
Fix typo in package description. 2016-12-09 01:39:55 +00:00
Isis Lovecruft
bf1da4e9cd
Add a crates.io badge. 2016-12-08 22:26:56 +00:00
Isis Lovecruft
f3b29398bc
Add warning, documentation links, and install instructions to the README. 2016-12-08 22:18:57 +00:00
Isis Lovecruft
a14245e3c8
Fix the documentation badge image link. 2016-12-08 22:16:58 +00:00
Isis Lovecruft
6005159f9f
Fix italic/bold fonts in README. 2016-12-08 22:08:29 +00:00
Isis Lovecruft
fb426c2428
Merge branch 'release/0.1.2' 2016-12-08 22:03:17 +00:00
Isis Lovecruft
1047f753d3
Bump version to 0.1.2 in Cargo.toml. 2016-12-08 22:00:30 +00:00
Isis Lovecruft
f7972041ab
Fix a typo in lib.rs module documention. 2016-12-08 21:59:52 +00:00
Isis Lovecruft
171a55e551
Merge branch 'release/0.1.1' 2016-12-08 21:58:54 +00:00
Isis Lovecruft
bedde25a70
Bump the version to 0.1.1 in Cargo.toml. 2016-12-08 21:56:30 +00:00
Isis Lovecruft
8bf730e84c
Use 'license' rather than 'license-file' directive.
If 'license' is used, then crates.io thinks we're using a "non-standard"
license, when, in fact, we are using CC0 (public domain).
2016-12-08 21:54:02 +00:00
Isis Lovecruft
387a56fe2c
Initial commit. 2016-12-08 05:12:00 +00:00