mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-25 06:36:03 +02:00
some comment typos
This commit is contained in:
parent
c197a773ac
commit
0432f9c7a3
|
@ -425,8 +425,8 @@ INLINE void hasher_merge_cv_stack(blake3_hasher *self, uint64_t total_len) {
|
||||||
// compress_subtree_to_parent_node(). That function always returns the top
|
// compress_subtree_to_parent_node(). That function always returns the top
|
||||||
// *two* chaining values of the subtree it's compressing. We then do lazy
|
// *two* chaining values of the subtree it's compressing. We then do lazy
|
||||||
// merging with each of them separately, so that the second CV will always
|
// merging with each of them separately, so that the second CV will always
|
||||||
// remain unmerged. (The compress_subtree_to_parent_node also helps us support
|
// remain unmerged. (That also helps us support extendable output when we're
|
||||||
// extendable output when we're hashing an input all-at-once.)
|
// hashing an input all-at-once.)
|
||||||
INLINE void hasher_push_cv(blake3_hasher *self, uint8_t new_cv[BLAKE3_OUT_LEN],
|
INLINE void hasher_push_cv(blake3_hasher *self, uint8_t new_cv[BLAKE3_OUT_LEN],
|
||||||
uint64_t chunk_counter) {
|
uint64_t chunk_counter) {
|
||||||
hasher_merge_cv_stack(self, chunk_counter);
|
hasher_merge_cv_stack(self, chunk_counter);
|
||||||
|
|
|
@ -921,8 +921,8 @@ impl Hasher {
|
||||||
// compress_subtree_to_parent_node(). That function always returns the top
|
// compress_subtree_to_parent_node(). That function always returns the top
|
||||||
// *two* chaining values of the subtree it's compressing. We then do lazy
|
// *two* chaining values of the subtree it's compressing. We then do lazy
|
||||||
// merging with each of them separately, so that the second CV will always
|
// merging with each of them separately, so that the second CV will always
|
||||||
// remain unmerged. (The compress_subtree_to_parent_node also helps us
|
// remain unmerged. (That also helps us support extendable output when
|
||||||
// support extendable output when we're hashing an input all-at-once.)
|
// we're hashing an input all-at-once.)
|
||||||
fn push_cv(&mut self, new_cv: &CVBytes, chunk_counter: u64) {
|
fn push_cv(&mut self, new_cv: &CVBytes, chunk_counter: u64) {
|
||||||
self.merge_cv_stack(chunk_counter);
|
self.merge_cv_stack(chunk_counter);
|
||||||
self.cv_stack.push(*new_cv);
|
self.cv_stack.push(*new_cv);
|
||||||
|
|
Loading…
Reference in New Issue