diff options
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/padlock-sha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/padlock-sha.c b/drivers/crypto/padlock-sha.c index f7010038033b..95e9971d1a70 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, | |||
112 | *dst++ = swab32(*src++); | 112 | *dst++ = swab32(*src++); |
113 | } | 113 | } |
114 | 114 | ||
115 | void padlock_do_sha1(const char *in, char *out, int count) | 115 | static void padlock_do_sha1(const char *in, char *out, int count) |
116 | { | 116 | { |
117 | /* We can't store directly to *out as it may be unaligned. */ | 117 | /* We can't store directly to *out as it may be unaligned. */ |
118 | /* BTW Don't reduce the buffer size below 128 Bytes! | 118 | /* 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) | |||
133 | padlock_output_block((uint32_t *)result, (uint32_t *)out, 5); | 133 | padlock_output_block((uint32_t *)result, (uint32_t *)out, 5); |
134 | } | 134 | } |
135 | 135 | ||
136 | void padlock_do_sha256(const char *in, char *out, int count) | 136 | static void padlock_do_sha256(const char *in, char *out, int count) |
137 | { | 137 | { |
138 | /* We can't store directly to *out as it may be unaligned. */ | 138 | /* We can't store directly to *out as it may be unaligned. */ |
139 | /* BTW Don't reduce the buffer size below 128 Bytes! | 139 | /* BTW Don't reduce the buffer size below 128 Bytes! |