LibXenon
Bare-metal Xbox 360 homebrew library
|
#include "sha.h"
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) |
#define HMAC_SHA1_BLOCK_LENGTH 64 |
Definition at line 58 of file hmac_sha1.h.
#define HMAC_SHA1_DIGEST_LENGTH 20 |
Definition at line 57 of file hmac_sha1.h.
typedef struct _HMAC_SHA1_CTX HMAC_SHA1_CTX |
void HMAC_SHA1 | ( | void * | secret, |
void * | data, | ||
void * | res, | ||
int | len | ||
) |
Definition at line 190 of file hmac_sha1.c.
void HMAC_SHA1_Done | ( | HMAC_SHA1_CTX * | ctx | ) |
Definition at line 181 of file hmac_sha1.c.
void HMAC_SHA1_EndKey | ( | HMAC_SHA1_CTX * | ctx | ) |
Definition at line 133 of file hmac_sha1.c.
void HMAC_SHA1_EndMessage | ( | unsigned char * | out, |
HMAC_SHA1_CTX * | ctx | ||
) |
Definition at line 170 of file hmac_sha1.c.
void HMAC_SHA1_Init | ( | HMAC_SHA1_CTX * | ctx | ) |
Definition at line 71 of file hmac_sha1.c.
void HMAC_SHA1_StartMessage | ( | HMAC_SHA1_CTX * | ctx | ) |
Definition at line 161 of file hmac_sha1.c.
void HMAC_SHA1_UpdateKey | ( | HMAC_SHA1_CTX * | ctx, |
unsigned char * | key, | ||
unsigned int | keylen | ||
) |
Definition at line 79 of file hmac_sha1.c.
void HMAC_SHA1_UpdateMessage | ( | HMAC_SHA1_CTX * | ctx, |
unsigned char * | data, | ||
unsigned int | datalen | ||
) |
Definition at line 166 of file hmac_sha1.c.