summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-07-15 11:31:25 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-21 11:41:00 +1000
commitcb17530b0a4e01bd595a7ac437467a1a9833a15c (patch)
tree4d35d00a4827790e1aeca6ec4baeea299e45cc25 /drivers
parent6c833275152b454d311f0e70b5e6bf028b4a2aaf (diff)
downloadop-kernel-dev-cb17530b0a4e01bd595a7ac437467a1a9833a15c.zip
op-kernel-dev-cb17530b0a4e01bd595a7ac437467a1a9833a15c.tar.gz
[CRYPTO] padlock-sha: Make 2 functions static
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/padlock-sha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/padlock-sha.c b/drivers/crypto/padlock-sha.c
index f701003..95e9971 100644
--- a/drivers/crypto/padlock-sha.c
+++ b/drivers/crypto/padlock-sha.c
@@ -112,7 +112,7 @@ static inline void padlock_output_block(uint32_t *src,
*dst++ = swab32(*src++);
}
-void padlock_do_sha1(const char *in, char *out, int count)
+static void padlock_do_sha1(const char *in, char *out, int count)
{
/* We can't store directly to *out as it may be unaligned. */
/* BTW Don't reduce the buffer size below 128 Bytes!
@@ -133,7 +133,7 @@ void padlock_do_sha1(const char *in, char *out, int count)
padlock_output_block((uint32_t *)result, (uint32_t *)out, 5);
}
-void padlock_do_sha256(const char *in, char *out, int count)
+static void padlock_do_sha256(const char *in, char *out, int count)
{
/* We can't store directly to *out as it may be unaligned. */
/* BTW Don't reduce the buffer size below 128 Bytes!
OpenPOWER on IntegriCloud