Home
last modified time | relevance | path

Searched refs:EccPointFq (Results 1 – 18 of 18) sorted by relevance

/external/epid-sdk/epid/member/tiny/math/
Defq.h26 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 …]
Dserialize.h36 typedef struct EccPointFq EccPointFq; typedef
157 void* EFqSerialize(G1ElemStr* dest, EccPointFq const* src);
165 void const* EFqDeserialize(EccPointFq* dest, G1ElemStr const* src);
Dpairing.h27 typedef struct EccPointFq EccPointFq; typedef
45 void PairingCompute(Fq12Elem* d, EccPointFq const* P, EccPointFq2 const* Q,
Dmathtypes.h58 typedef struct EccPointFq { struct
61 } EccPointFq; argument
/external/epid-sdk/epid/member/tiny/math/unittests/
Defq-test.cc85 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 …]
Dcmp-testhelper.h29 typedef struct EccPointFq EccPointFq; typedef
54 bool operator==(EccPointFq const& lhs, EccPointFq const& rhs);
Dcmp-testhelper.cc57 bool operator==(EccPointFq const& lhs, EccPointFq const& rhs) { in operator ==()
Dserialize-test.cc358 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()
Dpairing-test.cc34 const EccPointFq a = {{0xf67c8483, 0xbaceaf8d, 0xfcaa5567, 0x8ac94411, in TEST()
/external/epid-sdk/epid/member/tiny/src/
Dnative_types.h27 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
Dnrprove.c31 static const EccPointFq epid20_g1 = {
46 EccPointFq tmp_efq; in EpidNrProve()
47 EccPointFq B_tick; in EpidNrProve()
48 EccPointFq K_tick; in EpidNrProve()
Dpresig_compute.h36 EccPointFq T; ///< an element in G1
37 EccPointFq R1; ///< an element in G1
Dcreatejoinrequest.c65 EccPointFq F; in EpidCreateJoinRequest()
66 EccPointFq R_str; in EpidCreateJoinRequest()
Dvalidate.c39 static EccPointFq const epid20_g1 = {
60 EccPointFq t2_affine; in MembershipCredentialIsInGroup()
Dpresig_compute.c28 static const EccPointFq epid20_g1 = {
47 EccPointFq t; in EpidMemberComputePreSig()
/external/epid-sdk/epid/member/tiny/math/src/
Defq.c27 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 …]
Dserialize.c186 void* EFqSerialize(G1ElemStr* dest, EccPointFq const* src) { in EFqSerialize()
197 void const* EFqDeserialize(EccPointFq* dest, G1ElemStr const* src) { in EFqDeserialize()
Dpairing.c148 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()