

Public Member Functions | |
| const AbstractRing & | GetRing () const |
| bool | Equal (const Element &a, const Element &b) const |
| const Element & | Identity () const |
| const Element & | Add (const Element &a, const Element &b) const |
| Element & | Accumulate (Element &a, const Element &b) const |
| const Element & | Inverse (const Element &a) const |
| const Element & | Subtract (const Element &a, const Element &b) const |
| Element & | Reduce (Element &a, const Element &b) const |
| const Element & | Double (const Element &a) const |
| Element | ScalarMultiply (const Element &a, const Integer &e) const |
| Element | CascadeScalarMultiply (const Element &x, const Integer &e1, const Element &y, const Integer &e2) const |
| void | SimultaneousMultiply (Element *results, const Element &base, const Integer *exponents, unsigned int exponentsCount) const |
Public Attributes | |
| const AbstractRing * | m_pRing |
Definition at line 100 of file algebra.hpp.
| Element& TaoCrypt::AbstractRing::MultiplicativeGroupT::Accumulate | ( | Element & | a, | |
| const Element & | b | |||
| ) | const [inline, virtual] |
Reimplemented from TaoCrypt::AbstractGroup.
Definition at line 115 of file algebra.hpp.
00116 {return a = GetRing().Multiply(a, b);}
| const Element& TaoCrypt::AbstractRing::MultiplicativeGroupT::Add | ( | const Element & | a, | |
| const Element & | b | |||
| ) | const [inline, virtual] |
Implements TaoCrypt::AbstractGroup.
Definition at line 112 of file algebra.hpp.
00113 {return GetRing().Multiply(a, b);}
| Element TaoCrypt::AbstractRing::MultiplicativeGroupT::CascadeScalarMultiply | ( | const Element & | x, | |
| const Integer & | e1, | |||
| const Element & | y, | |||
| const Integer & | e2 | |||
| ) | const [inline, virtual] |
Reimplemented from TaoCrypt::AbstractGroup.
Definition at line 133 of file algebra.hpp.
References x.
| const Element& TaoCrypt::AbstractRing::MultiplicativeGroupT::Double | ( | const Element & | a | ) | const [inline, virtual] |
Reimplemented from TaoCrypt::AbstractGroup.
Definition at line 127 of file algebra.hpp.
00128 {return GetRing().Square(a);}
| bool TaoCrypt::AbstractRing::MultiplicativeGroupT::Equal | ( | const Element & | a, | |
| const Element & | b | |||
| ) | const [inline, virtual] |
Implements TaoCrypt::AbstractGroup.
Definition at line 106 of file algebra.hpp.
00107 {return GetRing().Equal(a, b);}
| const AbstractRing& TaoCrypt::AbstractRing::MultiplicativeGroupT::GetRing | ( | ) | const [inline] |
| const Element& TaoCrypt::AbstractRing::MultiplicativeGroupT::Identity | ( | ) | const [inline, virtual] |
Implements TaoCrypt::AbstractGroup.
Definition at line 109 of file algebra.hpp.
00110 {return GetRing().MultiplicativeIdentity();}
| const Element& TaoCrypt::AbstractRing::MultiplicativeGroupT::Inverse | ( | const Element & | a | ) | const [inline, virtual] |
Implements TaoCrypt::AbstractGroup.
Definition at line 118 of file algebra.hpp.
References TaoCrypt::Integer::MultiplicativeInverse().
00119 {return GetRing().MultiplicativeInverse(a);}
Here is the call graph for this function:

| Element& TaoCrypt::AbstractRing::MultiplicativeGroupT::Reduce | ( | Element & | a, | |
| const Element & | b | |||
| ) | const [inline, virtual] |
Reimplemented from TaoCrypt::AbstractGroup.
Definition at line 124 of file algebra.hpp.
References TaoCrypt::Integer::Divide().
00125 {return a = GetRing().Divide(a, b);}
Here is the call graph for this function:

| Element TaoCrypt::AbstractRing::MultiplicativeGroupT::ScalarMultiply | ( | const Element & | a, | |
| const Integer & | e | |||
| ) | const [inline, virtual] |
Reimplemented from TaoCrypt::AbstractGroup.
Definition at line 130 of file algebra.hpp.
References e.
| void TaoCrypt::AbstractRing::MultiplicativeGroupT::SimultaneousMultiply | ( | Element * | results, | |
| const Element & | base, | |||
| const Integer * | exponents, | |||
| unsigned int | exponentsCount | |||
| ) | const [inline, virtual] |
Reimplemented from TaoCrypt::AbstractGroup.
Definition at line 137 of file algebra.hpp.
00139 {GetRing().SimultaneousExponentiate(results, base, exponents, 00140 exponentsCount);}
| const Element& TaoCrypt::AbstractRing::MultiplicativeGroupT::Subtract | ( | const Element & | a, | |
| const Element & | b | |||
| ) | const [inline, virtual] |
Reimplemented from TaoCrypt::AbstractGroup.
Definition at line 121 of file algebra.hpp.
00122 {return GetRing().Divide(a, b);}
Definition at line 142 of file algebra.hpp.
1.4.7

