MCPcopy Create free account
hub / github.com/docknetwork/crypto / absorb

Method absorb

merlin/src/strobe.rs:120–128  ·  view source on GitHub ↗
(&mut self, data: &[u8])

Source from the content-addressed store, hash-verified

118 }
119
120 fn absorb(&mut self, data: &[u8]) {
121 for byte in data {
122 self.state[self.pos as usize] ^= byte;
123 self.pos += 1;
124 if self.pos == STROBE_R {
125 self.run_f();
126 }
127 }
128 }
129
130 fn overwrite(&mut self, data: &[u8]) {
131 for byte in data {

Callers 3

meta_adMethod · 0.80
adMethod · 0.80
begin_opMethod · 0.80

Calls 1

run_fMethod · 0.80

Tested by

no test coverage detected