diff options
Diffstat (limited to 'ripple/fossil/src')
-rw-r--r-- | ripple/fossil/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ripple/fossil/src/lib.rs b/ripple/fossil/src/lib.rs index e65253b..3492789 100644 --- a/ripple/fossil/src/lib.rs +++ b/ripple/fossil/src/lib.rs @@ -17,7 +17,7 @@ pub mod store { include!(concat!(env!("OUT_DIR"), "/fossil.store.rs")); } -const CHUNK_BYTES: usize = blake3::CHUNK_LEN; +const CHUNK_BYTES: usize = 0x400; const DIGEST_BYTES: usize = blake3::OUT_LEN; const OFFSET_BYTES: usize = 4; @@ -83,7 +83,7 @@ impl Store { fn write_blob(&self, data: &[u8]) -> Digest { let ident = { let mut h = blake3::Hasher::new(); - h.update_with_join::<blake3::join::RayonJoin>(data); + h.update_rayon(data); h.finalize() }; @@ -109,7 +109,7 @@ impl Store { let computed_ident = { let mut h = blake3::Hasher::new(); - h.update_with_join::<blake3::join::RayonJoin>(&buffer); + h.update_rayon(&buffer); h.finalize() }; |