Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docknetwork/crypto
/ as_ref
Method
as_ref
syra/src/setup.rs:44–46 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
42
43
impl<E: Pairing> AsRef<E::G1Affine> for SetupParams<E> {
44
fn as_ref(&self) -> &E::G1Affine {
45
&self.g
46
}
47
}
48
49
#[cfg_attr(feature =
"serde"
, cfg_eval::cfg_eval, serde_with::serde_as)]
Callers
3
output_verify
Function · 0.45
new
Method · 0.45
verify
Method · 0.45
Calls
no outgoing calls
Tested by
1
output_verify
Function · 0.36