Tony Arcieri

Results 2532 comments of Tony Arcieri

Aah, lack of invmod support would definitely be a problem. Is it something you plan on addressing eventually? My understanding is, like safegcd, that invmod is a big part of...

Whoops, fat fingered the close button trying to reply. While this is probably in OK shape as is I would preferably like to see it as the only GCD implementation,...

@erik-3milabs do you want to look into making this the primary/only GCD implementation? Otherwise I can potentially do that as a followup

Hmm, merging this broke the build due to a few deprecations, but hopefully we can get those fixed up easily

Note: `ZeroizeOnDrop` is just a marker trait. It's a notable omission, but adding an impl will have no actual effect on zeroization.

It may be possible to make the `digest` crate optional, but the generics for curve-specific serialized sizes are all built around the `elliptic-curve` crate, so eliminating that would require some...

#927 should remove the default `digest` dependency (which makes little sense as we already have a `digest` feature)

Take a look at the `MultiscalarMul` trait: https://docs.rs/curve25519-dalek/4.1.3/curve25519_dalek/edwards/struct.EdwardsPoint.html#impl-MultiscalarMul-for-EdwardsPoint

It takes an iterator over `Scalar`s and an iterator over `EdwardsPoint`s and batch multiplies the scalars by the points, so you can generate a batch of candidate scalars and multiply...

Aah sorry, that's the wrong API shape for your problem