MCPcopy Create free account
hub / github.com/ElementsProject/elements / simplicity_fe_add

Function simplicity_fe_add

src/simplicity/jets-secp256k1.c:159–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159bool simplicity_fe_add(frameItem* dst, frameItem src, const txEnv* env) {
160 (void) env; // env is unused;
161
162 secp256k1_fe a, b;
163 read_fe(&a, &src);
164 read_fe(&b, &src);
165 secp256k1_fe_add(&a, &b);
166 write_fe(dst, &a);
167 return true;
168}
169
170bool simplicity_fe_square(frameItem* dst, frameItem src, const txEnv* env) {
171 (void) env; // env is unused;

Callers

nothing calls this directly

Calls 3

read_feFunction · 0.85
write_feFunction · 0.85
secp256k1_fe_addFunction · 0.50

Tested by

no test coverage detected