Searched refs:Fq6Elem (Results 1 – 8 of 8) sorted by relevance
/external/epid-sdk/epid/member/tiny/math/ |
D | fq6.h | 25 typedef struct Fq6Elem Fq6Elem; typedef 34 void Fq6Add(Fq6Elem* result, Fq6Elem const* left, Fq6Elem const* right); 42 void Fq6Sub(Fq6Elem* result, Fq6Elem const* left, Fq6Elem const* right); 50 void Fq6Mul(Fq6Elem* result, Fq6Elem const* left, Fq6Elem const* right); 57 void Fq6Inv(Fq6Elem* result, Fq6Elem const* in); 64 void Fq6Neg(Fq6Elem* result, Fq6Elem const* in); 70 void Fq6Clear(Fq6Elem* result); 78 void Fq6MulScalar(Fq6Elem* result, Fq6Elem const* in, Fq2Elem const* scalar); 87 void Fq6MulV(Fq6Elem* result, Fq6Elem const* in); 96 int Fq6Eq(Fq6Elem const* left, Fq6Elem const* right); [all …]
|
D | mathtypes.h | 70 typedef struct Fq6Elem { struct 74 } Fq6Elem; argument 78 Fq6Elem z0; ///< A coefficent in Fq6 79 Fq6Elem z1; ///< A coefficent in Fq6
|
/external/epid-sdk/epid/member/tiny/math/unittests/ |
D | fq6-test.cc | 34 Fq6Elem expected = {{{0xf8898202, 0xb45883e0, 0x8d18168d, 0xf67a4288, in TEST() 46 Fq6Elem left = {{{0x22cfd6a2, 0x23e82f1e, 0xd50e1450, 0xe853e88c, 0xafa65357, in TEST() 58 Fq6Elem right = {{{0x848cdb73, 0x6399829e, 0xcaa20cc0, 0x1b02bff6, 0x2b477bd2, in TEST() 70 Fq6Elem actual = {0}; in TEST() 79 Fq6Elem expected = {{{0x4d162b42, 0x9377da5b, 0x1d041212, 0xda2d8e91, in TEST() 91 Fq6Elem left = {{{0x22cfd6a2, 0x23e82f1e, 0xd50e1450, 0xe853e88c, 0xafa65357, in TEST() 103 Fq6Elem right = {{{0x848cdb73, 0x6399829e, 0xcaa20cc0, 0x1b02bff6, 0x2b477bd2, in TEST() 115 Fq6Elem actual = {0}; in TEST() 124 Fq6Elem expected = {{{0xf45502f6, 0x81c1eb6d, 0xb43cb376, 0xd0da40d4, in TEST() 136 Fq6Elem left = {{{0x22cfd6a2, 0x23e82f1e, 0xd50e1450, 0xe853e88c, 0xafa65357, in TEST() [all …]
|
D | cmp-testhelper.h | 27 typedef struct Fq6Elem Fq6Elem; typedef 48 bool operator==(Fq6Elem const& lhs, Fq6Elem const& rhs);
|
D | cmp-testhelper.cc | 49 bool operator==(Fq6Elem const& lhs, Fq6Elem const& rhs) { in operator ==()
|
/external/epid-sdk/epid/member/tiny/math/src/ |
D | fq6.c | 24 void Fq6Add(Fq6Elem* result, Fq6Elem const* left, Fq6Elem const* right) { in Fq6Add() 30 void Fq6Sub(Fq6Elem* result, Fq6Elem const* left, Fq6Elem const* right) { in Fq6Sub() 36 void Fq6Mul(Fq6Elem* result, Fq6Elem const* left, Fq6Elem const* right) { in Fq6Mul() 72 void Fq6Inv(Fq6Elem* result, Fq6Elem const* in) { in Fq6Inv() 106 void Fq6Neg(Fq6Elem* result, Fq6Elem const* in) { in Fq6Neg() 112 void Fq6Clear(Fq6Elem* result) { in Fq6Clear() 118 void Fq6MulScalar(Fq6Elem* result, Fq6Elem const* in, Fq2Elem const* scalar) { in Fq6MulScalar() 124 void Fq6MulV(Fq6Elem* result, Fq6Elem const* in) { in Fq6MulV() 133 int Fq6Eq(Fq6Elem const* left, Fq6Elem const* right) { in Fq6Eq() 138 int Fq6IsZero(Fq6Elem const* in) { in Fq6IsZero() [all …]
|
D | fq12.c | 29 Fq6Elem const* right) { in Fq12MulScalar() 65 Fq6Elem tmpa; in Fq12Square() 66 Fq6Elem* temp_a = &tmpa; in Fq12Square() 78 Fq6Elem A; in Fq12Mul() 79 Fq6Elem B; in Fq12Mul() 80 Fq6Elem* t0 = &A; in Fq12Mul() 81 Fq6Elem* t1 = &B; in Fq12Mul() 232 Fq6Elem T0; in Fq12MulSpecial() 233 Fq6Elem T1; in Fq12MulSpecial() 234 Fq6Elem T2; in Fq12MulSpecial() [all …]
|
D | serialize.c | 129 static void* Fq6Serialize(Fq6ElemStr* dest, Fq6Elem const* src) { in Fq6Serialize() 136 static void const* Fq6Deserialize(Fq6Elem* dest, Fq6ElemStr const* src) { in Fq6Deserialize()
|