Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
TryFrom<&[u8]>bound onEncoding::Repr(#261)Uintfunctionality:bitand_limb(#322),gcd(#472),from_str_radix_vartime(#603),to_string_radix_vartime(#659)MulMod(#313),Div/Rem(#720)BoxedUintfunctionality:sbb/wrapping_sub/checked_sub(#303),mul(#306),from_be_slice/from_le_slice(#307),to_be_bytes/to_le_bytes(#308),bits(#328),conditional_select(#329),shl_vartime(#330),shr_vartime(#331),rem_vartime(#332),inv_mod2k/bitor(#334),pow(#337),inv_mod(#341),random(#349),cond_map/cond_and_then(#352),map_limbs(#357),div_rem/rem(#398),new_with_arc(#407),gcd(#497),from_str_radix_vartime(#603),to_string_radix_vartime(#659)BitAnd*(#314),ConstantTimeGreater/Less/PartialOrd/Ord(#316),AddMod(#317),SubMod(#320),Hash/BoxedUint(#350),MulMod/BoxedUint(#343),RandomMod(#349),Rem(#356),BitNot/BitXor(#358),CheckedMul/Mul(#361),NegMod(#362),Div(#366),Integer(#367)FixedInteger(#363),CheckedDiv(#369),WideningMul(#371),ConstantTimeSelect(#454),SquareAssign(#431),Gcd(#499),DivRemLimb/RemLimb(#496),InvMod(#505, #741),SquareRoot(#508),BitOperations(#507),ShrVartime/ShlVartime(#509),RandomBits(#510),RemMixed(#746)num-traitsimpls:Wrapping*(#425),Zero/One(#433),ConstZero(#573),Num(#720)ZeroizeforNonZerowrapper (#406)Zero::set_zeromethod (#426)Inverter/PrecomputeInvertertraits (#438, #444)const fnencoders (#453)Integer::Montyassociated typeMontytrait with arithmetic bounds and an associatedMonty::IntegertypeOddwrapper type (#487)NonZero::new_unwrap(#602)UintandBoxedUint(#649)impl_modulus!(#676)core::error::Errorsupport (#680)Inttype providing initial signed integer support using two's complement (#695, #730)Changed
modularmodule now contains all modular functionality (#300, #324)Integertrait: expand bounds to include*Mod(#318),Add/Sub/Mul(#435),RemAssign(#709),AddAssign/MulAssign/SubAssign(#716)Integertrait: add new methodsbits(_vartime)/leading_zeros(#368),from_limb_like/one_like/zero_like` (#533)BoxedUint::newwith::zero_with_precision(#327)Zerotrait intoZero+ZeroConstant(#335)Integertrait; addConstants/LimbsConstant(#355)Boundedtrait subsumesBITS/BYTESConstantsprovidesONEandMAXLimbsConstantprovidesLIMBSBoxedUint::mul_widetomul(#359)bits_precisionwhen creatingBoxedUint(#365)u32for shifts and bit counts (#373)core/stdon overflow behavior for bit shifts (#395)inv_mod2k(_vartime)return aCtChoice(#416)CtChoicetoConstChoice(#417)NonZero-wrapped divisors (#419)core/stdonoverflowing_sh*for functions which return an overflow flag (#430)Uint: renameHLIMBStoRHS_LIMBS(#432)Checked*traits in line withWrapping*(#434)*Residue*types i.e. Montgomery form representations (#485):Residue->ConstMontyFormDynResidue->MontyFormBoxedResidue->BoxedMontyForm*ResidueParams->*MontyParamsresidue_params->paramsparams.r->params.oneMonty::new_params()take anOdd-wrapped modulus (#488)Uintsupport forconst fn:square(#514),widening_mul(#515),to_le_bytes(#555)(Boxed)MontyParams::modulusreturn&Odd<_>(#517)MontyParams::newandnew_vartime([RenameMontyParams::new=>::new_vartime#516], #518)Concat(Mixed)/Split(Mixed)argument ordering (#526)generic-arraytohybrid-array(#544)ZeroConstantwithConstZerotrait fromnum-traits(#546, #573)Uint::concat_mixedandsplit_mixedto acceptself; makepub(#556, #558)Uint::concatandsplitconst generic over inputs (#557, #558)Uint::mul_modandUint::mul_mod_vartime(#623)BoxedMontyForm: always useArcforparams(#645)const_mut_refs; MSRV 1.83 (#667)rlpdependency from 0.5 to 0.6 (#673)RngCoreinstead ofCryptoRngCorefor various random methods (#710)serdectdependency to v0.3 (#719)randfeature enablerand_core/getrandominstead ofrand_core/std(#745)Fixed
BoxedUint::chain(#315)MontyForm/BoxedMontyForm(#713)Removed
ct_*prefixes from method names since we're constant-time by default (#417)const_assert_*macros (#452, #690)