File tree Expand file tree Collapse file tree 7 files changed +17
-17
lines changed
Expand file tree Collapse file tree 7 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -771,8 +771,8 @@ where
771771 ///
772772 /// # Arguments:
773773 /// - `channel_identifier` - `CI` from the protocol definition, in the context of TCP/IP this
774- /// is usually some combination of the server and client's IP address and TCP port numbers.
775- /// It's purpose is to prevent relay attacks.
774+ /// is usually some combination of the server and client's IP address and TCP port numbers.
775+ /// It's purpose is to prevent relay attacks.
776776 /// - `rng` - the CSPRNG used when generating the public/private keypair
777777 ///
778778 /// # Return:
@@ -901,7 +901,7 @@ where
901901 /// either:
902902 /// - Ok(`sk`): the session key reached by the `AuCPace` protocol
903903 /// - Err([`Error::MutualAuthFail`](Error::MutualAuthFail)): an error if the authenticator we computed doesn't match
904- /// the server's authenticator, compared in constant time.
904+ /// the server's authenticator, compared in constant time.
905905 ///
906906 pub fn receive_server_authenticator ( self , server_authenticator : [ u8 ; 64 ] ) -> Result < Output < D > > {
907907 if self
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ pub trait Database {
3131 /// - `username`: The name of the user who is storing a verifier
3232 /// - `salt`: The salt used when creating the verifier
3333 /// - `uad`: Optional - User Attached Data - "represents application data associated with
34- /// this specific user account, e.g. specifying the granted authorization level
35- /// on the server."
34+ /// this specific user account, e.g. specifying the granted authorization level
35+ /// on the server."
3636 /// - `verifier`: The password verifier for the given user
3737 /// - `params`: The parameters used when hashing the password into the verifier -
38- /// It is called sigma in the protocol defionition
38+ /// it is called sigma in the protocol definition
3939 fn store_verifier (
4040 & mut self ,
4141 username : & [ u8 ] ,
Original file line number Diff line number Diff line change @@ -540,8 +540,8 @@ where
540540 ///
541541 /// # Arguments:
542542 /// - `channel_identifier` - `CI` from the protocol definition, in the context of TCP/IP this
543- /// is usually some combination of the server and client's IP address and TCP port numbers.
544- /// It's purpose is to prevent relay attacks.
543+ /// is usually some combination of the server and client's IP address and TCP port numbers.
544+ /// Its purpose is to prevent relay attacks.
545545 /// - `rng` - the CSPRNG used when generating the public/private keypair
546546 ///
547547 /// # Return:
@@ -659,7 +659,7 @@ where
659659 /// - `sk` - the session key reached by the `AuCPace` protocol
660660 /// - [`message`](ServerMessage::Authenticator) - the message to send to the client
661661 /// - Err([`Error::MutualAuthFail`](Error::MutualAuthFail)): an error if the authenticator we computed doesn't match
662- /// the client's authenticator, compared in constant time.
662+ /// the client's authenticator, compared in constant time.
663663 ///
664664 pub fn receive_client_authenticator (
665665 self ,
Original file line number Diff line number Diff line change @@ -259,8 +259,8 @@ fn test_core(
259259) -> Result < (
260260 AuCPaceClientRecvServerKey < Sha512 , K1 > ,
261261 AuCPaceServerRecvClientKey < Sha512 , K1 > ,
262- ClientMessage < K1 > ,
263- ServerMessage < K1 > ,
262+ ClientMessage < ' _ , K1 > ,
263+ ServerMessage < ' _ , K1 > ,
264264) > {
265265 // ===== Augmentation Layer =====
266266 // client initiates the augmentation phase
Original file line number Diff line number Diff line change @@ -294,8 +294,8 @@ fn test_core(
294294) -> Result < (
295295 AuCPaceClientRecvServerKey < Sha512 , K1 > ,
296296 AuCPaceServerRecvClientKey < Sha512 , K1 > ,
297- ClientMessage < K1 > ,
298- ServerMessage < K1 > ,
297+ ClientMessage < ' _ , K1 > ,
298+ ServerMessage < ' _ , K1 > ,
299299) > {
300300 // ===== Augmentation Layer =====
301301 // client initiates the augmentation phase
Original file line number Diff line number Diff line change @@ -260,8 +260,8 @@ fn test_core(
260260) -> Result < (
261261 AuCPaceClientRecvServerKey < Sha512 , K1 > ,
262262 AuCPaceServerRecvClientKey < Sha512 , K1 > ,
263- ClientMessage < K1 > ,
264- ServerMessage < K1 > ,
263+ ClientMessage < ' _ , K1 > ,
264+ ServerMessage < ' _ , K1 > ,
265265) > {
266266 // ===== Augmentation Layer =====
267267 // client initiates the augmentation phase
Original file line number Diff line number Diff line change @@ -295,8 +295,8 @@ fn test_core(
295295) -> Result < (
296296 AuCPaceClientRecvServerKey < Sha512 , K1 > ,
297297 AuCPaceServerRecvClientKey < Sha512 , K1 > ,
298- ClientMessage < K1 > ,
299- ServerMessage < K1 > ,
298+ ClientMessage < ' _ , K1 > ,
299+ ServerMessage < ' _ , K1 > ,
300300) > {
301301 // ===== Augmentation Layer =====
302302 // client initiates the augmentation phase
You can’t perform that action at this time.
0 commit comments