/external/epid-sdk/epid/member/tiny/math/ |
D | efq.h | 26 typedef struct EccPointFq EccPointFq; typedef 54 int EFqAffineExp(EccPointFq* result, EccPointFq const* base, FpElem const* exp); 66 int EFqAffineMultiExp(EccPointFq* result, EccPointFq const* base0, 67 FpElem const* exp0, EccPointFq const* base1, 91 int EFqAffineAdd(EccPointFq* result, EccPointFq const* left, 92 EccPointFq const* right); 101 int EFqAffineDbl(EccPointFq* result, EccPointFq const* in); 127 int EFqRand(EccPointFq* result, BitSupplier rnd_func, void* rnd_param); 150 void EFqFromAffine(EccPointJacobiFq* result, EccPointFq const* in); 159 int EFqToAffine(EccPointFq* result, EccPointJacobiFq const* in); [all …]
|
D | serialize.h | 36 typedef struct EccPointFq EccPointFq; typedef 157 void* EFqSerialize(G1ElemStr* dest, EccPointFq const* src); 165 void const* EFqDeserialize(EccPointFq* dest, G1ElemStr const* src);
|
D | pairing.h | 27 typedef struct EccPointFq EccPointFq; typedef 45 void PairingCompute(Fq12Elem* d, EccPointFq const* P, EccPointFq2 const* Q,
|
D | mathtypes.h | 58 typedef struct EccPointFq { struct 61 } EccPointFq; argument
|
/external/epid-sdk/epid/member/tiny/math/unittests/ |
D | efq-test.cc | 85 EccPointFq efq_left = {0}; in TEST() 86 EccPointFq efq_right = {{{0x76abb18a, 0x92c0f7b9, 0x2c1a37e0, 0x7fdf6ca1, in TEST() 91 EccPointFq efq_expect = {{{0x79171d4b, 0x0f5ac562, 0x3b911d03, 0x0992a2dc, in TEST() 103 EccPointFq efq_right = {{{0x76abb18a, 0x92c0f7b9, 0x2c1a37e0, 0x7fdf6ca1, in TEST() 108 EccPointFq efq_expect = {{{0x79171d4b, 0x0f5ac562, 0x3b911d03, 0x0992a2dc, in TEST() 123 EccPointFq efq_left = {0}; in TEST() 124 EccPointFq efq_right = {{{0x76abb18a, 0x92c0f7b9, 0x2c1a37e0, 0x7fdf6ca1, in TEST() 129 EccPointFq efq_expect = {{{0x1a178986, 0xeeb06c08, 0x857d79f0, 0x246d0ed6, in TEST() 143 EccPointFq efq_left = {0}; in TEST() 144 EccPointFq efq_right = {{{0x76abb18a, 0x92c0f7b9, 0x2c1a37e0, 0x7fdf6ca1, in TEST() [all …]
|
D | cmp-testhelper.h | 29 typedef struct EccPointFq EccPointFq; typedef 54 bool operator==(EccPointFq const& lhs, EccPointFq const& rhs);
|
D | cmp-testhelper.cc | 57 bool operator==(EccPointFq const& lhs, EccPointFq const& rhs) { in operator ==()
|
D | serialize-test.cc | 358 const EccPointFq efq_point = {fqelm, fqelm}; in TEST() 379 EccPointFq efq_point = {0}; in TEST() 382 const EccPointFq expected_efq_point = {fqelm, fqelm}; in TEST()
|
D | pairing-test.cc | 34 const EccPointFq a = {{0xf67c8483, 0xbaceaf8d, 0xfcaa5567, 0x8ac94411, in TEST()
|
/external/epid-sdk/epid/member/tiny/src/ |
D | native_types.h | 27 EccPointFq h1; ///< an element in G1 28 EccPointFq h2; ///< an element in G1 35 EccPointFq A; ///< an element in G1 55 EccPointFq B; ///< an element in G1 56 EccPointFq K; ///< an element in G1 57 EccPointFq T; ///< an element in G1
|
D | nrprove.c | 31 static const EccPointFq epid20_g1 = { 46 EccPointFq tmp_efq; in EpidNrProve() 47 EccPointFq B_tick; in EpidNrProve() 48 EccPointFq K_tick; in EpidNrProve()
|
D | presig_compute.h | 36 EccPointFq T; ///< an element in G1 37 EccPointFq R1; ///< an element in G1
|
D | createjoinrequest.c | 65 EccPointFq F; in EpidCreateJoinRequest() 66 EccPointFq R_str; in EpidCreateJoinRequest()
|
D | validate.c | 39 static EccPointFq const epid20_g1 = { 60 EccPointFq t2_affine; in MembershipCredentialIsInGroup()
|
D | presig_compute.c | 28 static const EccPointFq epid20_g1 = { 47 EccPointFq t; in EpidMemberComputePreSig()
|
/external/epid-sdk/epid/member/tiny/math/src/ |
D | efq.c | 27 static int EFqMakePoint(EccPointFq* output, FqElem* in) { in EFqMakePoint() 59 int EFqAffineExp(EccPointFq* result, EccPointFq const* base, in EFqAffineExp() 67 int EFqAffineMultiExp(EccPointFq* result, EccPointFq const* base0, in EFqAffineMultiExp() 68 FpElem const* exp0, EccPointFq const* base1, in EFqAffineMultiExp() 111 int EFqAffineAdd(EccPointFq* result, EccPointFq const* left, in EFqAffineAdd() 112 EccPointFq const* right) { in EFqAffineAdd() 124 int EFqAffineDbl(EccPointFq* result, EccPointFq const* in) { in EFqAffineDbl() 214 int EFqRand(EccPointFq* result, BitSupplier rnd_func, void* rnd_param) { in EFqRand() 234 void EFqFromAffine(EccPointJacobiFq* result, EccPointFq const* in) { in EFqFromAffine() 240 int EFqToAffine(EccPointFq* result, EccPointJacobiFq const* in) { in EFqToAffine() [all …]
|
D | serialize.c | 186 void* EFqSerialize(G1ElemStr* dest, EccPointFq const* src) { in EFqSerialize() 197 void const* EFqDeserialize(EccPointFq* dest, G1ElemStr const* src) { in EFqDeserialize()
|
D | pairing.c | 148 Fq2Elem* Z2, EccPointFq const* P) { in pair_tangent() 194 Fq2Elem* Z2, EccPointFq const* P, EccPointFq2 const* Q) { in pair_line() 241 void PairingCompute(Fq12Elem* d, EccPointFq const* P, EccPointFq2 const* Q, in PairingCompute()
|