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

Method get_params

proof_system/src/statement/bbdt16_kvac.rs:61–74  ·  view source on GitHub ↗
(
        &'a self,
        setup_params: &'a [SetupParams<E>],
        st_idx: usize,
    )

Source from the content-addressed store, hash-verified

59 }
60
61 pub fn get_params<'a, E: Pairing<G1Affine = G>>(
62 &'a self,
63 setup_params: &'a [SetupParams<E>],
64 st_idx: usize,
65 ) -> Result<&'a MACParams<G>, ProofSystemError> {
66 extract_param!(
67 setup_params,
68 &self.mac_params,
69 self.mac_params_ref,
70 BBDT16MACParams,
71 IncompatibleBBSPlusSetupParamAtIndex,
72 st_idx
73 )
74 }
75}
76
77impl<G: ark_ec::AffineRepr> PoKOfMACFullVerifier<G> {

Callers 3

_verifyMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by 1