Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto-bigint: Limb newtype #499

Merged
merged 1 commit into from Jun 22, 2021
Merged

crypto-bigint: Limb newtype #499

merged 1 commit into from Jun 22, 2021

Conversation

tarcieri
Copy link
Member

Adds a Limb newtype for the integer type which represents a limb for a given CPU word size.

This allows us to provide much more consistent properties around what represents a "limb", as well as define functions directly on the limb type, which makes it much easier to define e.g. carry/borrow chains.

@tarcieri tarcieri force-pushed the crypto-bigint/limb-newtype branch 2 times, most recently from b1b1c11 to 77c53fc Compare June 22, 2021 00:16
Adds a `Limb` newtype for the integer type which represents a limb for a
given CPU word size.

This allows us to provide much more consistent properties around what
represents a "limb", as well as define functions directly on the limb
type, which makes it much easier to define e.g. carry/borrow chains.
@tarcieri tarcieri merged commit b527f61 into master Jun 22, 2021
@tarcieri tarcieri deleted the crypto-bigint/limb-newtype branch June 22, 2021 00:27
@tarcieri tarcieri mentioned this pull request Jun 22, 2021
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.

None yet

1 participant