awds::AesCcmCryptoUnit Class Reference

#include <AesCcmCryptoUnit.h>

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 Tue Dec 11 17:58:49 2007 for AWDS by  doxygen 1.5.3-20071008