Home
last modified time | relevance | path

Searched refs:WriteEcPoint (Results 1 – 23 of 23) sorted by relevance

/external/epid-sdk/epid/member/tpm2/unittests/
Dcommit-simulator-test.cc70 WriteEcPoint(params.G1, p1_exp_r, &p1_exp_r_str, sizeof(p1_exp_r_str))); in TEST_F()
73 WriteEcPoint(params.G1, p2_exp_r, &p2_exp_r_str, sizeof(p2_exp_r_str))); in TEST_F()
76 THROW_ON_EPIDERR(WriteEcPoint(params.G1, k, &k_str, sizeof(k_str))); in TEST_F()
77 THROW_ON_EPIDERR(WriteEcPoint(params.G1, l, &l_str, sizeof(l_str))); in TEST_F()
78 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
115 WriteEcPoint(params.G1, p1_exp_r, &p1_exp_r_str, sizeof(p1_exp_r_str))); in TEST_F()
118 WriteEcPoint(params.G1, p2_exp_r, &p2_exp_r_str, sizeof(p2_exp_r_str))); in TEST_F()
121 THROW_ON_EPIDERR(WriteEcPoint(params.G1, k, &k_str, sizeof(k_str))); in TEST_F()
122 THROW_ON_EPIDERR(WriteEcPoint(params.G1, l, &l_str, sizeof(l_str))); in TEST_F()
123 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
[all …]
Dcommit-test.cc173 THROW_ON_EPIDERR(WriteEcPoint(params.G1, k, &k_str, sizeof(k_str))); in TEST_F()
201 THROW_ON_EPIDERR(WriteEcPoint(params.G1, l, &l_str, sizeof(l_str))); in TEST_F()
202 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
248 THROW_ON_EPIDERR(WriteEcPoint(epid2params.G1(), R, &R_str, sizeof(R_str))); in TEST_F()
279 THROW_ON_EPIDERR(WriteEcPoint(epid2params.G1(), R, &R_str, sizeof(R_str))); in TEST_F()
309 THROW_ON_EPIDERR(WriteEcPoint(epid2params.G1(), R, &R_str, sizeof(R_str))); in TEST_F()
Dsign-test.cc73 THROW_ON_EPIDERR(WriteEcPoint(params.G1, v1, &v1_str, sizeof(v1_str))); in IsSignatureValid()
74 THROW_ON_EPIDERR(WriteEcPoint(params.G1, v2, &v2_str, sizeof(v2_str))); in IsSignatureValid()
/external/epid-sdk/epid/common/math/unittests/
Decgroup-test.cc712 WriteEcPoint(this->efq, point, &g1_elem_str, sizeof(g1_elem_str)); in TEST_F()
719 sts = WriteEcPoint(this->efq2, point, &g2_elem_str, sizeof(g2_elem_str)); in TEST_F()
763 WriteEcPoint(this->efq, this->efq_a, &g1_elem_str, sizeof(g1_elem_str))); in TEST_F()
772 WriteEcPoint(this->efq, this->efq_a, &g1_elem_str, sizeof(g1_elem_str))); in TEST_F()
780 THROW_ON_EPIDERR(WriteEcPoint(this->efq2, this->efq2_r, &g2_elem_str, in TEST_F()
788 THROW_ON_EPIDERR(WriteEcPoint(this->efq2, this->efq2_r, &g2_elem_str, in TEST_F()
808 EXPECT_EQ(kEpidBadArgErr, WriteEcPoint(nullptr, this->efq_a, &g1_elem_str, in TEST_F()
810 EXPECT_EQ(kEpidBadArgErr, WriteEcPoint(this->efq, nullptr, &g1_elem_str, in TEST_F()
813 WriteEcPoint(this->efq, this->efq_a, nullptr, sizeof(g1_elem_str))); in TEST_F()
818 WriteEcPoint(this->efq, this->efq_a, &g1_elem_str, 0)); in TEST_F()
[all …]
/external/epid-sdk/epid/member/unittests/
Dprivateexp-test.cc93 THROW_ON_EPIDERR(WriteEcPoint(params.G1, r, &r_str, sizeof(r_str))); in TEST_F()
94 THROW_ON_EPIDERR(WriteEcPoint(params.G1, r_expected, &r_expected_str, in TEST_F()
121 THROW_ON_EPIDERR(WriteEcPoint(params.G1, r, &r_str, sizeof(r_str))); in TEST_F()
122 THROW_ON_EPIDERR(WriteEcPoint(params.G1, r_expected, &r_expected_str, in TEST_F()
149 THROW_ON_EPIDERR(WriteEcPoint(params.G1, r, &r_str, sizeof(r_str))); in TEST_F()
150 THROW_ON_EPIDERR(WriteEcPoint(params.G1, r_expected, &r_expected_str, in TEST_F()
/external/epid-sdk/epid/common/1.1/src/
Dcommitment.c64 result = WriteEcPoint(G1, R1, &values->R1, sizeof(values->R1)); in SetCalculatedEpid11CommitValues()
66 result = WriteEcPoint(G1, R2, &values->R2, sizeof(values->R2)); in SetCalculatedEpid11CommitValues()
68 result = WriteEcPoint(G3, R3, &values->R3, sizeof(values->R3)); in SetCalculatedEpid11CommitValues()
/external/epid-sdk/epid/member/src/
Dnrprove.c176 sts = WriteEcPoint(G1, t, &commit_out.T, sizeof(commit_out.T)); in EpidNrProve()
186 sts = WriteEcPoint(G1, B, &B_str, sizeof(B_str)); in EpidNrProve()
206 sts = WriteEcPoint(G1, t, &commit_out.R1, sizeof(commit_out.R1)); in EpidNrProve()
215 sts = WriteEcPoint(G1, t, &commit_out.R2, sizeof(commit_out.R2)); in EpidNrProve()
Dpresig.c176 sts = WriteEcPoint(G1, B, &precompsig->B, sizeof(precompsig->B)); in MemberComputePreSig()
186 sts = WriteEcPoint(G1, k, &precompsig->K, sizeof(precompsig->K)); in MemberComputePreSig()
189 sts = WriteEcPoint(G1, t, &precompsig->R1, sizeof(precompsig->R1)); in MemberComputePreSig()
203 sts = WriteEcPoint(G1, t, &precompsig->T, sizeof(precompsig->T)); in MemberComputePreSig()
Djoin.c90 sts = WriteEcPoint(G1, t, &request.F, sizeof(request.F)); in EpidCreateJoinRequest()
104 sts = WriteEcPoint(G1, e, &R, sizeof(R)); in EpidCreateJoinRequest()
Dsignbasic.c173 sts = WriteEcPoint(G1, B, &commit_out.B, sizeof(commit_out.B)); in EpidSignBasic()
190 sts = WriteEcPoint(G1, k, &commit_out.K, sizeof(commit_out.K)); in EpidSignBasic()
193 sts = WriteEcPoint(G1, t, &commit_out.R1, sizeof(commit_out.R1)); in EpidSignBasic()
Dhash_basename.c45 sts = WriteEcPoint(G1, B, B_str, sizeof(*B_str)); in HashBaseName()
Ddecompress_privkey.c197 result = WriteEcPoint(G1, priv_key_.A, &priv_key->A, sizeof(priv_key->A)); in EpidDecompressPrivKey()
/external/epid-sdk/epid/verifier/1.1/src/
Dnrverify.c227 res = WriteEcPoint(G3, R1, &commit_values->R1, sizeof(commit_values->R1)); in Epid11NrVerify()
229 res = WriteEcPoint(G3, R2, &commit_values->R2, sizeof(commit_values->R2)); in Epid11NrVerify()
/external/epid-sdk/epid/verifier/src/
Dnrverify.c215 WriteEcPoint(G1, r1_pt, &commit_values->r1, sizeof(commit_values->r1)); in EpidNrVerify()
218 WriteEcPoint(G1, r2_pt, &commit_values->r2, sizeof(commit_values->r2)); in EpidNrVerify()
Dcontext.c435 res = WriteEcPoint(ctx->epid2_params->G1, ctx->basename_hash, &(ver_rl->B), in EpidWriteVerifierRl()
477 WriteEcPoint(G1, ctx->basename_hash, &(ver_rl->B), sizeof(ver_rl->B)); in EpidBlacklistSig()
/external/epid-sdk/epid/common/src/
Dcommitment.c59 sts = WriteEcPoint(G1, R1, &values->R1, sizeof(values->R1)); in SetCalculatedCommitValues()
/external/epid-sdk/epid/common/math/
Decgroup.h165 EpidStatus WriteEcPoint(EcGroup* g, EcPoint const* p, OctStr p_str,
/external/epid-sdk/epid/common-testhelper/
Decpoint_wrapper-testhelper.cc124 THROW_ON_EPIDERR(WriteEcPoint(state_->group_, state_->point_.get(), &buf[0], in data()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dcommit.c81 sts = WriteEcPoint(G1, p1, &p1_str, sizeof(p1_str)); in Tpm2Commit()
Dload_external.c80 sts = WriteEcPoint(G1, pub, &pub_str, sizeof(pub_str)); in Tpm2LoadExternal()
/external/epid-sdk/epid/common/math/src/
Dtatepairing.c361 result = WriteEcPoint(ps->gb, b, &b_str, sizeof(b_str)); in Epid11Pairing()
395 result = WriteEcPoint(ps->ga, a, &a_str, sizeof(a_str)); in Epid11Pairing()
Decgroup.c409 EpidStatus WriteEcPoint(EcGroup* g, EcPoint const* p, OctStr p_str, in WriteEcPoint() function
Dpairing.c424 result = WriteEcPoint(ps->ga, a, &first_val_str, sizeof(first_val_str)); in Pairing()
438 result = WriteEcPoint(ps->gb, b, &second_val_str, sizeof(second_val_str)); in Pairing()