AskSin++
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
as::KeyStore Class Reference
Inheritance diagram for as::KeyStore:
Inheritance graph
[legend]
Collaboration diagram for as::KeyStore:
Collaboration graph
[legend]

Public Member Functions

 KeyStore (uint16_t a)
 
void defaults () const
 
bool readKey (uint8_t *key) const
 
bool writeKey (uint8_t *key) const
 
uint8_t getIndex () const
 
bool setIndex (uint8_t idx) const
 
void init ()
 
void storeAuth (uint8_t c, const uint8_t *a)
 
void addAuth (Message &msg)
 
void fillInitVector (const Message &msg)
 
void applyVector (uint8_t *data)
 
bool challengeKey (const uint8_t *challenge, uint8_t index)
 
bool hasKey (uint8_t index)
 
bool exchange (AesExchangeMsg &msg)
 
 KeyStore (uint16_t a)
 
void defaults ()
 
void init ()
 
void addAuth (Message &msg)
 
- Public Member Functions inherited from as::BaseList
 BaseList (uint16_t a)
 
uint16_t address () const
 
bool valid () const
 
uint8_t getByte (uint8_t offset) const
 
uint8_t getByte (uint8_t offset, uint8_t mask, uint8_t shift) const
 
bool setByte (uint8_t offset, uint8_t data) const
 
bool setByte (uint8_t offset, uint8_t data, uint8_t mask, uint8_t shift) const
 
bool isBitSet (uint8_t offset, uint8_t bit) const
 
bool setBit (uint8_t offset, uint8_t bit, bool value) const
 
bool setData (uint8_t offset, uint8_t *buf, uint16_t size) const
 
bool getData (uint8_t offset, uint8_t *buf, uint16_t size) const
 
void clear (uint8_t offset, uint16_t size)
 
void init (const uint8_t *data, uint16_t size)
 

Static Public Member Functions

static uint16_t size ()
 
static uint16_t size ()
 

Public Attributes

uint8_t count
 
uint8_t auth [4]
 
aes128_ctx_t ctx
 
uint8_t initvector [16]
 
uint8_t keytmp [8]
 

Detailed Description

Definition at line 31 of file Sign.h.