/external/epid-sdk/epid/common/ |
D | types.h | 108 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/ |
D | ffelement-test.cc | 51 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 …]
|
D | printutils-test.cc | 50 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 = {
|
D | finitefield-test.cc | 43 FqElemStr beta = {{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0xF0, 0xCD, 74 FqElemStr qnr = {{0x08, 0x66, 0xA7, 0x67, 0x36, 0x6E, 0x62, 0x71,
|
D | ecgroup-test.cc | 67 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/ |
D | serialize.c | 96 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/ |
D | types.h | 60 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/ |
D | tpm2-testhelper.h | 35 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;
|
D | tpm2-testhelper.cc | 77 const FqElemStr EpidTpm2Test::kY2Sha256Str = { 98 const FqElemStr EpidTpm2Test::kY2Sha384Str = { 119 const FqElemStr EpidTpm2Test::kY2Sha512Str = { 140 const FqElemStr EpidTpm2Test::kY2Sha512256Str = {
|
D | commit-test.cc | 118 FqElemStr invalid_kY2Sha256Str = this->kY2Sha256Str; in TEST_F()
|
/external/epid-sdk/epid/member/tiny/math/unittests/ |
D | serialize-test.cc | 42 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/ |
D | epid_params-testhelper.h | 59 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_;
|
D | epid_params-testhelper.cc | 124 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/ |
D | serialize.h | 31 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/ |
D | epid_params-testhelper.h | 60 static const FqElemStr beta_str_; 64 static const FqElemStr b_str_; 65 static const FqElemStr h_str_;
|
D | epid_params-testhelper.cc | 109 const FqElemStr Epid20Params::beta_str_ = { 137 const FqElemStr Epid20Params::b_str_ = { 141 const FqElemStr Epid20Params::h_str_ = {
|
D | ffelement_wrapper-testhelper.h | 52 FfElementObj(FiniteFieldObj* ff, FqElemStr const& bytes);
|
D | ecgroup_wrapper-testhelper.cc | 64 const FqElemStr b_str = { in EcGroupObj()
|
D | ffelement_wrapper-testhelper.cc | 87 FfElementObj::FfElementObj(FiniteFieldObj* ff, FqElemStr const& bytes) in FfElementObj()
|
/external/epid-sdk/epid/common-testhelper/unittests/ |
D | ecgroup_wrapper-test.cc | 43 static const FqElemStr b_str; 52 const FqElemStr EcGroupObjTest::b_str = {
|
/external/epid-sdk/epid/common/math/src/ |
D | printutils.c | 171 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()
|
D | tatepairing.c | 57 Ipp32u x[sizeof(FqElemStr) / sizeof(Ipp32u)]; ///< element in Fq 342 FqElemStr one_fq = {0}; in Epid11Pairing()
|
D | pairing.c | 65 Ipp32u x[sizeof(FqElemStr) / sizeof(Ipp32u)]; ///< element in Fq
|
/external/epid-sdk/epid/common/math/ |
D | printutils.h | 181 void PrintFqElemStr(FqElemStr const* fq_elem_str, char const* var_name);
|
/external/epid-sdk/epid/member/tpm2/ibm_tss/ |
D | commit.c | 87 FqElemStr y2_str = {0}; in Tpm2Commit()
|