Implement Clone for every message type
This commit is contained in:
committed by
Kevin Lewi
parent
30e27a11e2
commit
2c7fe4e382
@@ -12,6 +12,7 @@ use generic_array::GenericArray;
|
||||
use rand::{CryptoRng, RngCore};
|
||||
|
||||
/// Used to store the OPRF input and blinding factor
|
||||
#[derive(Clone)]
|
||||
pub struct Token<Grp: Group> {
|
||||
pub(crate) data: Vec<u8>,
|
||||
pub(crate) blind: Grp::Scalar,
|
||||
|
||||
Reference in New Issue
Block a user