Skip to content

Commit

Permalink
Update rust doc
Browse files Browse the repository at this point in the history
  • Loading branch information
LuoZijun committed Apr 17, 2021
1 parent 02413f0 commit a84b406
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/aeadcipher/chacha20_poly1305.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::streamcipher::Chacha20;

/// ChaCha20 and Poly1305 for IETF Protocols
///
/// https://tools.ietf.org/html/rfc8439
/// <https://tools.ietf.org/html/rfc8439>
#[derive(Clone)]
pub struct Chacha20Poly1305 {
chacha20: Chacha20,
Expand Down
2 changes: 1 addition & 1 deletion src/hash/sha2/sha256/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fn transform(state: &mut [u32; 8], block: &[u8]) {

/// A 224-bit One-way Hash Function: SHA-224
///
/// https://tools.ietf.org/html/rfc3874
/// <https://tools.ietf.org/html/rfc3874>
#[derive(Clone)]
pub struct Sha224 {
inner: Sha256,
Expand Down
2 changes: 1 addition & 1 deletion src/openssh/chacha20_poly1305/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use self::chacha20::Chacha20;

/// ChaCha20 and Poly1305 for OpenSSH Protocols (chacha20-poly1305@openssh.com)
///
/// https://github.com/openbsd/src/blob/master/usr.bin/ssh/PROTOCOL.chacha20poly1305
/// <https://github.com/openbsd/src/blob/master/usr.bin/ssh/PROTOCOL.chacha20poly1305>
#[derive(Clone)]
pub struct Chacha20Poly1305 {
c1: Chacha20,
Expand Down
2 changes: 1 addition & 1 deletion src/streamcipher/chacha20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn v512_i8_xor_inplace(a: &mut [u8], b: &[u8]) {

/// ChaCha20 for IETF Protocols
///
/// https://tools.ietf.org/html/rfc8439
/// <https://tools.ietf.org/html/rfc8439>
#[derive(Clone)]
pub struct Chacha20 {
initial_state: [u32; 16],
Expand Down

0 comments on commit a84b406

Please sign in to comment.