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 __attribute__ ((noinline)) sha_stream()
 Convert the given fixedpt number to a decimal string. More...
 
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.

◆ VSIZE

#define VSIZE   2

Definition at line 44 of file sha.h.

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

◆ __attribute__()

void __attribute__ ( (noinline)  )

Convert the given fixedpt number to a decimal string.

The max_dec argument specifies how many decimal digits to the right of the decimal point to generate. If set to -1, the "default" number of decimal digits will be used (2 for 32-bit fixedpt width, 10 for 64-bit fixedpt width); If set to -2, "all" of the digits will be returned, meaning there will be invalid, bogus digits outside the specified precisions.

Definition at line 1 of file atominIncrement.c.

◆ 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_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.

◆ indata

const BYTE indata[VSIZE][BLOCK_SIZE]

Definition at line 52 of file sha.h.

◆ sha_info_count_hi

INT32 sha_info_count_hi

Definition at line 33 of file sha.h.

◆ sha_info_count_lo

INT32 sha_info_count_lo

Definition at line 33 of file sha.h.

◆ sha_info_data

INT32 sha_info_data[16]

Definition at line 34 of file sha.h.

◆ sha_info_digest

INT32 sha_info_digest[5]

Definition at line 32 of file sha.h.


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