All pastes #915712 Raw Edit

Unnamed

public cpp v1 · immutable
#915712 ·published 2008-02-24 00:07 UTC
rendered paste body
#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<FieldElementGF2kNB>{	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