awds::AesCcmCryptoUnit Class Reference

#include <AesCcmCryptoUnit.h>

Inheritance diagram for awds::AesCcmCryptoUnit:

List of all members.

Public Member Functions

virtual void encrypt (void *data, size_t data_len, const MemoryBlock sg[])
bool decrypt (void *data, size_t data_len, const MemoryBlock sg[])
virtual bool decryptDupDetect (const NodeId &src, void *data, size_t data_len, const MemoryBlock sg[])
void setKey (void *key)
virtual void sign (void *data, size_t data_len, const MemoryBlock sg[])
virtual bool verifySignature (const NodeId &src, void *data, size_t data_len, const MemoryBlock sg[])
void test ()

Protected Member Functions

void storeNonce (void *data)
bool verifyNonce (const NodeId &src, const void *noncep_)
bool crypt (bool isDecrypt, void *data, size_t data_len, const MemoryBlock sg[])
char * saveNonsignArea (const MemoryBlock sg[])
void restoreNonsignArea (char *store, const MemoryBlock sg[])


Detailed Description

this is a 128 bit aes ccm implementation of the crypto unit

Member Function Documentation

void AesCcmCryptoUnit::sign ( void *  data,
size_t  data_len,
const MemoryBlock  sg[] 
) [virtual]

sign the packet and add a iv. The memory area defined by sg is EXLUDED from the signing.


The documentation for this class was generated from the following files:

Generated on Fri Mar 27 13:58:27 2009 for AWDS by  doxygen 1.5.8