Update to Clippy v1.89 (#385)
This commit is contained in:
@@ -263,7 +263,7 @@ impl<'a> SerializedContext<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Serialized form of [`Identifiers`](crate::Identifiers).
|
/// Serialized form of [`Identifiers`].
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
feature = "serde",
|
feature = "serde",
|
||||||
derive(serde::Deserialize, serde::Serialize),
|
derive(serde::Deserialize, serde::Serialize),
|
||||||
@@ -277,8 +277,7 @@ pub struct SerializedIdentifiers<'a, G: Group> {
|
|||||||
pub server: SerializedIdentifier<'a, G>,
|
pub server: SerializedIdentifier<'a, G>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Serialized form of a single identifier from
|
/// Serialized form of a single identifier from [`Identifiers`].
|
||||||
/// [`Identifiers`](crate::Identifiers).
|
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
feature = "serde",
|
feature = "serde",
|
||||||
derive(serde::Deserialize, serde::Serialize),
|
derive(serde::Deserialize, serde::Serialize),
|
||||||
|
|||||||
+1
-1
@@ -115,7 +115,7 @@ pub struct CredentialRequest<CS: CipherSuite> {
|
|||||||
pub(crate) ke1_message: <CS::KeyExchange as KeyExchange>::KE1Message,
|
pub(crate) ke1_message: <CS::KeyExchange as KeyExchange>::KE1Message,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Builder for [`ServerLogin`](crate::ServerLogin) when using remote keys.
|
/// Builder for [`ServerLogin`] when using remote keys.
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
feature = "serde",
|
feature = "serde",
|
||||||
derive(serde::Deserialize, serde::Serialize),
|
derive(serde::Deserialize, serde::Serialize),
|
||||||
|
|||||||
+4
-4
@@ -866,11 +866,11 @@ pub struct ClientRegistrationFinishResult<CS: CipherSuite> {
|
|||||||
pub export_key: Output<OprfHash<CS>>,
|
pub export_key: Output<OprfHash<CS>>,
|
||||||
/// The server's static public key
|
/// The server's static public key
|
||||||
pub server_s_pk: PublicKey<KeGroup<CS>>,
|
pub server_s_pk: PublicKey<KeGroup<CS>>,
|
||||||
/// Instance of the ClientRegistration, only used in tests for checking
|
/// Instance of the `ClientRegistration`, only used in tests for checking
|
||||||
/// zeroize
|
/// zeroize
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub state: ClientRegistration<CS>,
|
pub state: ClientRegistration<CS>,
|
||||||
/// AuthKey, only used in tests
|
/// `AuthKey`, only used in tests
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub auth_key: Output<OprfHash<CS>>,
|
pub auth_key: Output<OprfHash<CS>>,
|
||||||
/// Password derived key, only used in tests
|
/// Password derived key, only used in tests
|
||||||
@@ -936,7 +936,7 @@ pub struct ClientLoginFinishResult<CS: CipherSuite> {
|
|||||||
pub export_key: Output<OprfHash<CS>>,
|
pub export_key: Output<OprfHash<CS>>,
|
||||||
/// The server's static public key
|
/// The server's static public key
|
||||||
pub server_s_pk: PublicKey<KeGroup<CS>>,
|
pub server_s_pk: PublicKey<KeGroup<CS>>,
|
||||||
/// Instance of the ClientLogin, only used in tests for checking zeroize
|
/// Instance of the `ClientLogin`, only used in tests for checking zeroize
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub state: ClientLogin<CS>,
|
pub state: ClientLogin<CS>,
|
||||||
/// Handshake secret, only used in tests
|
/// Handshake secret, only used in tests
|
||||||
@@ -954,7 +954,7 @@ pub struct ClientLoginFinishResult<CS: CipherSuite> {
|
|||||||
pub struct ServerLoginFinishResult<CS: CipherSuite> {
|
pub struct ServerLoginFinishResult<CS: CipherSuite> {
|
||||||
/// The session key between client and server
|
/// The session key between client and server
|
||||||
pub session_key: Output<KeHash<CS>>,
|
pub session_key: Output<KeHash<CS>>,
|
||||||
/// Instance of the ClientRegistration, only used in tests for checking
|
/// Instance of the `ClientRegistration`, only used in tests for checking
|
||||||
/// zeroize
|
/// zeroize
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub state: ServerLogin<CS>,
|
pub state: ServerLogin<CS>,
|
||||||
|
|||||||
Reference in New Issue
Block a user