MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / share_input

Function share_input

ciphercore-base/src/mpc/mpc_compiler.rs:759–763  ·  view source on GitHub ↗
(g: Graph, node: Node, t: Type, prf_keys: Node, status: IOStatus)

Source from the content-addressed store, hash-verified

757}
758
759fn share_input(g: Graph, node: Node, t: Type, prf_keys: Node, status: IOStatus) -> Result<Node> {
760 let plain_input = g.input(t)?;
761 copy_node_name(node, plain_input.clone())?;
762 share_node(g, plain_input, prf_keys, status)
763}
764
765/// Generates a triple of random PRF keys (k_0, k_1, k_2) such that k_i is generated by party i.
766/// The keys are then distributed such that

Callers 1

share_all_inputsFunction · 0.85

Calls 4

copy_node_nameFunction · 0.85
share_nodeFunction · 0.85
cloneMethod · 0.80
inputMethod · 0.45

Tested by

no test coverage detected