From 561d3b51a771ab86968b5a95c7250a91b1bded04 Mon Sep 17 00:00:00 2001 From: Aaron Feickert <66188213+AaronFeickert@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:09:47 -0500 Subject: [PATCH 1/2] Update precomputation documentation --- curve25519-dalek/src/ristretto.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/curve25519-dalek/src/ristretto.rs b/curve25519-dalek/src/ristretto.rs index 1918d0326..f6752405e 100644 --- a/curve25519-dalek/src/ristretto.rs +++ b/curve25519-dalek/src/ristretto.rs @@ -1007,6 +1007,9 @@ impl VartimeMultiscalarMul for RistrettoPoint { } /// Precomputation for variable-time multiscalar multiplication with `RistrettoPoint`s. +/// +/// Note that for large numbers of `RistrettoPoint`s, this functionality may be less +/// efficient than the corresponding `VartimeMultiscalarMul` implementation. // This wraps the inner implementation in a facade type so that we can // decouple stability of the inner type from the stability of the // outer type. From ab6a35de3f4618c8589f981c6f3c9554319f41e0 Mon Sep 17 00:00:00 2001 From: Aaron Feickert <66188213+AaronFeickert@users.noreply.github.com> Date: Tue, 30 Jul 2024 09:40:10 -0500 Subject: [PATCH 2/2] Formatting --- curve25519-dalek/src/ristretto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curve25519-dalek/src/ristretto.rs b/curve25519-dalek/src/ristretto.rs index f6752405e..4a9931fe4 100644 --- a/curve25519-dalek/src/ristretto.rs +++ b/curve25519-dalek/src/ristretto.rs @@ -1007,7 +1007,7 @@ impl VartimeMultiscalarMul for RistrettoPoint { } /// Precomputation for variable-time multiscalar multiplication with `RistrettoPoint`s. -/// +/// /// Note that for large numbers of `RistrettoPoint`s, this functionality may be less /// efficient than the corresponding `VartimeMultiscalarMul` implementation. // This wraps the inner implementation in a facade type so that we can