Searched refs:FieldElement (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/crypto/ |
D | ghash.h | 55 struct FieldElement { struct 60 static FieldElement Add(const FieldElement& x, const FieldElement& y); argument 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_; 83 FieldElement product_table_[16];
|
D | ghash.cc | 59 FieldElement x = {Get64(key), Get64(key+8)}; in GaloisHash() 136 GaloisHash::FieldElement GaloisHash::Add( in Add() 137 const FieldElement& x, in Add() 138 const FieldElement& y) { in Add() 140 FieldElement z = {x.low^y.low, x.hi^y.hi}; in Add() 145 GaloisHash::FieldElement GaloisHash::Double(const FieldElement& x) { in Double() 148 FieldElement xx; in Double() 166 void GaloisHash::MulAfterPrecomputation(const FieldElement* table, in MulAfterPrecomputation() 167 FieldElement* x) { in MulAfterPrecomputation() 168 FieldElement z = {0, 0}; in MulAfterPrecomputation() [all …]
|
D | p224.cc | 33 using crypto::p224::FieldElement; 36 const FieldElement kP = { 41 void Contract(FieldElement* inout); 44 uint32 IsZero(const FieldElement& a) { in IsZero() 45 FieldElement minimal; in IsZero() 78 void Add(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Add() 90 static const FieldElement kZero31ModP = { 99 void Subtract(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Subtract() 126 void ReduceLarge(FieldElement* out, LargeFieldElement* inptr) { in ReduceLarge() 171 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Mul() [all …]
|
D | p224.h | 22 typedef uint32 FieldElement[8]; typedef 35 FieldElement x, y, z;
|