Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
sha.cpp File Reference
#include "sha.h"
#include <iostream.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define min(a, b)
 
#define Reverse_LONG(a)
 

Functions

template<class T>
_rotl (T X, int n)
 
long _rotl (long X, int n)
 
unsigned long _rotl (unsigned long X, int n)
 
void memrev (char *buffer, size_t length)
 

Macro Definition Documentation

◆ min

#define min ( a,
b )
Value:
((a)<(b))?(a):(b)

Definition at line 47 of file sha.cpp.

◆ Reverse_LONG

#define Reverse_LONG ( a)
Value:
((a>>24)&0x000000FFL) | ((a>>8)&0x0000FF00L) | ((a<<8)&0x00FF0000L) | ((a<<24)&0xFF000000L)

Definition at line 161 of file sha.cpp.

Function Documentation

◆ _rotl() [1/3]

long _rotl ( long X,
int n )
inline

Definition at line 251 of file sha.cpp.

◆ _rotl() [2/3]

template<class T>
T _rotl ( T X,
int n )

Definition at line 247 of file sha.cpp.

◆ _rotl() [3/3]

unsigned long _rotl ( unsigned long X,
int n )
inline

Definition at line 256 of file sha.cpp.

◆ memrev()

void memrev ( char * buffer,
size_t length )

Definition at line 2227 of file mpmath.cpp.