curve25519-dalek icon indicating copy to clipboard operation
curve25519-dalek copied to clipboard

A pure-Rust implementation of group operations on Ristretto and Curve25519

Results 93 curve25519-dalek issues
Sort by recently updated
recently updated
newest added

I have noticed I have some crates that need only the `decompress::step_1` function in curve25519-dalek, but they have to pull in the whole dependency, which takes a long time to...

`curve25519_dalek::SubgroupPoint` does not implement certain traits, although it only wraps `curve25519_dalek::EdwardsPoint` which does implement these traits: * `Zeroize` * `ConstantTimeEq` * `ConditionallySelectable` * `TryFrom`

Hello, I've been developing a Proof of Concept protocol indistinguishable from random data, as described in [Noise - Handshake Indistinguishability](https://noiseprotocol.org/noise.html#handshake-indistinguishability). To make this a hash-to-point, inverse elligator2 mapping is required....

I don't know Criterion well enough to guess at why this is, but the following behavior seems weird. In `x25519-dalek` and `ed25519-dalek` I can run benchmarks as tests like this:...

Hi! As part of a freelance work for [xelis](https://github.com/xelis-project/), I have been working on an implementation of [FastECDLP](https://eprint.iacr.org/2022/1573). My implementation works, and is quite fast :partying_face: However, my work currently...

# Steps to reproduce ``` console $ cargo new --lib repro $ cd repro $ echo '#![no_std]' > src/lib.rs $ cargo add [email protected] $ rustup default 1.73.0 $ rustup target...

The document states as follows: [DOC1](https://docs.rs/curve25519-dalek/latest/curve25519_dalek/backend/serial/curve_models/index.html) ProjectiveNielsPoint: $(Y+X,Y−X,Z,2dXY)$ [DOC2](https://docs.rs/curve25519-dalek/4.1.1/curve25519_dalek/backend/serial/curve_models/index.html) "..., represented as $(Y+X,Y-X,Z,2dXY)$ in ‘Niels coordinates’." But the relevant code is as follows: https://github.com/dalek-cryptography/curve25519-dalek/blob/89aabac235ecb2fee2e1f482a17d9312a2616c5a/curve25519-dalek/src/edwards.rs#L513 ```Rust impl EdwardsPoint { /// Convert...

`Scalar` holds array of elements that implement `Copy` trait. Thus, array gets copied when moved which reveals the value. I have reproduced the issue here: https://gist.github.com/RajeshRk18/eb10e3506c83c196d69116e86e0910e5 I have made `Scalar`...