Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
michael_mic.c File Reference
#include <crypto/internal/hash.h>
#include <asm/byteorder.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  michael_mic_ctx
 
struct  michael_mic_desc_ctx
 

Macros

#define michael_block(l, r)
 

Functions

 module_init (michael_mic_init)
 
 module_exit (michael_mic_exit)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DESCRIPTION ("Michael MIC")
 
 MODULE_AUTHOR ("Jouni Malinen <j@w1.fi>")
 

Macro Definition Documentation

#define michael_block (   l,
  r 
)
Value:
do { \
r ^= rol32(l, 17); \
l += r; \
r ^= xswap(l); \
l += r; \
r ^= rol32(l, 3); \
l += r; \
r ^= ror32(l, 2); \
l += r; \
} while (0)

Definition at line 37 of file michael_mic.c.

Function Documentation

MODULE_AUTHOR ( "Jouni Malinen <j@w1.fi>"  )
MODULE_DESCRIPTION ( "Michael MIC )
module_exit ( michael_mic_exit  )
module_init ( michael_mic_init  )
MODULE_LICENSE ( "GPL v2 )