PandA-2024.02
Macros | Typedefs | Functions | Variables
sha.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SHA_BLOCKSIZE   64
 
#define BLOCK_SIZE   8192
 
#define VSIZE   2
 

Typedefs

typedef unsigned char BYTE
 
typedef unsigned int INT32
 

Functions

void sha_init ()
 
void sha_update (const BYTE *, int)
 
void sha_final ()
 
void sha_stream ()
 
void sha_print ()
 

Variables

INT32 sha_info_digest [5]
 
INT32 sha_info_count_lo
 
INT32 sha_info_count_hi
 
INT32 sha_info_data [16]
 
const BYTE indata [VSIZE][BLOCK_SIZE]
 
const int in_i [VSIZE] = { 8192, 8192 }
 

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   8192

Definition at line 43 of file sha.h.

◆ SHA_BLOCKSIZE

#define SHA_BLOCKSIZE   64

Definition at line 30 of file sha.h.

Referenced by sha_update().

◆ VSIZE

#define VSIZE   2

Definition at line 44 of file sha.h.

Referenced by __attribute__(), and sha_stream().

Typedef Documentation

◆ BYTE

typedef unsigned char BYTE

Definition at line 27 of file sha.h.

◆ INT32

typedef unsigned int INT32

Definition at line 28 of file sha.h.

Function Documentation

◆ sha_final()

void sha_final ( )

Definition at line 177 of file sha.c.

◆ sha_init()

void sha_init ( )

Definition at line 142 of file sha.c.

◆ sha_print()

void sha_print ( )

◆ sha_stream()

void sha_stream ( )

Definition at line 204 of file sha.c.

References in_i, indata, sha_final(), sha_init(), sha_update(), and VSIZE.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sha_update()

void sha_update ( const BYTE ,
int   
)

Definition at line 156 of file sha.c.

Variable Documentation

◆ in_i

const int in_i[VSIZE] = { 8192, 8192 }

Definition at line 1136 of file sha.h.

Referenced by __attribute__(), and sha_stream().

◆ indata

const BYTE indata[VSIZE][BLOCK_SIZE]

Definition at line 52 of file sha.h.

Referenced by __attribute__(), blowfish_main(), main(), and sha_stream().

◆ sha_info_count_hi

INT32 sha_info_count_hi

Definition at line 33 of file sha.h.

Referenced by sha_final(), sha_init(), and sha_update().

◆ sha_info_count_lo

INT32 sha_info_count_lo

Definition at line 33 of file sha.h.

Referenced by sha_final(), sha_init(), and sha_update().

◆ sha_info_data

INT32 sha_info_data[16]

Definition at line 34 of file sha.h.

Referenced by sha_final(), sha_transform(), and sha_update().

◆ sha_info_digest

INT32 sha_info_digest[5]

Definition at line 32 of file sha.h.

Referenced by main(), sha_init(), and sha_transform().


Generated on Mon Feb 12 2024 13:03:08 for PandA-2024.02 by doxygen 1.8.13