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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dec2n.h34 typedef Field::Element FieldElement; typedef in class:EC2N
75 const FieldElement & GetA() const {return m_a;}
76 const FieldElement & GetB() const {return m_b;}
83 FieldElement m_a, m_b;
H A Decp.h34 typedef Integer FieldElement; typedef in class:ECP
39 ECP(const Integer &modulus, const FieldElement &a, const FieldElement &b)
79 const FieldElement & GetA() const {return m_a;}
80 const FieldElement & GetB() const {return m_b;}
87 FieldElement m_a, m_b;
H A Dec2n.cpp68 FieldElement z = m_field->Square(P.x);
151 const FieldElement &x = P.x, &y = P.y;
197 FieldElement t = m_field->Add(P.y, Q.y);
199 FieldElement x = m_field->Square(t);
217 FieldElement t = m_field->Divide(P.y, P.x);
H A Deccrypto.cpp77 return new EC2N(GF2NT(t2, t3, t4), EC2N::FieldElement(ssA, (size_t)ssA.MaxRetrievable()), EC2N::FieldElement(ssB, (size_t)ssB.MaxRetrievable()));
79 return new EC2N(GF2NPP(t0, t1, t2, t3, t4), EC2N::FieldElement(ssA, (size_t)ssA.MaxRetrievable()), EC2N::FieldElement(ssB, (size_t)ssB.MaxRetrievable()));
97 return new ECP(Integer(ssP, (size_t)ssP.MaxRetrievable()), ECP::FieldElement(ssA, (size_t)ssA.MaxRetrievable()), ECP::FieldElement(ssB, (size_t)ssB.MaxRetrievable()));
H A Decp.cpp179 const FieldElement &x = P.x, &y = P.y;
225 FieldElement t = GetField().Subtract(Q.y, P.y);
227 FieldElement x = GetField().Subtract(GetField().Subtract(GetField().Square(t), P.x), Q.x);
239 FieldElement t = GetField().Square(P.x);
242 FieldElement x = GetField().Subtract(GetField().Subtract(GetField().Square(t), P.x), P.x);
H A Dfipsalgt.cpp342 typename EC::FieldElement Qx(x, x.size());
343 typename EC::FieldElement Qy(y, y.size());
367 typename EC::FieldElement Qx(x, x.size());
368 typename EC::FieldElement Qy(y, y.size());

Completed in 64 milliseconds