MCPcopy Create free account
hub / github.com/ddkang/zkml / sbox

Method sbox

src/commitments/poseidon_commit.rs:52–54  ·  view source on GitHub ↗
(val: F)

Source from the content-addressed store, hash-verified

50 }
51
52 fn sbox(val: F) -> F {
53 val.pow_vartime([5])
54 }
55
56 fn secure_mds() -> usize {
57 SECURE_MDS

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected