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

Function write_ge

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

Write a secp256k1 affine group element value to the 'dst' frame, advancing the cursor 512 cells. * * Precondition: '*dst' is a valid write frame for 512 more cells; * NULL != r; */

Source from the content-addressed store, hash-verified

75 * NULL != r;
76 */
77static inline void write_ge(frameItem* dst, secp256k1_ge* r) {
78 write_fe(dst, &r->x);
79 write_fe(dst, &r->y);
80}
81
82/* Skip 512 cells, the size of a secp256k1 affine group element value, in the 'dst' frame.
83 *

Callers 5

simplicity_gej_normalizeFunction · 0.85
simplicity_ge_negateFunction · 0.85
simplicity_decompressFunction · 0.85
simplicity_swuFunction · 0.85
simplicity_hash_to_curveFunction · 0.85

Calls 1

write_feFunction · 0.85

Tested by

no test coverage detected