remove unneeded Repr = Key

This commit is contained in:
François Garillot
2020-08-24 15:16:51 -04:00
parent 07a702c1be
commit 694c51c982
+3 -3
View File
@@ -166,7 +166,7 @@ impl<CS: CipherSuite> LoginFirstMessage<CS> {
/// login attempt.
pub struct LoginSecondMessage<Grp, KeyFormat, KE, D>
where
KeyFormat: KeyPair<Repr = Key>,
KeyFormat: KeyPair,
KE: KeyExchange<D>,
D: Hash,
{
@@ -182,7 +182,7 @@ where
impl<Grp, KeyFormat, KE, D> LoginSecondMessage<Grp, KeyFormat, KE, D>
where
Grp: Group,
KeyFormat: KeyPair<Repr = Key>,
KeyFormat: KeyPair,
KE: KeyExchange<D>,
D: Hash,
{
@@ -200,7 +200,7 @@ where
impl<Grp, KeyFormat, KE, D> TryFrom<&[u8]> for LoginSecondMessage<Grp, KeyFormat, KE, D>
where
Grp: Group,
KeyFormat: KeyPair<Repr = Key>,
KeyFormat: KeyPair,
KE: KeyExchange<D>,
D: Hash,
{