#ifndef FIELDELEMENTGF2KNB_H #define FIELDELEMENTGF2KNB_H #include "FieldElementGF2k.h" // Specialization of the FieldElementGF2k class for the case of a normal // basis representation. This adds a new population count method, required // for testing the distinguished point characteristic in the case of Koblitz // curves. class FieldElementGF2kNB : public FieldElementGF2k { public: // Performs a population count (count set bits) on the current field // element, viewed as a string of bits. virtual int populationCount() = 0; }; #endif // FIELDELEMENTGF2KNB_H