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
Right now we have k256 encoded, but it doesn't have to be. The scheme is applicable to any group with hard logarithm. At the very least we can generalize it to anything implementing the necessary traits from RustCrypto stack.
The main problem would be to make sure, as statically as possible, that the chosen Uint size exceeds the order of the curve scalar.
The text was updated successfully, but these errors were encountered:
The problem is that it doesn't just need to exceed it, but be a certain amount of times larger (x2/4/8). Although it may still be possible to declare statically (or use BoxedUint)
I made a https://crates.io/crates/tiny-curve crate that we can use for tests, to avoid weird bounds in the parameters and cryptic errors when they are chosen incorrectly. Now we can just use, say, a 32-bit curve and 256-bit primes, making tests significantly faster.
Right now we have
k256
encoded, but it doesn't have to be. The scheme is applicable to any group with hard logarithm. At the very least we can generalize it to anything implementing the necessary traits from RustCrypto stack.The main problem would be to make sure, as statically as possible, that the chosen Uint size exceeds the order of the curve scalar.
The text was updated successfully, but these errors were encountered: