We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df9f21 commit a6f58b6Copy full SHA for a6f58b6
include/crypto/sha.h
@@ -18,6 +18,15 @@ extern "C" {
18
*/
19
void sha1(const unsigned char *input, int ilen, unsigned char output[20]);
20
21
+/**
22
+ * @brief Calculate sha256 hash
23
+ *
24
+ * @param input [in] Input data buffer
25
+ * @param ilen [in] Input data length
26
+ * @param output [out] Output buffer to store hash
27
+ */
28
+void sha256(const unsigned char *input, int ilen, unsigned char output[32]);
29
+
30
#ifdef __cplusplus
31
}
32
#endif
0 commit comments