Skip to content

Commit 3b7e9dc

Browse files
committed
Rustify some comments lifted directly from the sha-1 reference implementation
1 parent eac75b7 commit 3b7e9dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/sha1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ fn mk_sha1() -> sha1 {
185185
* 512 bits. The first padding bit must be a '1'. The last 64 bits
186186
* represent the length of the original message. All bits in between
187187
* should be 0. This function will pad the message according to those
188-
* rules by filling the message_block array accordingly. It will also
189-
* call ProcessMessageBlock() appropriately. When it returns, it
188+
* rules by filling the msg_block vector accordingly. It will also
189+
* call process_msg_block() appropriately. When it returns, it
190190
* can be assumed that the message digest has been computed.
191191
*/
192192
impure fn pad_msg(&sha1state st) {

0 commit comments

Comments
 (0)