pub(crate) fn derive_hpke_keypair(
        &self,
        crypto: &impl OpenMlsCrypto,
        ikm: &Secret,
    ) -> HpkeKeyPair {
        crypto.derive_hpke_keypair(
            HpkeConfig(self.hpke_kem, self.hpke_kdf, self.hpke_aead),
            &ikm.value,
        )
    }
/// Derive a new HPKE keypair from a given Secret.
Derive a new HPKE keypair from a given Secret.
Derive a new HPKE keypair from a given Secret .
pub(crate) fn derive_hpke_keypair(
        &self,
        crypto: &impl OpenMlsCrypto,
        ikm: &Secret,
    ) -> HpkeKeyPair {
        crypto.derive_hpke_keypair(
            HpkeConfig(self.hpke_kem, self.hpke_kdf, self.hpke_aead),
            &ikm.value,
        )
    }
pub ( crate ) fn derive_hpke_keypair ( & self , crypto : & impl OpenMlsCrypto , ikm : & Secret , ) -> HpkeKeyPair { crypto . derive_hpke_keypair ( HpkeConfig ( self . hpke_kem , self . hpke_kdf , self . hpke_aead ) , & ikm . value , ) }
Derive a new HPKE keypair from a given Secret.
Derive a new HPKE keypair from a given Secret .
&self
crypto
&impl OpenMlsCrypto
ikm
&Secret
&self
crypto
&impl OpenMlsCrypto
ikm
&Secret