Home
last modified time | relevance | path

Searched refs:ReadEcPoint (Results 1 – 25 of 27) sorted by relevance

12

/external/epid-sdk/epid/member/src/
Dstartup.c72 sts = ReadEcPoint(G1, &ctx->credential.A, sizeof(ctx->credential.A), A); in EpidMemberStartup()
78 sts = ReadEcPoint(G1, &ctx->pub_key.h1, sizeof(ctx->pub_key.h1), h1); in EpidMemberStartup()
81 sts = ReadEcPoint(G1, &ctx->pub_key.h2, sizeof(ctx->pub_key.h2), h2); in EpidMemberStartup()
84 sts = ReadEcPoint(G2, &ctx->pub_key.w, sizeof(ctx->pub_key.w), w); in EpidMemberStartup()
Dvalidatekey.c78 sts = ReadEcPoint(G2, w_str, sizeof(*w_str), w); in EpidMemberIsKeyValid()
88 sts = ReadEcPoint(G1, A_str, sizeof(*A_str), A); in EpidMemberIsKeyValid()
98 sts = ReadEcPoint(G1, h1_str, sizeof(*h1_str), h1); in EpidMemberIsKeyValid()
Dnrprove.c144 sts = ReadEcPoint(G1, &sig->K, sizeof(sig->K), K); in EpidNrProve()
147 sts = ReadEcPoint(G1, &(sigrl_entry->b), sizeof(sigrl_entry->b), rlB); in EpidNrProve()
149 sts = ReadEcPoint(G1, &(sigrl_entry->k), sizeof(sigrl_entry->k), rlK); in EpidNrProve()
Ddecompress_privkey.c126 result = ReadEcPoint(G1, &(pub_key->h1), sizeof(pub_key->h1), h1); in EpidDecompressPrivKey()
130 result = ReadEcPoint(G2, &(pub_key->w), sizeof(pub_key->w), w); in EpidDecompressPrivKey()
Dprecomp.c76 sts = ReadEcPoint(G1, A_str, sizeof(*A_str), A); in PrecomputeMemberPairing()
Djoin.c84 sts = ReadEcPoint(G1, &pub_key->h1, sizeof(pub_key->h1), h1); in EpidCreateJoinRequest()
Dsignbasic.c237 sts = ReadEcPoint(G1, &curr_presig.B, sizeof(curr_presig.B), B); in EpidSignBasic()
/external/epid-sdk/epid/common/src/
Dgrouppubkey.c42 ReadEcPoint(G1, &pub_key_str->h1, sizeof(pub_key_str->h1), pubkey->h1); in CreateGroupPubKey()
51 ReadEcPoint(G1, &pub_key_str->h2, sizeof(pub_key_str->h2), pubkey->h2); in CreateGroupPubKey()
60 ReadEcPoint(G2, &pub_key_str->w, sizeof(pub_key_str->w), pubkey->w); in CreateGroupPubKey()
Depid2params.c149 result = ReadEcPoint(internal_param->G1, &params_str.g1, in CreateEpid2Params()
164 result = ReadEcPoint(internal_param->G2, &params_str.g2, in CreateEpid2Params()
/external/epid-sdk/epid/common/1.1/src/
Dgrouppubkey.c48 ReadEcPoint(G1, &pub_key_str->h1, sizeof(pub_key_str->h1), pubkey->h1); in CreateEpid11GroupPubKey()
53 ReadEcPoint(G1, &pub_key_str->h2, sizeof(pub_key_str->h2), pubkey->h2); in CreateEpid11GroupPubKey()
58 ReadEcPoint(G2, &pub_key_str->w, sizeof(pub_key_str->w), pubkey->w); in CreateEpid11GroupPubKey()
Depid11params.c114 result = ReadEcPoint(_params->G1, &params_str.g1, sizeof(params_str.g1), in CreateEpid11Params()
120 result = ReadEcPoint(_params->G2, &params_str.g2, sizeof(params_str.g2), in CreateEpid11Params()
126 result = ReadEcPoint(_params->G3, &params_str.g3, sizeof(params_str.g3), in CreateEpid11Params()
/external/epid-sdk/epid/verifier/1.1/src/
Dnrverify.c131 res = ReadEcPoint(G3, &(proof->T), sizeof(proof->T), T); in Epid11NrVerify()
164 res = ReadEcPoint(G3, &(sig->K), sizeof(sig->K), K); in Epid11NrVerify()
169 res = ReadEcPoint(G3, &(sig->B), sizeof(sig->B), B); in Epid11NrVerify()
189 res = ReadEcPoint(G3, &(sigrl_entry->k), sizeof(sigrl_entry->k), K_tick); in Epid11NrVerify()
194 res = ReadEcPoint(G3, &(sigrl_entry->b), sizeof(sigrl_entry->b), B_tick); in Epid11NrVerify()
Dcheck_privrl_entry.c58 result = ReadEcPoint(G3, &sig->B, sizeof(sig->B), b); in Epid11CheckPrivRlEntry()
63 result = ReadEcPoint(G3, &sig->K, sizeof(sig->K), k); in Epid11CheckPrivRlEntry()
Dverifybasic.c167 res = ReadEcPoint(G3, &(sig->B), sizeof(sig->B), B); in Epid11VerifyBasicSig()
193 res = ReadEcPoint(G3, &(sig->K), sizeof(sig->K), K); in Epid11VerifyBasicSig()
202 res = ReadEcPoint(G1, &(sig->T1), sizeof(sig->T1), T1); in Epid11VerifyBasicSig()
211 res = ReadEcPoint(G1, &(sig->T2), sizeof(sig->T2), T2); in Epid11VerifyBasicSig()
Dverify.c98 sts = ReadEcPoint(G3, &sig->B, sizeof(sig->B), B); in Epid11PrVerify()
103 sts = ReadEcPoint(G3, &sig->K, sizeof(sig->K), K); in Epid11PrVerify()
/external/epid-sdk/epid/verifier/src/
Dnrverify.c127 sts = ReadEcPoint(G1, &proof->T, sizeof(proof->T), t_pt); in EpidNrVerify()
157 sts = ReadEcPoint(G1, k, sizeof(*k), k_pt); in EpidNrVerify()
162 sts = ReadEcPoint(G1, b, sizeof(*b), b_pt); in EpidNrVerify()
175 sts = ReadEcPoint(G1, kp, sizeof(*kp), kp_pt); in EpidNrVerify()
180 sts = ReadEcPoint(G1, bp, sizeof(*bp), bp_pt); in EpidNrVerify()
Dcheck_privrl_entry.c65 result = ReadEcPoint(G1, &sig->B, sizeof(sig->B), b); in EpidCheckPrivRlEntry()
69 result = ReadEcPoint(G1, &sig->K, sizeof(sig->K), k); in EpidCheckPrivRlEntry()
Dverifybasic.c135 res = ReadEcPoint(G1, &(sig->B), sizeof(sig->B), B); in EpidVerifyBasicSig()
160 res = ReadEcPoint(G1, &(sig->K), sizeof(sig->K), K); in EpidVerifyBasicSig()
168 res = ReadEcPoint(G1, &(sig->T), sizeof(sig->T), T); in EpidVerifyBasicSig()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dcommit.c127 sts = ReadEcPoint(G1, &e_str, sizeof(e_str), e); in Tpm2Commit()
134 sts = ReadEcPoint(G1, &k_str, sizeof(k_str), k); in Tpm2Commit()
141 sts = ReadEcPoint(G1, &l_str, sizeof(l_str), l); in Tpm2Commit()
/external/epid-sdk/epid/common/math/unittests/
Decgroup-test.cc741 EXPECT_EQ(kEpidBadArgErr, ReadEcPoint(nullptr, &(this->efq_a_str), in TEST_F()
743 EXPECT_EQ(kEpidBadArgErr, ReadEcPoint(this->efq, nullptr, in TEST_F()
745 EXPECT_EQ(kEpidBadArgErr, ReadEcPoint(this->efq, &(this->efq_a_str), in TEST_F()
750 ReadEcPoint(this->efq, &(this->efq_a_str), 0, this->efq_a)); in TEST_F()
752 ReadEcPoint(this->efq, &(this->efq_a_str), in TEST_F()
755 ReadEcPoint(this->efq, &(this->efq_a_str), in TEST_F()
760 EXPECT_EQ(kEpidNoErr, ReadEcPoint(this->efq, &this->efq_a_str, in TEST_F()
769 ReadEcPoint(this->efq, &this->efq_identity_str, in TEST_F()
778 ReadEcPoint(this->efq2, &this->efq2_identity_str, in TEST_F()
786 EXPECT_EQ(kEpidNoErr, ReadEcPoint(this->efq2, &this->efq2_a_str, in TEST_F()
[all …]
/external/epid-sdk/epid/common/math/
Decgroup.h147 EpidStatus ReadEcPoint(EcGroup* g, ConstOctStr p_str, size_t strlen,
/external/epid-sdk/epid/common-testhelper/
Decpoint_wrapper-testhelper.cc56 THROW_ON_EPIDERR(ReadEcPoint(group_, buf, buflen, point.get())); in write()
/external/epid-sdk/epid/member/tpm2/src/
Dcommit.c118 sts = ReadEcPoint(G1, &point_str, sizeof(point_str), point); in Tpm2Commit()
/external/epid-sdk/epid/member/tiny/unittests/
Djoin_request-test.cc175 ASSERT_NE(kEpidNoErr, ReadEcPoint(epid_params.G1, (uint8_t*)&pub_key.h1, in TEST_F()
/external/epid-sdk/epid/member/unittests/
Djoin_request-test.cc163 ASSERT_NE(kEpidNoErr, ReadEcPoint(epid_params.G1, (uint8_t*)&pub_key.h1, in TEST_F()

12