Skip to content

Commit

Permalink
[CRYPTO] padlock-sha: Make 2 functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Herbert Xu committed Sep 21, 2006
1 parent 6c83327 commit cb17530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/padlock-sha.c
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand All @@ -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!
Expand Down

0 comments on commit cb17530

Please sign in to comment.