Skip to content

Residue rename#485

Merged
tarcieri merged 8 commits into
RustCrypto:masterfrom
fjarri:residue-rename
Dec 20, 2023
Merged

Residue rename#485
tarcieri merged 8 commits into
RustCrypto:masterfrom
fjarri:residue-rename

Conversation

@fjarri

@fjarri fjarri commented Dec 20, 2023

Copy link
Copy Markdown
Contributor

Fixes #351

  • Residue -> ConstMontyForm
  • DynResidue -> MontyForm
  • BoxedResidue -> BoxedMontyForm
  • *ResidueParams -> *MontyParams
  • residue_params -> params
  • params.r -> params.one

Please don't open other PRs before this one is merged, it's a pain to rebase.

@fjarri fjarri marked this pull request as ready for review December 20, 2023 02:07
@tarcieri

Copy link
Copy Markdown
Member

Your description doesn't quite reflect the names, which are MontyForm instead of just Monty.

For the params names, I'd prefer MontyParams instead of MontyFormParams which seems needlessly long.

Otherwise yes, we should get this rename done ASAP.

@fjarri

fjarri commented Dec 20, 2023

Copy link
Copy Markdown
Contributor Author

Renamed

Comment thread src/modular/boxed_monty_form/mul.rs Outdated
Comment thread src/modular/monty_form.rs Outdated
@tarcieri tarcieri merged commit 296bd55 into RustCrypto:master Dec 20, 2023
@tarcieri tarcieri mentioned this pull request Dec 20, 2023
@fjarri fjarri deleted the residue-rename branch December 20, 2023 18:07
@tarcieri tarcieri mentioned this pull request Jan 22, 2025
@Fethbita

Copy link
Copy Markdown
Contributor

@tarcieri could you also add the rename const_residue -> const_monty_form into changelog?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reopening *Residue naming bikeshed

3 participants