Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
michael.h File Reference

Go to the source code of this file.

Macros

#define ROL32(A, n)   ( ((A) << (n)) | ( ((A)>>(32-(n))) & ( (1UL << (n)) - 1 ) ) )
 
#define ROR32(A, n)   ROL32( (A), 32-(n) )
 

Functions

void MIC_vInit (unsigned long dwK0, unsigned long dwK1)
 
void MIC_vUnInit (void)
 
void MIC_vAppend (unsigned char *src, unsigned int nBytes)
 
void MIC_vGetMIC (unsigned long *pdwL, unsigned long *pdwR)
 

Macro Definition Documentation

#define ROL32 (   A,
  n 
)    ( ((A) << (n)) | ( ((A)>>(32-(n))) & ( (1UL << (n)) - 1 ) ) )

Definition at line 52 of file michael.h.

#define ROR32 (   A,
  n 
)    ROL32( (A), 32-(n) )

Definition at line 54 of file michael.h.

Function Documentation

void MIC_vAppend ( unsigned char src,
unsigned int  nBytes 
)

Definition at line 152 of file michael.c.

void MIC_vGetMIC ( unsigned long pdwL,
unsigned long pdwR 
)

Definition at line 162 of file michael.c.

void MIC_vInit ( unsigned long  dwK0,
unsigned long  dwK1 
)

Definition at line 134 of file michael.c.

void MIC_vUnInit ( void  )

Definition at line 141 of file michael.c.