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

Function simplicity_fe_invert

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

Source from the content-addressed store, hash-verified

199}
200
201bool simplicity_fe_invert(frameItem* dst, frameItem src, const txEnv* env) {
202 (void) env; // env is unused;
203
204 secp256k1_fe a;
205 read_fe(&a, &src);
206 secp256k1_fe_inv_var(&a, &a);
207 write_fe(dst, &a);
208 return true;
209}
210
211bool simplicity_fe_square_root(frameItem* dst, frameItem src, const txEnv* env) {
212 (void) env; // env is unused;

Callers

nothing calls this directly

Calls 3

read_feFunction · 0.85
write_feFunction · 0.85
secp256k1_fe_inv_varFunction · 0.50

Tested by

no test coverage detected