MCPcopy Create free account
hub / github.com/RustCrypto/utils / set_pos_unchecked

Method set_pos_unchecked

block-buffer/src/lib.rs:292–295  ·  view source on GitHub ↗
(&mut self, pos: usize)

Source from the content-addressed store, hash-verified

290 /// to block size.
291 #[inline(always)]
292 unsafe fn set_pos_unchecked(&mut self, pos: usize) {
293 debug_assert!(K::invariant(pos, BS::USIZE));
294 K::set_pos(&mut self.buffer, &mut self.pos, pos);
295 }
296
297 /// Set buffer data.
298 ///

Callers 4

digest_blocksMethod · 0.45
resetMethod · 0.45
setMethod · 0.45
set_data_uncheckedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected