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 (DWORD dwK0, DWORD dwK1)
 
void MIC_vUnInit (void)
 
void MIC_vAppend (PBYTE src, unsigned int nBytes)
 
void MIC_vGetMIC (PDWORD pdwL, PDWORD 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 ( PBYTE  src,
unsigned int  nBytes 
)

Definition at line 151 of file michael.c.

void MIC_vGetMIC ( PDWORD  pdwL,
PDWORD  pdwR 
)

Definition at line 160 of file michael.c.

void MIC_vInit ( DWORD  dwK0,
DWORD  dwK1 
)

Definition at line 134 of file michael.c.

void MIC_vUnInit ( void  )

Definition at line 141 of file michael.c.