aboutsummaryrefslogtreecommitdiff
path: root/cc3200/util/hash.h
diff options
context:
space:
mode:
authordanicampora2015-02-06 15:35:48 +0100
committerDamien George2015-02-06 22:10:11 +0000
commit8785645a952c03315dbf93667b5f7c7eec49762f (patch)
tree267e2d572d87e92bfc0bfabf83859231152a2162 /cc3200/util/hash.h
parent97f14606f528180d1482cffbe3571163a1dd9273 (diff)
cc3200: Add cc3200 port of MicroPython.
The port currently implements support for GPIO, RTC, ExtInt and the WiFi subsystem. A small file system is available in the serial flash. A bootloader which makes OTA updates possible, is also part of this initial implementation.
Diffstat (limited to 'cc3200/util/hash.h')
-rw-r--r--cc3200/util/hash.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cc3200/util/hash.h b/cc3200/util/hash.h
new file mode 100644
index 000000000..d13158461
--- /dev/null
+++ b/cc3200/util/hash.h
@@ -0,0 +1,10 @@
+#ifndef HASH_H_
+#define HASH_H_
+
+extern void HASH_Init (void);
+extern void HASH_SHAMD5Start (uint32_t algo, uint32_t blocklen);
+extern void HASH_SHAMD5Update (uint8_t *data, uint32_t datalen);
+extern void HASH_SHAMD5Read (uint8_t *hash);
+
+
+#endif /* HASH_H_ */