summaryrefslogtreecommitdiff
path: root/arm9/lib/include/dgt.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-07-23 01:11:15 +0100
committerred031000 <rubenru09@aol.com>2021-07-23 01:12:27 +0100
commit5bf13c7f48fe91c7902ce50250bc1a5a2398a2ae (patch)
tree2e91e60bdb7a9174b16d8ca1b532809d4ae2e5b6 /arm9/lib/include/dgt.h
parentc2d91a2d997afd01fa4f40e1e16d5ee85557c9a8 (diff)
separate out libs to libc, libnns and NitroSDK
Diffstat (limited to 'arm9/lib/include/dgt.h')
-rw-r--r--arm9/lib/include/dgt.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/arm9/lib/include/dgt.h b/arm9/lib/include/dgt.h
deleted file mode 100644
index 97916f1b..00000000
--- a/arm9/lib/include/dgt.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef GUARD_DGT_H
-#define GUARD_DGT_H
-
-#include "nitro/types.h"
-
-struct DGTHash1Context {
- union {
- struct {
- unsigned long a, b, c, d;
- };
- unsigned long state[4];
- };
- unsigned long long length;
- union {
- unsigned long buffer32[16];
- unsigned char buffer8[64];
- };
-};
-
-struct DGTHash2Context {
- unsigned long Intermediate_Hash[5];
- unsigned long Length_Low;
- unsigned long Length_High;
- int Message_Block_Index;
- unsigned char Message_Block[64];
- int Computed;
- int Corrupted;
-};
-
-void DGT_Hash1Reset(struct DGTHash1Context *context);
-void DGT_Hash1SetSource(struct DGTHash1Context *context, u8 *input, u32 length);
-void DGT_Hash1GetDigest_R(u8 *digest, struct DGTHash1Context *context);
-void DGT_Hash2Reset(struct DGTHash2Context *context);
-void DGT_Hash2SetSource(struct DGTHash2Context *context, u8 *input, u32 length);
-void DGT_Hash2GetDigest(struct DGTHash2Context *context, u8 *digest);
-
-#endif