MCPcopy Create free account
hub / github.com/BitVM/BitVM / blake3_compute_script

Method blake3_compute_script

fuzz/fuzz_targets/blake3.rs:55–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

53
54impl MessageBytes {
55 pub fn blake3_compute_script(&self) -> &'static ScriptBuf {
56 let index = match self {
57 Self::U64(..) => 0,
58 Self::U128(..) => 1,
59 Self::U192(..) => 2,
60 Self::U448(..) => 3,
61 };
62 &BLAKE3_COMPUTE_SCRIPTS[index]
63 }
64}
65
66fuzz_target!(|message: MessageBytes| {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected