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

Method prf

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

Source from the content-addressed store, hash-verified

97 }
98
99 pub fn prf(&mut self, data: &mut [u8], more: bool) {
100 self.begin_op(FLAG_I | FLAG_A | FLAG_C, more);
101 self.squeeze(data);
102 }
103
104 pub fn key(&mut self, data: &[u8], more: bool) {
105 self.begin_op(FLAG_A | FLAG_C, more);

Callers 4

test_conformanceFunction · 0.80
fill_bytesMethod · 0.80
challenge_bytesMethod · 0.80

Calls 2

begin_opMethod · 0.80
squeezeMethod · 0.80

Tested by 1

test_conformanceFunction · 0.64