Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3c498e87
Commit
3c498e87
authored
Oct 29, 2002
by
James Morris
Committed by
David S. Miller
Oct 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CRYPTO]: Uninline some functions to save some bloat.
parent
b56bc16a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
crypto/des.c
crypto/des.c
+0
-1
crypto/md4.c
crypto/md4.c
+2
-2
crypto/md5.c
crypto/md5.c
+1
-1
No files found.
crypto/des.c
View file @
3c498e87
...
@@ -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
;
...
...
crypto/md4.c
View file @
3c498e87
...
@@ -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
;
...
...
crypto/md5.c
View file @
3c498e87
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment