Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

EapCryptoAES_CBC_MAC Class Reference

This is a function object that calculates AES-CBC-MAC-{96,128}. More...

#include <eap_archie_crypto.hxx>

List of all members.

Public Types

enum  MAC_LengthType { MAC_Length96, MAC_Length128 }

Public Member Functions

void operator() (std::string &in, std::string &out, std::string &sharedSecret, MAC_LengthType lengthType)


Detailed Description

This is a function object that calculates AES-CBC-MAC-{96,128}.


Member Function Documentation

void EapCryptoAES_CBC_MAC::operator() std::string &  in,
std::string &  out,
std::string &  sharedSecret,
MAC_LengthType  lengthType
[inline]
 

The AES-CBC-MAC-{96,128} implementation.

Parameters:
in the string that stores data to be authenticated.
out the string where the resulting MIC is stored.
sharedSecret the string that stores a shared secret.
lengthType indicates either MAC_Length96 or MAC_Length128.


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:16:17 2004 for EAP State Machine by doxygen 1.3.5