mirror of
https://github.com/mogzol/sharpii.git
synced 2024-11-16 23:49:16 +01:00
bc65416cf7
- You can now download an IOS with -ios # in NUSD - Downloaded IOS wads are now named like so: IOS##-64-####.wad - Under certain conditions, when downloading a wad with NUS, it will not be saved in a folder, just as the WAD (see ReadMe) - If missing dll's are detected (WadInstaller or libWiiSharp), Sharpii will ask to download them, if they are required. - You can now use a .dol file instead of a .wad with the '-dol' in the WAD editor/packer - Probably a few other little things I have forgotten - Even more code cleanup and bug fixes
13 lines
430 B
C
13 lines
430 B
C
typedef struct {
|
|
unsigned long state[5];
|
|
unsigned long count[2];
|
|
unsigned char buffer[64];
|
|
} SHA1_CTX;
|
|
|
|
void SHA1Transform(unsigned long state[5], unsigned char buffer[64]);
|
|
void SHA1Init(SHA1_CTX* context);
|
|
void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int len);
|
|
void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
|
|
|
|
void SHA1(unsigned char *ptr, unsigned int size, unsigned char *outbuf);
|