accumulation
accumulation copied to clipboard
Update ark-ff requirement from ^0.2.0 to ^0.4.0
Updates the requirements on ark-ff to permit the latest version.
Changelog
Sourced from ark-ff's changelog.
v0.4.0
Breaking changes
- #300 (
ark-ec) Change the implementation ofHashtrait ofGroupProjectiveto use the affine coordinates.- #302 (
ark-ff) Renamefind_wnaftofind_naf.- #310 (
ark-ec,ark-ff) Remove unnecessary internalPhantomData.- #333 (
ark-poly) Expose more properties ofEvaluationDomains.- #338 (
ark-ec) Add missingUniformRandtrait bound toGroupAffine.- #338 (workspace) Change to Rust 2021 edition.
- #345 (
ark-ec,ark-serialize) Change the serialization format for Twisted Edwards Curves. We now encode the Y coordinate and take the sign bit of the X coordinate, the default flag is also now the Positive X value. The old methods for backwards compatibility are located here- #348 (
ark-ec) Renamemsm:{Fixed,Variable}BaseMSM:multi_scalar_multomsm:{Fixed,Variable}:msmto avoid redundancy.- #359 (
ark-test-templates) Simplify the field and curve test macros.- #365 (
ark-ec)
- Move
COFACTOR,COFACTOR_INV, andis_in_correct_subgroup_assuming_on_curve()from{SW,TE}CurveConfigtoCurveConfig.- Add
mul_bits()toAffineCurveand provide a default implementation ofmul()using this.- Remove duplicate function
scale_by_cofactor()fromshort_weierstrass::GroupAffineandtwisted_edwards_extended::GroupAffine- #370 (all) Set the minimum
rust-version = 1.56in the manifests of all crates.- #379 (
ark-ff) RefactorFieldimplementation andPrimeFieldtrait:
- Switch from hardcoded
FpXYZtoFp<N>based onconstgenerics.- Move Montgomery arithmetic to an optional backend.
- Rename
field_newmacros toMontFp,QuadExtandCubicExtmacros.- Introduce
const fns for generating many constants.- Add default associated constants to reduce boilerplate.
- Rename
Fp*ParameterstoFp*Config.- Add
From<u32>,From<u16>, andFrom<u8>impls forBigInt<N>.- Remove
FftConfig; move its contents toFftField.- #383 (
ark-ff) RenameBigInteger::add_nocarrytoadd_with_carryandsub_noborrowtosub_with_borrow.- #386 (
ark-ff) RemovePrimeField::GENERATOR, since it already exists onFftField.- #393 (
ark-ec,ark-ff) RenameFpXParamstoFpXConfigandFpXParamsWrappertoFpXConfigWrapper.- #396 (
ark-ec) Removemul_bitsfeature, and remove default implementations ofmulandmul_by_cofactor_to_projective.- #408 (
ark-ff) Change the output ofDisplayformatting forBigIntandFpfrom hex to decimal.- #412 (
ark-poly) Rename UV/MVPolynomial to DenseUV/MVPolynomial.- #417 (
ark-ff) RemoveToBytesandFromBytes.- #418 (
ark-ff) Addsums_of_productstoFieldandFp- #422 (
ark-ff) RemoveSquareRootField, and move functionality toField- #425 (
ark-ec) RefactorVariableBasestruct toVariableBaseMSMtrait and implement it forGroupProjective.- #438 (
ark-ec) Rename modules, structs, and traits related toec.
short_weierstrass_jacobian→short_weierstrasstwisted_edwards_extend→twisted_edwardsGroupAffine→AffineGroupProjective→ProjectiveModelParameters→CurveConfigSWModelParameters→SWCurveConfigTEModelParameters→TECurveConfigMontgomeryModelParameters→MontCurveConfig- #440 (
ark-ff) Add a method to construct a field element from an element of the underlying base prime field.- #443, #449 (
ark-ec) Improve ergonomics of scalar multiplication.
- Rename
ProjectiveCurve::mul(AsRef[u64])toProjectiveCurve::mul_bigint(AsRef[u64]).- Bound
ProjectiveCurveby
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)