- Fix no_std compatibility for crate.#67
- Set
blake2
as dev-dep. #64
- Fix on default-features prop of dusk-bls12_381 dependency #61
- Update canonical to
v0.5
- Add
Serializable
trait to all structures
- Remove manual implementation of
from_bytes
andto_bytes
from all structures
- Change return value of
from_bytes
fromOption
/CtOption
intoResult<Self, Error>
- Update
dusk-bls12_381
to0.4.0
. - Update
rand_core
to0.6
.
- Update
dusk-bls12_381
to0.3.0
. - Export
Fr
asJubJubScalar
- Create no-std compatibility via feature.
- Rename
AffinePoint
toJubJubAffine
- Rename
ExtendedPoint
toJubJubExtended
- Derive
Canon
forExtendedPoint
. - Add
canonical
deps as optional behind a feature flag.
- Derive
Canon
forFr
&AffinePoint
.
- Update dusk-bls12_381 to 0.1.5.
- Use latest subtle & bls12_381 versions.
- Implements #25 Use standard docs.rs documentation engine.
- Implements #31 Generators available as extended points.
- Implements #32 ElGamal encryption scheme.
- Implements #33 no_std as optional feature
- Issue #25 JubJub random function causes stack overflow.
- Fix
dhke
to return an elliptic curve point instead of scalar.
- Fix
GENERATOR_NUMS
value and add tests to check it's correct.
- Add
GENERATOR_NUMS
& export it.
- Export curve-generator.
- Add getters for point coordinates in AffinePoint and ExtendedPoint.
- Implement DHKE functionality.
- Implement random for Fr.
- Implement WNaf for Fr
- Remove the #[no_std] compatibility.
This release now depends on the bls12_381
crate, which exposes the Fq
field type that we re-export.
- The
Fq
andFr
field types now have better constant function support for various operations and constructors. - We no longer depend on the
byteorder
crate. - We've bumped our
rand_core
dev-dependency up to 0.5. - We've removed the
std
andnightly
features. - We've bumped our dependency of
subtle
up to^2.2.1
.
This release switches to subtle 2.1
to bring in the CtOption
type, and also makes a few useful API changes.
- Implemented
Mul<Fr>
forAffineNielsPoint
andExtendedNielsPoint
- Changed
AffinePoint::to_niels()
to be aconst
function so that constant curve points can be constructed without statics. - Implemented
multiply_bits
forAffineNielsPoint
,ExtendedNielsPoint
- Removed
CtOption
and replaced it withCtOption
fromsubtle
crate. - Modified receivers of some methods to reduce stack usage
- Changed various
into_bytes
methods intoto_bytes
Initial release.