From 1a6497f37af9ecb0ded83bedac1eae6ead7a4770 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Thu, 23 Feb 2023 07:21:47 -0500 Subject: [PATCH] 3.3.5 Clarify GeneratorPromotion is only for generators, not curves --- crypto/dkg/src/promote.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crypto/dkg/src/promote.rs b/crypto/dkg/src/promote.rs index 1c4c223a..9399224d 100644 --- a/crypto/dkg/src/promote.rs +++ b/crypto/dkg/src/promote.rs @@ -61,9 +61,10 @@ impl GeneratorProof { } } -/// Promote a set of keys from one curve to another, where the elliptic curve is the same. +/// Promote a set of keys from one generator to another, where the elliptic curve is the same. /// Since the Ciphersuite trait additionally specifies a generator, this provides an O(n) way to -/// update the generator used with keys. The key generation protocol itself is exponential. +/// update the generator used with keys. This outperforms the key generation protocol which is +// exponential. pub struct GeneratorPromotion { base: ThresholdKeys, proof: GeneratorProof, @@ -74,7 +75,7 @@ impl GeneratorPromotion where C2: Ciphersuite, { - /// Begin promoting keys from one curve to another. Returns a proof this share was properly + /// Begin promoting keys from one generator to another. Returns a proof this share was properly /// promoted. pub fn promote( rng: &mut R,