提交 cb17530b 编写于 作者: A Adrian Bunk 提交者: Herbert Xu

[CRYPTO] padlock-sha: Make 2 functions static

This patch makes two needlessly global functions static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 6c833275
......@@ -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!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册