MCPcopy Create free account
hub / github.com/docknetwork/crypto / as_ref

Method as_ref

kvac/src/bbdt_2016/setup.rs:168–170  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

166
167impl<F: PrimeField> AsRef<F> for SecretKey<F> {
168 fn as_ref(&self) -> &F {
169 &self.0
170 }
171}
172
173impl<G: AffineRepr> AsRef<G> for PublicKey<G> {

Callers 8

get_resp_for_messageMethod · 0.45
pok_MAC_schnorr_responseFunction · 0.45
newMethod · 0.45
verifyMethod · 0.45
keyed_proof_verificationFunction · 0.45

Calls

no outgoing calls

Tested by 4

pok_MAC_schnorr_responseFunction · 0.36
keyed_proof_verificationFunction · 0.36