/external/epid-sdk/example/util/src/ |
D | convutil.c | 34 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 37 if ((int)alg < 0 || (size_t)alg >= COUNT_OF(hash_alg_to_string)) in HashAlgToString() 45 for (i = 0; i < COUNT_OF(hash_alg_to_string); i++) { in StringToHashAlg() 57 if ((int)version < 0 || (size_t)version >= COUNT_OF(epid_version_to_string)) in EpidVersionToString() 65 for (i = 0; i < COUNT_OF(epid_version_to_string); i++) { in StringToEpidVersion() 79 if ((int)type < 0 || (size_t)type >= COUNT_OF(epid_file_type_to_string)) in EpidFileTypeToString() 87 for (i = 0; i < COUNT_OF(epid_file_type_to_string); i++) { in StringToEpidFileType()
|
/external/epid-sdk/epid/common/math/unittests/ |
D | finitefield-test.cc | 33 #ifndef COUNT_OF 34 #define COUNT_OF(a) (sizeof(a) / sizeof((a)[0])) macro 202 nullptr, coeffs, COUNT_OF(coeffs), &ext_finite_field_ptr)); in TEST() 235 FiniteFieldObj fqd(fq, coeffs, COUNT_OF(coeffs)); in TEST()
|
D | ffelement-test.cc | 42 #ifndef COUNT_OF 43 #define COUNT_OF(a) (sizeof(a) / sizeof((a)[0])) macro 122 COUNT_OF(bn_epid11_fq_coeffs)); in SetUp()
|
/external/epid-sdk/epid/common-testhelper/1.1/ |
D | epid_params-testhelper.cc | 36 #ifndef COUNT_OF 37 #define COUNT_OF(a) (sizeof(a) / sizeof((a)[0])) macro 65 FiniteFieldObj fqd(fq, this->coeffs_str_, COUNT_OF(this->coeffs_str_)); in Epid11ParamsObj()
|
/external/epid-sdk/epid/verifier/1.1/src/ |
D | verifybasic.c | 34 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 284 res = EcMultiExpBn(G1, points, exponents, COUNT_OF(points), R1); in Epid11VerifyBasicSig() 300 res = EcMultiExpBn(G1, points, exponents, COUNT_OF(points), R2); in Epid11VerifyBasicSig() 316 res = EcMultiExpBn(G3, points, exponents, COUNT_OF(points), R3); in Epid11VerifyBasicSig() 330 res = EcMultiExpBn(G1, points, exponents, COUNT_OF(points), t1); in Epid11VerifyBasicSig() 360 res = FfMultiExpBn(GT, points, exponents, COUNT_OF(points), t3); in Epid11VerifyBasicSig()
|
D | nrverify.c | 33 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 185 res = EcMultiExpBn(G3, points, exponents, COUNT_OF(points), R1); in Epid11NrVerify() 208 res = EcMultiExpBn(G3, points, exponents, COUNT_OF(points), R2); in Epid11NrVerify()
|
/external/epid-sdk/epid/verifier/src/ |
D | verifybasic.c | 33 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 231 res = EcMultiExp(G1, points, exponents, COUNT_OF(points), R1); in EpidVerifyBasicSig() 244 res = EcMultiExp(G2, points, exponents, COUNT_OF(points), t1); in EpidVerifyBasicSig() 267 res = FfMultiExp(GT, points, exponents, COUNT_OF(points), t2); in EpidVerifyBasicSig()
|
/external/epid-sdk/epid/member/unittests/ |
D | presig-test.cc | 38 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro
|
D | signbasic-test.cc | 40 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 539 lengths[COUNT_OF(lengths) - 1]); // allocate message for max size in TEST_F()
|
D | sign-test.cc | 39 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 1055 lengths[COUNT_OF(lengths) - 1]); // allocate message for max size in TEST_F() 1086 lengths[COUNT_OF(lengths) - 1]); // allocate message for max size in TEST_F()
|
/external/epid-sdk/epid/member/tiny/unittests/ |
D | presig-test.cc | 38 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro
|
D | sign-test.cc | 38 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 977 lengths[COUNT_OF(lengths) - 1]); // allocate message for max size in TEST_F() 1008 lengths[COUNT_OF(lengths) - 1]); // allocate message for max size in TEST_F()
|
/external/epid-sdk/epid/member/src/ |
D | presig.c | 42 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 264 sts = FfMultiExp(GT, points, exponents, COUNT_OF(points), R2); in MemberComputePreSig()
|
D | nrprove.c | 42 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 174 sts = EcSscmMultiExp(G1, points, exponents, COUNT_OF(points), t); in EpidNrProve()
|
D | signbasic.c | 44 #define COUNT_OF(A) (sizeof(A) / sizeof((A)[0])) macro 225 sts = FfMultiExp(GT, points, exponents, COUNT_OF(points), R2); in EpidSignBasic()
|
/external/epid-sdk/epid/common/1.1/src/ |
D | epid11params.c | 32 #define COUNT_OF(a) (sizeof(a) / sizeof((a)[0])) macro
|
/external/epid-sdk/epid/common/math/src/ |
D | tatepairing.c | 52 #define COUNT_OF(a) (sizeof(a) / sizeof((a)[0])) macro
|