remove unneeded Repr = Key
This commit is contained in:
+3
-3
@@ -166,7 +166,7 @@ impl<CS: CipherSuite> LoginFirstMessage<CS> {
|
|||||||
/// login attempt.
|
/// login attempt.
|
||||||
pub struct LoginSecondMessage<Grp, KeyFormat, KE, D>
|
pub struct LoginSecondMessage<Grp, KeyFormat, KE, D>
|
||||||
where
|
where
|
||||||
KeyFormat: KeyPair<Repr = Key>,
|
KeyFormat: KeyPair,
|
||||||
KE: KeyExchange<D>,
|
KE: KeyExchange<D>,
|
||||||
D: Hash,
|
D: Hash,
|
||||||
{
|
{
|
||||||
@@ -182,7 +182,7 @@ where
|
|||||||
impl<Grp, KeyFormat, KE, D> LoginSecondMessage<Grp, KeyFormat, KE, D>
|
impl<Grp, KeyFormat, KE, D> LoginSecondMessage<Grp, KeyFormat, KE, D>
|
||||||
where
|
where
|
||||||
Grp: Group,
|
Grp: Group,
|
||||||
KeyFormat: KeyPair<Repr = Key>,
|
KeyFormat: KeyPair,
|
||||||
KE: KeyExchange<D>,
|
KE: KeyExchange<D>,
|
||||||
D: Hash,
|
D: Hash,
|
||||||
{
|
{
|
||||||
@@ -200,7 +200,7 @@ where
|
|||||||
impl<Grp, KeyFormat, KE, D> TryFrom<&[u8]> for LoginSecondMessage<Grp, KeyFormat, KE, D>
|
impl<Grp, KeyFormat, KE, D> TryFrom<&[u8]> for LoginSecondMessage<Grp, KeyFormat, KE, D>
|
||||||
where
|
where
|
||||||
Grp: Group,
|
Grp: Group,
|
||||||
KeyFormat: KeyPair<Repr = Key>,
|
KeyFormat: KeyPair,
|
||||||
KE: KeyExchange<D>,
|
KE: KeyExchange<D>,
|
||||||
D: Hash,
|
D: Hash,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user