diff options
| author | Brian Anderson <[email protected]> | 2011-02-22 18:50:39 -0500 |
|---|---|---|
| committer | Brian Anderson <[email protected]> | 2011-02-22 21:52:23 -0500 |
| commit | 3b7e9dc393c7b015bb06a8cc1213c25b8911362f (patch) | |
| tree | 28834e208caa55ef772a6135f4b72c86798bf0f0 /src/lib | |
| parent | Teach rustc about reserved keywords (diff) | |
| download | rust-3b7e9dc393c7b015bb06a8cc1213c25b8911362f.tar.xz rust-3b7e9dc393c7b015bb06a8cc1213c25b8911362f.zip | |
Rustify some comments lifted directly from the sha-1 reference implementation
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/sha1.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sha1.rs b/src/lib/sha1.rs index 8be969aa..2a6b74d4 100644 --- a/src/lib/sha1.rs +++ b/src/lib/sha1.rs @@ -185,8 +185,8 @@ fn mk_sha1() -> sha1 { * 512 bits. The first padding bit must be a '1'. The last 64 bits * represent the length of the original message. All bits in between * should be 0. This function will pad the message according to those - * rules by filling the message_block array accordingly. It will also - * call ProcessMessageBlock() appropriately. When it returns, it + * rules by filling the msg_block vector accordingly. It will also + * call process_msg_block() appropriately. When it returns, it * can be assumed that the message digest has been computed. */ impure fn pad_msg(&sha1state st) { |