Home
last modified time | relevance | path

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

/external/epid-sdk/epid/common/
Dtypes.h108 typedef struct FqElemStr { struct
110 } FqElemStr; argument
114 FqElemStr x; ///< an integer between [0, q-1]
115 FqElemStr y; ///< an integer between [0, q-1]
120 FqElemStr x[2]; ///< an integer between [0, q-1]
121 FqElemStr y[2]; ///< an integer between [0, q-1]
126 FqElemStr x[12]; ///< an integer between [0, q-1]
137 FqElemStr b; ///< an integer between [0, q-1]
140 FqElemStr beta; ///< an integer between [0, q-1]
141 FqElemStr xi[2]; ///< array of integers between [0, q-1]
[all …]
/external/epid-sdk/epid/common/math/unittests/
Dffelement-test.cc51 bool operator==(BigNumStr const& lhs, FqElemStr const& rhs) { in operator ==()
55 bool operator==(FqElemStr const& lhs, BigNumStr const& rhs) { in operator ==()
59 bool operator==(FqElemStr const& lhs, FqElemStr const& rhs) { in operator ==()
207 static const FqElemStr fq_qm1_str;
211 static const FqElemStr fq_qm2_str;
223 static const FqElemStr fq_epid11_fq_qnr;
230 static const FqElemStr fq_0_str;
234 static const FqElemStr fq_1_str;
238 static const FqElemStr fq_2_str;
241 static const FqElemStr fq_3_str;
[all …]
Dprintutils-test.cc50 static const FqElemStr beta_str;
56 static const FqElemStr a1;
57 static const FqElemStr b1;
174 const FqElemStr PrintutilsTest::beta_str = {
238 const FqElemStr PrintutilsTest::a1 = {
242 const FqElemStr PrintutilsTest::b1 = {
Dfinitefield-test.cc43 FqElemStr beta = {{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0xF0, 0xCD,
74 FqElemStr qnr = {{0x08, 0x66, 0xA7, 0x67, 0x36, 0x6E, 0x62, 0x71,
Decgroup-test.cc67 static const FqElemStr param_beta = { in EFq2Params()
91 static const FqElemStr param_b = { in EFq2Params()
149 static const FqElemStr a1;
150 static const FqElemStr b1;
291 const FqElemStr EcGroupTest::a1 = {
295 const FqElemStr EcGroupTest::b1 = {
588 FqElemStr beta_str = {{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0xF0, 0xCD, in TEST_F()
/external/epid-sdk/epid/member/tiny/math/src/
Dserialize.c96 void* FqSerialize(FqElemStr* dest, FqElem const* src) { in FqSerialize()
106 void const* FqDeserialize(FqElem* dest, FqElemStr const* src) { in FqDeserialize()
188 dest = FqSerialize((FqElemStr*)dest, &src->x); in EFqSerialize()
189 dest = FqSerialize((FqElemStr*)dest, &src->y); in EFqSerialize()
199 src = FqDeserialize(&dest->x, (FqElemStr const*)src); in EFqDeserialize()
200 src = FqDeserialize(&dest->y, (FqElemStr const*)src); in EFqDeserialize()
210 dest = FqSerialize((FqElemStr*)dest, &src->x.x0); in EFq2Serialize()
211 dest = FqSerialize((FqElemStr*)dest, &src->x.x1); in EFq2Serialize()
212 dest = FqSerialize((FqElemStr*)dest, &src->y.x0); in EFq2Serialize()
213 dest = FqSerialize((FqElemStr*)dest, &src->y.x1); in EFq2Serialize()
[all …]
/external/epid-sdk/epid/common/1.1/
Dtypes.h60 FqElemStr a[3]; ///< polynomial coefficient
71 FqElemStr x[3]; ///< an integer between [0, q-1]
72 FqElemStr y[3]; ///< an integer between [0, q-1]
90 FqElemStr a; ///< an integer between [0, q-1]
91 FqElemStr b; ///< an integer between [0, q-1]
95 FqElemStr qnr; ///< a quadratic non-residue (an integer between [0, q-1])
100 FqElemStr a_tick; ///< an integer between [0, q-1]
101 FqElemStr b_tick; ///< an integer between [0, q-1]
/external/epid-sdk/epid/member/tpm2/unittests/
Dtpm2-testhelper.h35 typedef struct FqElemStr FqElemStr; typedef
51 static const FqElemStr kY2Sha256Str;
55 static const FqElemStr kY2Sha384Str;
59 static const FqElemStr kY2Sha512Str;
63 static const FqElemStr kY2Sha512256Str;
Dtpm2-testhelper.cc77 const FqElemStr EpidTpm2Test::kY2Sha256Str = {
98 const FqElemStr EpidTpm2Test::kY2Sha384Str = {
119 const FqElemStr EpidTpm2Test::kY2Sha512Str = {
140 const FqElemStr EpidTpm2Test::kY2Sha512256Str = {
Dcommit-test.cc118 FqElemStr invalid_kY2Sha256Str = this->kY2Sha256Str; in TEST_F()
/external/epid-sdk/epid/member/tiny/math/unittests/
Dserialize-test.cc42 bool operator==(FqElemStr const& lhs, FqElemStr const& rhs) { in operator ==()
118 FqElemStr serialize_fqelm = {0}; in TEST()
119 const FqElemStr expected_serialize_fqelm = { in TEST()
131 const FqElemStr serialize_fqelm = { in TEST()
359 const FqElemStr serialize_fqelm = { in TEST()
374 const FqElemStr serialize_fqelm = { in TEST()
394 const FqElemStr serialize_fqelm = { in TEST()
409 const FqElemStr serialize_fqelm = { in TEST()
/external/epid-sdk/epid/common-testhelper/1.1/
Depid_params-testhelper.h59 static const FqElemStr a_str_;
60 static const FqElemStr b_str_;
62 static const FqElemStr qnr_str;
69 static const FqElemStr a1_str_;
70 static const FqElemStr b1_str_;
Depid_params-testhelper.cc124 const FqElemStr Epid11ParamsObj::a_str_ = {
128 const FqElemStr Epid11ParamsObj::b_str_ = {
146 const FqElemStr Epid11ParamsObj::qnr_str = {
173 const FqElemStr Epid11ParamsObj::a1_str_ = {
177 const FqElemStr Epid11ParamsObj::b1_str_ = {
/external/epid-sdk/epid/member/tiny/math/
Dserialize.h31 typedef struct FqElemStr FqElemStr; typedef
109 void* FqSerialize(FqElemStr* dest, FqElem const* src);
117 void const* FqDeserialize(FqElem* dest, FqElemStr const* src);
/external/epid-sdk/epid/common-testhelper/
Depid_params-testhelper.h60 static const FqElemStr beta_str_;
64 static const FqElemStr b_str_;
65 static const FqElemStr h_str_;
Depid_params-testhelper.cc109 const FqElemStr Epid20Params::beta_str_ = {
137 const FqElemStr Epid20Params::b_str_ = {
141 const FqElemStr Epid20Params::h_str_ = {
Dffelement_wrapper-testhelper.h52 FfElementObj(FiniteFieldObj* ff, FqElemStr const& bytes);
Decgroup_wrapper-testhelper.cc64 const FqElemStr b_str = { in EcGroupObj()
Dffelement_wrapper-testhelper.cc87 FfElementObj::FfElementObj(FiniteFieldObj* ff, FqElemStr const& bytes) in FfElementObj()
/external/epid-sdk/epid/common-testhelper/unittests/
Decgroup_wrapper-test.cc43 static const FqElemStr b_str;
52 const FqElemStr EcGroupObjTest::b_str = {
/external/epid-sdk/epid/common/math/src/
Dprintutils.c171 if (ipp_ff_element_size == sizeof(FqElemStr)) { in PrintFfElement()
172 PrintFqElemStr((const FqElemStr*)&ff_element_str, var_name); in PrintFfElement()
318 void PrintFqElemStr(FqElemStr const* fq_elem_str, char const* var_name) { in PrintFqElemStr()
Dtatepairing.c57 Ipp32u x[sizeof(FqElemStr) / sizeof(Ipp32u)]; ///< element in Fq
342 FqElemStr one_fq = {0}; in Epid11Pairing()
Dpairing.c65 Ipp32u x[sizeof(FqElemStr) / sizeof(Ipp32u)]; ///< element in Fq
/external/epid-sdk/epid/common/math/
Dprintutils.h181 void PrintFqElemStr(FqElemStr const* fq_elem_str, char const* var_name);
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dcommit.c87 FqElemStr y2_str = {0}; in Tpm2Commit()