| 3 | using namespace nil::crypto3::algebra::curves; |
| 4 | |
| 5 | [[circuit]] std::array<typename pallas::base_field_type::value_type, 2> |
| 6 | field_arithmetic_example([[private_input]] std::array<typename pallas::base_field_type::value_type, 2> a, |
| 7 | std::array<typename pallas::base_field_type::value_type, 2> b) { |
| 8 | |
| 9 | std::array<typename pallas::base_field_type::value_type, 2> res; |
| 10 | res[0] = a[0] + b[0]; |
| 11 | res[1] = a[1] + b[1]; |
| 12 | |
| 13 | return res; |
| 14 | } |
nothing calls this directly
no outgoing calls
no test coverage detected