summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/crypto-algorithms/sha256.h
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/crypto-algorithms/sha256.h')
-rw-r--r--extmod/crypto-algorithms/sha256.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/extmod/crypto-algorithms/sha256.h b/extmod/crypto-algorithms/sha256.h
index 7123a30dd4..caa1f81020 100644
--- a/extmod/crypto-algorithms/sha256.h
+++ b/extmod/crypto-algorithms/sha256.h
@@ -24,11 +24,11 @@ typedef struct {
WORD datalen;
unsigned long long bitlen;
WORD state[8];
-} SHA256_CTX;
+} CRYAL_SHA256_CTX;
/*********************** FUNCTION DECLARATIONS **********************/
-void sha256_init(SHA256_CTX *ctx);
-void sha256_update(SHA256_CTX *ctx, const BYTE data[], size_t len);
-void sha256_final(SHA256_CTX *ctx, BYTE hash[]);
+void sha256_init(CRYAL_SHA256_CTX *ctx);
+void sha256_update(CRYAL_SHA256_CTX *ctx, const BYTE data[], size_t len);
+void sha256_final(CRYAL_SHA256_CTX *ctx, BYTE hash[]);
#endif // SHA256_H