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,