Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
md5.c File Reference
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/cryptohash.h>

Go to the source code of this file.

Macros

#define F1(x, y, z)   (z ^ (x & (y ^ z)))
 
#define F2(x, y, z)   F1(z, x, y)
 
#define F3(x, y, z)   (x ^ y ^ z)
 
#define F4(x, y, z)   (y ^ (x | ~z))
 
#define MD5STEP(f, w, x, y, z, in, s)   (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
 

Functions

void md5_transform (__u32 *hash, __u32 const *in)
 
 EXPORT_SYMBOL (md5_transform)
 

Macro Definition Documentation

#define F1 (   x,
  y,
 
)    (z ^ (x & (y ^ z)))

Definition at line 5 of file md5.c.

#define F2 (   x,
  y,
 
)    F1(z, x, y)

Definition at line 6 of file md5.c.

#define F3 (   x,
  y,
 
)    (x ^ y ^ z)

Definition at line 7 of file md5.c.

#define F4 (   x,
  y,
 
)    (y ^ (x | ~z))

Definition at line 8 of file md5.c.

#define MD5STEP (   f,
  w,
  x,
  y,
  z,
  in,
  s 
)    (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)

Definition at line 10 of file md5.c.

Function Documentation

EXPORT_SYMBOL ( md5_transform  )
void md5_transform ( __u32 hash,
__u32 const in 
)

Definition at line 13 of file md5.c.