summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-19 00:24:57 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-19 00:25:33 +0000
commit6b07a6132fb641481b0f6daec2401f500cc58144 (patch)
treedd74c8865c68f9a934495d324f345db23b609a8d
parent2e2e404ff77e95dbe4fee0f19c91913a5888fb6f (diff)
downloadmicropython-6b07a6132fb641481b0f6daec2401f500cc58144.tar.gz
micropython-6b07a6132fb641481b0f6daec2401f500cc58144.zip
extmod/crypto: Add static keyword where it should be.
-rw-r--r--extmod/crypto-algorithms/sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/crypto-algorithms/sha256.c b/extmod/crypto-algorithms/sha256.c
index eb9c5c0733..bbc30ece7e 100644
--- a/extmod/crypto-algorithms/sha256.c
+++ b/extmod/crypto-algorithms/sha256.c
@@ -41,7 +41,7 @@ static const WORD k[64] = {
};
/*********************** FUNCTION DEFINITIONS ***********************/
-void sha256_transform(SHA256_CTX *ctx, const BYTE data[])
+static void sha256_transform(SHA256_CTX *ctx, const BYTE data[])
{
WORD a, b, c, d, e, f, g, h, i, j, t1, t2, m[64];