MCPcopy Create free account
hub / github.com/NilFoundation/zkLLVM / field_arithmetic_example

Function field_arithmetic_example

examples/cpp/private_input.cpp:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3using namespace nil::crypto3::algebra::curves;
4
5[[circuit]] typename pallas::base_field_type::value_type
6 field_arithmetic_example([[private_input]] typename pallas::base_field_type::value_type a,
7 typename pallas::base_field_type::value_type b) {
8
9 return a + b;
10}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected