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

Method challenge_bytes_without_static_label

utils/src/transcript.rs:96–99  ·  view source on GitHub ↗
(&mut self, label: &[u8], dest: &mut [u8])

Source from the content-addressed store, hash-verified

94 }
95
96 fn challenge_bytes_without_static_label(&mut self, label: &[u8], dest: &mut [u8]) {
97 self.merlin
98 .challenge_bytes_with_non_static_label(label, dest)
99 }
100
101 fn challenge_scalar<F: Field>(&mut self, label: &'static [u8]) -> F {
102 // Reduce a double-width scalar to ensure a uniform distribution

Callers

nothing calls this directly

Tested by

no test coverage detected