Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitVM/BitVM
/ neg
Method
neg
bitvm/src/bn254/fq2.rs:152–157 ·
view source on GitHub ↗
(a: u32)
Source
from the content-addressed store, hash-verified
150
}
151
152
pub fn neg(a: u32) -> Script {
153
script! {
154
{ Fq::neg(a + 1) }
155
{ Fq::neg(a + 1) }
156
}
157
}
158
159
pub fn check_validity_and_keep_element() -> Script {
160
script! {
Callers
13
hinted_quad_miller_loop_with_c_wi
Method · 0.45
hinted_verify
Method · 0.45
utils_point_add_eval
Function · 0.45
point_ops_and_multiply_line_evals_step_1
Function · 0.45
generate_partial_script
Function · 0.45
test_groth16
Function · 0.45
verify_pairing
Function · 0.45
verify_pairing_scripted
Function · 0.45
test_verify_pairing
Function · 0.45
chunk_hash_c_inv
Function · 0.45
test_tap_verify_fp12_is_unity
Function · 0.45
extract_public_params
Function · 0.45
Calls
no outgoing calls
Tested by
3
test_groth16
Function · 0.36
test_verify_pairing
Function · 0.36
test_tap_verify_fp12_is_unity
Function · 0.36