LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
sha.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _SHA_CTX
 

Macros

#define SHA1_BLOCK_LENGTH   64
 
#define SHA1_DIGEST_LENGTH   20
 

Typedefs

typedef unsigned int sha1_quadbyte
 
typedef unsigned char sha1_byte
 
typedef struct _SHA_CTX SHA_CTX
 

Functions

void SHA1_Init (SHA_CTX *context)
 
void SHA1_Update (SHA_CTX *context, sha1_byte *data, unsigned int len)
 
void SHA1_Final (sha1_byte digest[SHA1_DIGEST_LENGTH], SHA_CTX *context)
 

Macro Definition Documentation

◆ SHA1_BLOCK_LENGTH

#define SHA1_BLOCK_LENGTH   64

Definition at line 49 of file sha.h.

◆ SHA1_DIGEST_LENGTH

#define SHA1_DIGEST_LENGTH   20

Definition at line 50 of file sha.h.

Typedef Documentation

◆ sha1_byte

typedef unsigned char sha1_byte

Definition at line 39 of file sha.h.

◆ sha1_quadbyte

typedef unsigned int sha1_quadbyte

Definition at line 38 of file sha.h.

◆ SHA_CTX

typedef struct _SHA_CTX SHA_CTX

Function Documentation

◆ SHA1_Final()

void SHA1_Final ( sha1_byte  digest[SHA1_DIGEST_LENGTH],
SHA_CTX context 
)

Definition at line 131 of file sha1.c.

◆ SHA1_Init()

void SHA1_Init ( SHA_CTX context)

Definition at line 100 of file sha1.c.

◆ SHA1_Update()

void SHA1_Update ( SHA_CTX context,
sha1_byte data,
unsigned int  len 
)

Definition at line 111 of file sha1.c.