You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per this draft PR, to migrate crypto-primes to accommodate both Uint and BxoedUint, a new trait UintLike will be defined in the crypto-bigint crate, and the functions in crypto-primes will take T: UintLike where it used to take Uint<const L: usize>. There are two major items:
Define the UintLike trait to be used in crypto-primes
Implement UintLike for crypto-bigint
In fact I think we can entirely do the trait definition and implementation in crypto-primes first, prove that it works, then move these traits to crypto-bigint.
Maybe the original maintainers are already working on this, but it still seems like a very fun project, so I want to give it a try, as well.
The text was updated successfully, but these errors were encountered:
Per this draft PR, to migrate
crypto-primes
to accommodate bothUint
andBxoedUint
, a new traitUintLike
will be defined in thecrypto-bigint
crate, and the functions incrypto-primes
will takeT: UintLike
where it used to takeUint<const L: usize>
. There are two major items:UintLike
trait to be used incrypto-primes
UintLike
forcrypto-bigint
In fact I think we can entirely do the trait definition and implementation in
crypto-primes
first, prove that it works, then move these traits tocrypto-bigint
.Maybe the original maintainers are already working on this, but it still seems like a very fun project, so I want to give it a try, as well.
The text was updated successfully, but these errors were encountered: