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

Method ad

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

Source from the content-addressed store, hash-verified

92 }
93
94 pub fn ad(&mut self, data: &[u8], more: bool) {
95 self.begin_op(FLAG_A, more);
96 self.absorb(data);
97 }
98
99 pub fn prf(&mut self, data: &mut [u8], more: bool) {
100 self.begin_op(FLAG_I | FLAG_A | FLAG_C, more);

Callers 3

test_conformanceFunction · 0.80
append_messageMethod · 0.80

Calls 2

begin_opMethod · 0.80
absorbMethod · 0.80

Tested by 1

test_conformanceFunction · 0.64