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

Function add_mpc

ciphercore-base/src/mpc/mpc_arithmetic.rs:586–589  ·  view source on GitHub ↗
(a: Node, b: Node)

Source from the content-addressed store, hash-verified

584}
585
586pub(super) fn add_mpc(a: Node, b: Node) -> Result<Node> {
587 a.get_graph()
588 .custom_op(CustomOperation::new(AddMPC {}), vec![a, b])
589}
590
591pub(super) fn subtract_mpc(a: Node, b: Node) -> Result<Node> {
592 a.get_graph()

Callers 3

instantiateMethod · 0.85
add_3_bitstringsFunction · 0.85
compile_to_mpc_graphFunction · 0.85

Calls 2

custom_opMethod · 0.45
get_graphMethod · 0.45

Tested by

no test coverage detected