Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sumversion.c File Reference
#include <netinet/in.h>
#include <stdint.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include <limits.h>
#include "modpost.h"

Go to the source code of this file.

Data Structures

struct  md4_ctx
 

Macros

#define MD4_DIGEST_SIZE   16
 
#define MD4_HMAC_BLOCK_SIZE   64
 
#define MD4_BLOCK_WORDS   16
 
#define MD4_HASH_WORDS   4
 
#define ROUND1(a, b, c, d, k, s)   (a = lshift(a + F(b,c,d) + k, s))
 
#define ROUND2(a, b, c, d, k, s)   (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s))
 
#define ROUND3(a, b, c, d, k, s)   (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s))
 

Functions

void get_src_version (const char *modname, char sum[], unsigned sumlen)
 
void maybe_frob_rcs_version (const char *modfilename, char *version, void *modinfo, unsigned long version_offset)
 

Macro Definition Documentation

#define MD4_BLOCK_WORDS   16

Definition at line 37 of file sumversion.c.

#define MD4_DIGEST_SIZE   16

Definition at line 35 of file sumversion.c.

#define MD4_HASH_WORDS   4

Definition at line 38 of file sumversion.c.

#define MD4_HMAC_BLOCK_SIZE   64

Definition at line 36 of file sumversion.c.

#define ROUND1 (   a,
  b,
  c,
  d,
  k,
  s 
)    (a = lshift(a + F(b,c,d) + k, s))

Definition at line 67 of file sumversion.c.

#define ROUND2 (   a,
  b,
  c,
  d,
  k,
  s 
)    (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s))

Definition at line 68 of file sumversion.c.

#define ROUND3 (   a,
  b,
  c,
  d,
  k,
  s 
)    (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s))

Definition at line 69 of file sumversion.c.

Function Documentation

void get_src_version ( const char modname,
char  sum[],
unsigned  sumlen 
)

Definition at line 400 of file sumversion.c.

void maybe_frob_rcs_version ( const char modfilename,
char version,
void modinfo,
unsigned long  version_offset 
)

Definition at line 512 of file sumversion.c.