OverSim
SHA1.h File Reference
#include <memory.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <string>

Go to the source code of this file.

Classes

union  SHA1_WORKSPACE_BLOCK
class  CSHA1

Macros

#define SHA1_UTILITY_FUNCTIONS
#define SHA1_STL_FUNCTIONS
#define SHA1_LITTLE_ENDIAN
#define SHA1_WIPE_VARIABLES
#define TCHAR   char
#define _T(__x)   (__x)
#define _tmain   main
#define _tprintf   printf
#define _getts   gets
#define _tcslen   strlen
#define _tfopen   fopen
#define _tcscpy   strcpy
#define _tcscat   strcat
#define _sntprintf   snprintf
#define UINT_8   unsigned char
#define UINT_32   unsigned int
#define INT_64   long long
#define UINT_64   unsigned long long

Macro Definition Documentation

#define _getts   gets

Definition at line 163 of file SHA1.h.

#define _sntprintf   snprintf

Definition at line 168 of file SHA1.h.

Referenced by CSHA1::ReportHash().

#define _T (   __x)    (__x)

Definition at line 160 of file SHA1.h.

Referenced by CSHA1::HashFile(), and CSHA1::ReportHash().

#define _tcscat   strcat

Definition at line 167 of file SHA1.h.

Referenced by CSHA1::ReportHash().

#define _tcscpy   strcpy

Definition at line 166 of file SHA1.h.

Referenced by CSHA1::ReportHash().

#define _tcslen   strlen

Definition at line 164 of file SHA1.h.

#define _tfopen   fopen

Definition at line 165 of file SHA1.h.

Referenced by CSHA1::HashFile().

#define _tmain   main

Definition at line 161 of file SHA1.h.

#define _tprintf   printf

Definition at line 162 of file SHA1.h.

#define INT_64   long long

Definition at line 200 of file SHA1.h.

#define SHA1_LITTLE_ENDIAN

Definition at line 140 of file SHA1.h.

#define SHA1_STL_FUNCTIONS

Definition at line 113 of file SHA1.h.

#define SHA1_UTILITY_FUNCTIONS

Definition at line 109 of file SHA1.h.

#define SHA1_WIPE_VARIABLES

Definition at line 147 of file SHA1.h.

#define TCHAR   char

Definition at line 157 of file SHA1.h.

Referenced by CSHA1::ReportHash(), and CSHA1::ReportHashStl().

#define UINT_32   unsigned int

Definition at line 191 of file SHA1.h.

Referenced by CSHA1::Final(), CSHA1::Transform(), and CSHA1::Update().

#define UINT_64   unsigned long long

Definition at line 208 of file SHA1.h.

#define UINT_8   unsigned char

Definition at line 180 of file SHA1.h.

Referenced by CSHA1::Final(), and CSHA1::HashFile().