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

Go to the source code of this file.

Data Structures

struct  _HMAC_SHA1_CTX
 

Macros

#define HMAC_SHA1_DIGEST_LENGTH   20
 
#define HMAC_SHA1_BLOCK_LENGTH   64
 

Typedefs

typedef struct _HMAC_SHA1_CTX HMAC_SHA1_CTX
 

Functions

void HMAC_SHA1_Init (HMAC_SHA1_CTX *ctx)
 
void HMAC_SHA1_UpdateKey (HMAC_SHA1_CTX *ctx, unsigned char *key, unsigned int keylen)
 
void HMAC_SHA1_EndKey (HMAC_SHA1_CTX *ctx)
 
void HMAC_SHA1_StartMessage (HMAC_SHA1_CTX *ctx)
 
void HMAC_SHA1_UpdateMessage (HMAC_SHA1_CTX *ctx, unsigned char *data, unsigned int datalen)
 
void HMAC_SHA1_EndMessage (unsigned char *out, HMAC_SHA1_CTX *ctx)
 
void HMAC_SHA1_Done (HMAC_SHA1_CTX *ctx)
 
void HMAC_SHA1 (void *secret, void *data, void *res, int len)
 

Macro Definition Documentation

◆ HMAC_SHA1_BLOCK_LENGTH

#define HMAC_SHA1_BLOCK_LENGTH   64

Definition at line 58 of file hmac_sha1.h.

◆ HMAC_SHA1_DIGEST_LENGTH

#define HMAC_SHA1_DIGEST_LENGTH   20

Definition at line 57 of file hmac_sha1.h.

Typedef Documentation

◆ HMAC_SHA1_CTX

typedef struct _HMAC_SHA1_CTX HMAC_SHA1_CTX

Function Documentation

◆ HMAC_SHA1()

void HMAC_SHA1 ( void *  secret,
void *  data,
void *  res,
int  len 
)

Definition at line 190 of file hmac_sha1.c.

◆ HMAC_SHA1_Done()

void HMAC_SHA1_Done ( HMAC_SHA1_CTX ctx)

Definition at line 181 of file hmac_sha1.c.

◆ HMAC_SHA1_EndKey()

void HMAC_SHA1_EndKey ( HMAC_SHA1_CTX ctx)

Definition at line 133 of file hmac_sha1.c.

◆ HMAC_SHA1_EndMessage()

void HMAC_SHA1_EndMessage ( unsigned char *  out,
HMAC_SHA1_CTX ctx 
)

Definition at line 170 of file hmac_sha1.c.

◆ HMAC_SHA1_Init()

void HMAC_SHA1_Init ( HMAC_SHA1_CTX ctx)

Definition at line 71 of file hmac_sha1.c.

◆ HMAC_SHA1_StartMessage()

void HMAC_SHA1_StartMessage ( HMAC_SHA1_CTX ctx)

Definition at line 161 of file hmac_sha1.c.

◆ HMAC_SHA1_UpdateKey()

void HMAC_SHA1_UpdateKey ( HMAC_SHA1_CTX ctx,
unsigned char *  key,
unsigned int  keylen 
)

Definition at line 79 of file hmac_sha1.c.

◆ HMAC_SHA1_UpdateMessage()

void HMAC_SHA1_UpdateMessage ( HMAC_SHA1_CTX ctx,
unsigned char *  data,
unsigned int  datalen 
)

Definition at line 166 of file hmac_sha1.c.