All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
SecretKey::from_slice
now allows >=24-bytes (#1412)hkdf
version is v0.12.1 (#1353)serde_json
version for jwk
feature is v1.0.47 (#1354)tap
version for bits
feature is v1.0.1 (#1355)PublicKey::from_encoded_point
(#1310)alloc
+arithmetic
features w/o sec1
feature (#1301)hex-literal
to v0.4 (#1295)AssociatedAlgorithmIdentifier
for SecretKey
and PublicKey
(#1286)FieldBytesEncoding
provided impl (#1287)SecretKey::from_slice
short input support (#1256)PublicKey::to_sec1_bytes
(#1102)std
feature to sec1
dependency (#1131)NonIdentity
wrapper type (#1176)serde
traits for NonZeroScalar
(#1178)MulByGenerator
trait (#1198)NonZeroScalar::invert_vartime
(#1207)BlindedScalar
type (#1208)point::Double
trait (#1218)FieldBytesEncoding
trait (#1235)Invert::invert_vartime
(#1239)c1
constant in OsswuMapParams
(#1024)Curve::UInt
=> Curve::Uint
(#1191)CurveArithmetic
trait (#1196)SecretKey::to_pem
=> ::to_sec1_pem
(#1202)ScalarCore
to ScalarPrimitive
(#1203)CryptoRngCore
trait (#1206)SecretKey::as_scalar_core
=> ::as_scalar_primitive
(#1228)Reduce::from_bytes_reduced
=> ::reduce_bytes
(#1225, #1229)AffineCoordinates
trait (#1237)dst
s in the hash2curve
API (#1238)serde
feature activate pkcs8
(#1245)impl_field_element!
macro (#1165)der
crate dependency (#1195)AffineArithmetic
, ProjectiveArithmetic
, ScalarArithmetic
traits (#1196)AffinePoint
, ProjectivePoint
, and Scalar
(#1223)Reduce
methods (#1225)Invert
(#1242)arithmetic
+ serde
feature combo (#1066)crypto-bigint
to v0.4.8 (#1039)ecdh::SharedSecret::extract
HKDF helper (#1007)digest
dependency to v0.10 (#883, #904)NonZeroScalar::invert
infallible (#894)ToCompactEncodedPoint
now returns CtOption
(#895)hash2field
into hash2curve
module (#903)ff
and group
dependencies to v0.12 (#994)serdect
crate (#996)AlgorithmParamters
with AssociatedOid
(#1001)crypto-bigint
dependency to v0.4 (#1005)der
dependency to v0.6 (#1006)pkcs8
dependency to v0.9 (#1006)sec1
dependency to v0.3 (#1006)pem-rfc7468
dependency to v0.6 (#1009)Zeroize
impl from ecdh::SharedSecret
(#978)bits
feature on docs.rs due to nightly breakage (#927)bits
, hash2curve
, and voprf
features on docs.rs (#891)ZeroizeOnDrop
on appropriate items (#884)Mul
for NonZeroScalar
* NonZeroScalar
(#857, #862)Reduce::from_*e_digest_reduced
(#869)VoprfParameters
trait (#878)LinearCombination
trait (#835)LinearCombination
trait (#832)ReduceNonZero
trait (#827)pem-rfc7468
dependency to v0.3 (#825)NonZeroScalar::from_uint
(#822)ScalarCore<C>
type (#732)PrimeCurveArithmetic
trait (#739)Reduce
trait (#768)ff
and PrimeField
(#796)Encoding
bound on Curve::UInt
(#806)scalar::IsHigh
trait (#814, #815)Neg
impl for NonZeroScalar<C>
(#816)AffineXCoordinate
trait (#817)serde
support for scalar and PublicKey
types (#818)ff
+ group
to v0.11 (#730)SecretKey::to_jwk_string
self-zeroizing (#742)sec1
crate's EncodedPoint
(#771)FromEncodedPoint
return a CtOption
(#782)crypto-bigint
dependency to v0.3 (#807)sec1
crate for pkcs8
support (#809)spki
dependency to v0.5 release (#810)NonZeroScalar
is now bounded on ScalarArithmetic
instead of ProjectiveArithmetic
(#812)Zeroize
impl on NonZeroScalar
(#785)crypto-bigint
dependency to v0.2.4 (#710)zeroize
dependency to v1.4 and subtle
to v2.4 (#689)rand_core
(#683)crypto-bigint
to v0.2.1 (#673)ConstantTimeEq
impl for NonZeroScalar
(#669)Copy
bounds on PublicKey
(#667)ScalarBytes::from_uint
(#651)dev::ScalarBytes
(#652)ScalarArithmetic
trait (#654)AffineArithmetic
trait (#658)PointCompaction
trait and SEC1 tag support (#659)ff
and group
to v0.10; MSRV 1.51+ (#643)Curve
and Order
traits (#644)crypto-bigint
to represent Curve::ORDER
(#645)FieldSize<C>
from C::UInt
type (#646)ScalarBytes<C>
using C::UInt
(#647)ScalarBytes<C>
the SecretKey<C>
internal repr (#649)crypto-bigint
to v0.2 (#662)pkcs8
to v0.7 (#662)util
module (#648)Ord
and PartialOrd
impls on PublicKey
(#637)subtle
traits on ScalarBytes<C>
(#612)ScalarBytes
type (#610)Order::is_scalar_repr_in_range
(#608)Order
for MockCurve
(#606)Order
trait (#603)pkcs8
imports (#604)pkcs8
dependency to v0.6 (#585)pkcs8
v0.5.1 crate (#556)pkcs8
dependency to v0.5.0 (#549)weierstrass
module (#542)BitView
re-export (#540)sec1::ValidatePublicKey
trait (#485)hazmat
crate feature (#487)Result
alias (#534)ff
and group
crates to v0.9 (#452)pkcs8
crate dependency to v0.4 (#493)nightly
regression (#432)pem
+zeroize
features (#429)dev
module (#419)pkcs8::ToPrivateKey
for SecretKey<C>
(#423)pkcs8::ToPublicKey
for PublicKey<C>
(#427)subtle
dependency to 2.4.0 (#414)pkcs8
dependency to v0.3.3 (#425)der
crate to parse SecretKey
(#422)PublicKey::from_encoded_point
go through PublicKey::from_affine
(#416)nightly
compiler (#412)subtle::ConditionallySelectable
for sec1::EncodedPoint
(#409)sec1::EncodedPoint::identity()
method (#408)sec1::Coordinates::tag
method (#407)pkcs8
crate dependency to v0.3 (#405)PublicKey<C>
is not the identity point (#404)SecretKey::secret_scalar
return NonZeroScalar
(#402)SecretKey::secret_value
(#403)SecretKey::secret_value
always return NonZeroScalar
(#390)pkcs8::FromPublicKey
for PublicKey<C>
(#385)pkcs8::FromPrivateKey
trait for SecretKey<C>
(#381, #383)SecretKey::secret_value()
method (#375)PublicKey<C>
type (#363, #366)PublicKey::from_bytes()
to ::from_sec1_bytes()
(#376)sec1::EncodedPoint
uses Option
instead of subtle::CtOption
(#367)const-oid
to v0.3; MSRV 1.46+ (#365, #381)ecdh
rustdoc (#364)Clone
on SecretBytes
([#330])nightly-2020-10-06
breakage (#328)From<SecretBytes<C>>
for FieldBytes<C>
(#326)SecretBytes
newtype (#324)sec1::EncodedPoint::to_untagged_bytes()
method (#312)sec1::EncodedPoint::decompress
(#309)arithmetic
feature (#293)ff
and group
crates (#287, #291, #292)sec1::Coordinates
(#286)weierstrass::point::Compression
trait (#283, #300)digest
feature and FromDigest
trait (#279)Deref
for NonZeroScalar
(#278)Invert
for NonZeroScalar
(#277)NonZeroScalar::to_bytes
(#276)EncodedPoint::decompress
(#275)sec1::Tag
(#270)weierstrass::point::Decompress
trait (#266)alloc
feature + EncodedPoint::to_bytes()
(#265)Arithmetic
trait to point::ProjectiveArithmetic
(#300)Arithmetic::Scalar
and Arithmetic::AffinePoint
with Scalar<C>
and AffinePoint<C>
(#300)SecretKey<C>
inner type generic (#297)ElementBytes<C>
to FieldBytes<C>
(#296)subtle
version now v2.3 (#290)Curve::ElementSize
to ::FieldSize
(#282)PublicKey
into sec1::EncodedPoint
(#264)Arithmetic
trait (#219)Generate
trait (#220, #226)Curve
trait (#223)Invert
trait (#228)FromPublicKey
trait (#229, #248)zeroize
(#233)NonZeroScalar
type (#241)Generator
trait (#241)weierstrass::PublicKey::compress
method (#243)Clone
on SecretKey
(#244)ScalarBytes
to ElementBytes
(#246)CompressedCurvePoint
/UncompressedCurvePoint
to CompressedPoint
/UncompressedPoint
generic-array
dependency from v0.12 to v0.14Scalar
struct typesecp256r1
(P-256) point compression and decompression