Searched refs:FieldElement (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/crypto/
H A Dghash.h55 struct FieldElement { struct in class:crypto::GaloisHash
60 static FieldElement Add(const FieldElement& x, const FieldElement& y);
62 static FieldElement Double(const FieldElement& x);
65 static void MulAfterPrecomputation(const FieldElement* table,
66 FieldElement* x);
68 static void Mul16(FieldElement* x);
77 FieldElement y
[all...]
H A Dp224.h22 typedef uint32 FieldElement[8]; typedef in namespace:crypto::p224
35 FieldElement x, y, z;
H A Dghash.cc59 FieldElement x = {Get64(key), Get64(key+8)};
136 GaloisHash::FieldElement GaloisHash::Add(
137 const FieldElement& x,
138 const FieldElement& y) {
140 FieldElement z = {x.low^y.low, x.hi^y.hi};
145 GaloisHash::FieldElement GaloisHash::Double(const FieldElement& x) {
148 FieldElement xx;
166 void GaloisHash::MulAfterPrecomputation(const FieldElement* table,
167 FieldElement*
[all...]
H A Dp224.cc25 // Field elements are represented by a FieldElement, which is a typedef to an
26 // array of 8 uint32's. The value of a FieldElement, a, is:
33 using crypto::p224::FieldElement;
36 const FieldElement kP = {
41 void Contract(FieldElement* inout);
44 uint32 IsZero(const FieldElement& a) {
45 FieldElement minimal;
78 void Add(FieldElement* out, const FieldElement& a, const FieldElement
[all...]

Completed in 83 milliseconds