lkml.org 
[lkml]   [2006]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] drivers/crypto/padlock-sha.c: make 2 functions static
    On Thu, Jul 13, 2006 at 10:48:00PM -0700, Andrew Morton wrote:
    >...
    > Changes since 2.6.18-rc1-mm1:
    >...
    > git-cryptodev.patch
    >
    > git trees.
    >...

    This patch makes two needlessly global functions static.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---

    drivers/crypto/padlock-sha.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- linux-2.6.18-rc1-mm2-full/drivers/crypto/padlock-sha.c.old 2006-07-14 23:25:40.000000000 +0200
    +++ linux-2.6.18-rc1-mm2-full/drivers/crypto/padlock-sha.c 2006-07-14 23:25:54.000000000 +0200
    @@ -112,7 +112,7 @@
    *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 @@
    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!
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-15 02:39    [W:4.123 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site