diff --git a/src/key_exchange/mod.rs b/src/key_exchange/mod.rs index fbadb20..8c5f87d 100644 --- a/src/key_exchange/mod.rs +++ b/src/key_exchange/mod.rs @@ -263,7 +263,7 @@ impl<'a> SerializedContext<'a> { } } -/// Serialized form of [`Identifiers`](crate::Identifiers). +/// Serialized form of [`Identifiers`]. #[cfg_attr( feature = "serde", derive(serde::Deserialize, serde::Serialize), @@ -277,8 +277,7 @@ pub struct SerializedIdentifiers<'a, G: Group> { pub server: SerializedIdentifier<'a, G>, } -/// Serialized form of a single identifier from -/// [`Identifiers`](crate::Identifiers). +/// Serialized form of a single identifier from [`Identifiers`]. #[cfg_attr( feature = "serde", derive(serde::Deserialize, serde::Serialize), diff --git a/src/messages.rs b/src/messages.rs index f970588..c04c990 100644 --- a/src/messages.rs +++ b/src/messages.rs @@ -115,7 +115,7 @@ pub struct CredentialRequest { pub(crate) ke1_message: ::KE1Message, } -/// Builder for [`ServerLogin`](crate::ServerLogin) when using remote keys. +/// Builder for [`ServerLogin`] when using remote keys. #[cfg_attr( feature = "serde", derive(serde::Deserialize, serde::Serialize), diff --git a/src/opaque.rs b/src/opaque.rs index 99dcb56..9ccdadd 100644 --- a/src/opaque.rs +++ b/src/opaque.rs @@ -866,11 +866,11 @@ pub struct ClientRegistrationFinishResult { pub export_key: Output>, /// The server's static public key pub server_s_pk: PublicKey>, - /// Instance of the ClientRegistration, only used in tests for checking + /// Instance of the `ClientRegistration`, only used in tests for checking /// zeroize #[cfg(test)] pub state: ClientRegistration, - /// AuthKey, only used in tests + /// `AuthKey`, only used in tests #[cfg(test)] pub auth_key: Output>, /// Password derived key, only used in tests @@ -936,7 +936,7 @@ pub struct ClientLoginFinishResult { pub export_key: Output>, /// The server's static public key pub server_s_pk: PublicKey>, - /// Instance of the ClientLogin, only used in tests for checking zeroize + /// Instance of the `ClientLogin`, only used in tests for checking zeroize #[cfg(test)] pub state: ClientLogin, /// Handshake secret, only used in tests @@ -954,7 +954,7 @@ pub struct ClientLoginFinishResult { pub struct ServerLoginFinishResult { /// The session key between client and server pub session_key: Output>, - /// Instance of the ClientRegistration, only used in tests for checking + /// Instance of the `ClientRegistration`, only used in tests for checking /// zeroize #[cfg(test)] pub state: ServerLogin,