#include "common.h"
#include "Liveness.h"
-
#define SLOT_SIZE 2048
#define HMAC_SIZE 32
Array<char> *getHMAC() { return hmac; }
Array<char> *getPrevHMAC() { return prevhmac; }
Entry *addEntry(Entry *e);
- void removeEntry(Entry *e);
bool hasSpace(Entry *e);
Vector<Entry *> *getEntries();
Array<char> *encode(Mac *mac);
void decrementLiveCount();
bool isLive() { return livecount > 0; }
Array<char> *getSlotCryptIV();
- friend Slot *Slotdecode(Table *table, Array<char> *array, Mac *mac);
+ friend Slot *Slot_decode(Table *table, Array<char> *array, Mac *mac);
};
-Slot *Slotdecode(Table *table, Array<char> *array, Mac *mac);
+Slot *Slot_decode(Table *table, Array<char> *array, Mac *mac);
#endif