Commit 3c498e87 authored by James Morris's avatar James Morris Committed by David S. Miller

[CRYPTO]: Uninline some functions to save some bloat.

parent b56bc16a
...@@ -1025,7 +1025,6 @@ static void des_small_fips_decrypt(u32 *expkey, u8 *dst, const u8 *src) ...@@ -1025,7 +1025,6 @@ static void des_small_fips_decrypt(u32 *expkey, u8 *dst, const u8 *src)
/* /*
* RFC2451: Weak key checks SHOULD be performed. * RFC2451: Weak key checks SHOULD be performed.
*/ */
static int setkey(u32 *expkey, const u8 *key, unsigned int keylen, u32 *flags) static int setkey(u32 *expkey, const u8 *key, unsigned int keylen, u32 *flags)
{ {
const u8 *k; const u8 *k;
......
...@@ -37,7 +37,7 @@ struct md4_ctx { ...@@ -37,7 +37,7 @@ struct md4_ctx {
u64 byte_count; u64 byte_count;
}; };
static u32 lshift(u32 x, unsigned int s) static inline u32 lshift(u32 x, unsigned int s)
{ {
x &= 0xFFFFFFFF; x &= 0xFFFFFFFF;
return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s));
...@@ -79,7 +79,7 @@ static inline void cpu_to_le32_array(u32 *buf, unsigned int words) ...@@ -79,7 +79,7 @@ static inline void cpu_to_le32_array(u32 *buf, unsigned int words)
} }
} }
static inline void md4_transform(u32 *hash, u32 const *in) static void md4_transform(u32 *hash, u32 const *in)
{ {
u32 a, b, c, d; u32 a, b, c, d;
......
...@@ -40,7 +40,7 @@ struct md5_ctx { ...@@ -40,7 +40,7 @@ struct md5_ctx {
u64 byte_count; u64 byte_count;
}; };
static inline void md5_transform(u32 *hash, u32 const *in) static void md5_transform(u32 *hash, u32 const *in)
{ {
u32 a, b, c, d; u32 a, b, c, d;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment