SSBM Decomp
Loading...
Searching...
No Matches
crypt.h File Reference
#include <Runtime/platform.h>

Go to the source code of this file.

Functions

void HSD_Checksum (u8 *src, int len, void *dest)
 Simple additive checksum using the MD5 intial state. Not the MD5 algorithm.
int HSD_Encrypt (u8 *data, int len)
int HSD_Decrypt (u8 *data, int len)

Function Documentation

◆ HSD_Checksum()

void HSD_Checksum ( u8 * src,
int len,
void * dest )

Simple additive checksum using the MD5 intial state. Not the MD5 algorithm.

◆ HSD_Encrypt()

int HSD_Encrypt ( u8 * data,
int len )
Returns
0 if success, -1 if error

◆ HSD_Decrypt()

int HSD_Decrypt ( u8 * data,
int len )
Returns
0 if success, -1 if error