threshold encryption of proposals in HoneyBadger

This commit is contained in:
Vladimir Komendantskiy 2018-06-19 15:17:16 +01:00
parent 0c66e16010
commit 17fdffa90f
1 changed files with 1 additions and 1 deletions

2
mod.rs
View File

@ -185,7 +185,7 @@ impl Ciphertext {
}
/// A decryption share. A threshold of decryption shares can be used to decrypt a message.
#[derive(Deserialize, Serialize, Debug, PartialEq, Eq)]
#[derive(Clone, Deserialize, Serialize, Debug, PartialEq, Eq)]
pub struct DecryptionShare(#[serde(with = "serde_impl::projective")] G1);
impl Hash for DecryptionShare {