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

Add Add/Mul/SubAssign bounds for Integer #716

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

fjarri
Copy link
Contributor

@fjarri fjarri commented Dec 17, 2024

Adds Add/Mul/SubAssign bounds for Integer; also adds:

  • impl Add<BoxedUint> for &BoxedUint
  • impl AddAssign<BoxedUint> for BoxedUint
  • impl AddAssign<&BoxedUint> for BoxedUint
  • impl MulAssign<BoxedUint> for BoxedUint
  • impl MulAssign<&BoxedUint> for BoxedUint
  • impl Sub<BoxedUint> for &BoxedUint
  • impl SubAssign<BoxedUint> for BoxedUint
  • impl SubAssign<&BoxedUint> for BoxedUint
  • impl<const LIMBS: usize, const RHS_LIMBS: usize> MulAssign<Uint<RHS_LIMBS>> for Uint<LIMBS>
  • impl<const LIMBS: usize, const RHS_LIMBS: usize> MulAssign<&Uint<RHS_LIMBS>> for Uint<LIMBS>
  • impl<const LIMBS: usize> SubAssign<Uint<LIMBS>> for Uint<LIMBS>
  • impl<const LIMBS: usize> SubAssign<&Uint<LIMBS>> for Uint<LIMBS>

@tarcieri tarcieri merged commit e2fa911 into RustCrypto:master Jan 6, 2025
18 checks passed
@fjarri fjarri deleted the more-impls branch January 15, 2025 19:14
@tarcieri tarcieri mentioned this pull request Jan 22, 2025
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.

2 participants