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

Function random_fe_test

src/secp256k1/src/tests.c:108–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108static void random_fe_test(secp256k1_fe *x) {
109 unsigned char bin[32];
110 do {
111 secp256k1_testrand256_test(bin);
112 if (secp256k1_fe_set_b32_limit(x, bin)) {
113 return;
114 }
115 } while(1);
116}
117
118static void random_fe_non_zero_test(secp256k1_fe *fe) {
119 do {

Callers 7

random_fe_non_zero_testFunction · 0.85
run_field_miscFunction · 0.85
run_fe_mulFunction · 0.85
test_group_decompressFunction · 0.85
run_group_decompressFunction · 0.85
ecmult_const_mult_xonlyFunction · 0.85

Calls 2

Tested by

no test coverage detected