Home
last modified time | relevance | path

Searched refs:pairing_state (Results 1 – 20 of 20) sorted by relevance

/external/epid-sdk/epid/member/tiny/unittests/internal/
Dvalidate-test.cc122 PairingState pairing_state; in TEST_F() local
123 PairingInit(&pairing_state); in TEST_F()
156 MembershipCredentialIsInGroup(&input, &f, &pubkey, &pairing_state)); in TEST_F()
160 PairingState pairing_state; in TEST_F() local
161 PairingInit(&pairing_state); in TEST_F()
194 MembershipCredentialIsInGroup(&input, &f, &pubkey, &pairing_state)); in TEST_F()
238 PairingState pairing_state; in TEST_F() local
239 PairingInit(&pairing_state); in TEST_F()
273 EXPECT_TRUE(PrivKeyIsInGroup(&input, &pubkey, &pairing_state)); in TEST_F()
277 PairingState pairing_state; in TEST_F() local
[all …]
/external/epid-sdk/epid/member/tiny/src/
Dprovisioncredential.c60 &ctx->pairing_state)) { in EpidProvisionCredential()
72 &ctx->pairing_state); in EpidProvisionCredential()
74 &ctx->pairing_state); in EpidProvisionCredential()
76 &ctx->pairing_state); in EpidProvisionCredential()
78 &ctx->pairing_state); in EpidProvisionCredential()
Dprovisionkey.c63 &ctx->pairing_state)) { in EpidProvisionKey()
81 &ctx->pairing_state); in EpidProvisionKey()
83 &ctx->pairing_state); in EpidProvisionKey()
85 &ctx->pairing_state); in EpidProvisionKey()
87 &ctx->pairing_state); in EpidProvisionKey()
Dvalidate.c57 PairingState const* pairing_state) { in MembershipCredentialIsInGroup() argument
78 PairingCompute(&t3, &input->A, t1_affine, pairing_state); in MembershipCredentialIsInGroup()
83 PairingCompute(&t4, &t2_affine, &epid20_g2, pairing_state); in MembershipCredentialIsInGroup()
98 PairingState const* pairing_state) { in PrivKeyIsInGroup() argument
100 pairing_state); in PrivKeyIsInGroup()
Dvalidate.h64 PairingState const* pairing_state);
84 PairingState const* pairing_state);
Dcontext.h65 PairingState pairing_state; ///< pairing state member
Dinit.c78 PairingInit(&ctx->pairing_state); in EpidMemberInit()
/external/epid-sdk/epid/common/1.1/src/
Depid11params.h49 Epid11PairingState* pairing_state; ///< Pairing state member
Depid11params.c132 &_params->pairing_state); in CreateEpid11Params()
140 DeleteEpid11PairingState(&_params->pairing_state); in CreateEpid11Params()
165 DeleteEpid11PairingState(&(*params)->pairing_state); in DeleteEpid11Params()
/external/epid-sdk/epid/common/src/
Depid2params.h50 PairingState* pairing_state; ///< Pairing state member
Depid2params.c175 &internal_param->pairing_state); in CreateEpid2Params()
183 DeletePairingState(&internal_param->pairing_state); in CreateEpid2Params()
209 DeletePairingState(&(*epid_params)->pairing_state); in DeleteEpid2Params()
/external/epid-sdk/epid/member/src/
Dprecomp.c46 PairingState* ps_ctx = epid2_params->pairing_state; in PrecomputeMemberPairing()
Dvalidatekey.c61 PairingState* ps_ctx = ctx->epid2_params->pairing_state; in EpidMemberIsKeyValid()
Ddecompress_privkey.c91 PairingState* ps_ctx = epid2_params->pairing_state; in EpidDecompressPrivKey()
Dpresig.c130 PairingState* ps_ctx = ctx->epid2_params->pairing_state; in MemberComputePreSig()
Dsignbasic.c100 PairingState* ps_ctx = ctx->epid2_params->pairing_state; in EpidSignBasic()
/external/epid-sdk/epid/verifier/1.1/src/
Dcontext.c376 !ctx->epid11_params->pairing_state || !ctx->pub_key || !ctx->e12 || in DoPrecomputation()
385 ps_ctx = params->pairing_state; in DoPrecomputation()
Dverifybasic.c339 res = Epid11Pairing(ctx->epid11_params->pairing_state, t1, g2, R4); in Epid11VerifyBasicSig()
342 res = Epid11Pairing(ctx->epid11_params->pairing_state, t2, w, t3); in Epid11VerifyBasicSig()
/external/epid-sdk/epid/verifier/src/
Dcontext.c608 !ctx->epid2_params->pairing_state || !ctx->pub_key || !ctx->e12 || in DoPrecomputation()
618 ps_ctx = params->pairing_state; in DoPrecomputation()
Dverifybasic.c248 res = Pairing(ctx->epid2_params->pairing_state, T, t1, R2); in EpidVerifyBasicSig()