crypto: derive Clone & Debug for HpkeSuite

We will want to store this type in configurations that are `Clone` and
`Debug`.
This commit is contained in:
Daniel McCarney 2024-04-12 11:05:00 -04:00
parent 7f8fa55cef
commit 06939c2484
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ pub trait HpkeProvider: Debug + Send + Sync + 'static {
}
/// An HPKE suite, specifying a key encapsulation mechanism and a symmetric cipher suite.
#[derive(Debug, Clone)]
pub struct HpkeSuite {
/// The choice of HPKE key encapsulation mechanism.
pub kem: HpkeKem,