chore: Imple Clone
for K256Secret
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
bd45d6e1a9
commit
470fd6c015
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ type HmacSha256 = hmac::Hmac<sha2::Sha256>;
|
||||||
|
|
||||||
/// An wrapper around the k256 crate to provide a simple API for ecdh key
|
/// An wrapper around the k256 crate to provide a simple API for ecdh key
|
||||||
/// exchange and keypair generation.
|
/// exchange and keypair generation.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct K256Secret {
|
pub struct K256Secret {
|
||||||
/// The private key scalar
|
/// The private key scalar
|
||||||
scalar: NonZeroScalar,
|
scalar: NonZeroScalar,
|
||||||
|
|
Loading…
Reference in a new issue