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
d95263f5
Commit
d95263f5
authored
May 07, 2004
by
Clay Haapala
Committed by
David S. Miller
May 07, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CRYPTO]: Fix typing in crc32c's chksum_update
parent
596fcdee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
crypto/crc32c.c
crypto/crc32c.c
+2
-2
No files found.
crypto/crc32c.c
View file @
d95263f5
...
@@ -56,12 +56,12 @@ static int chksum_setkey(void *ctx, const u8 *key, unsigned int keylen,
...
@@ -56,12 +56,12 @@ static int chksum_setkey(void *ctx, const u8 *key, unsigned int keylen,
return
0
;
return
0
;
}
}
static
void
chksum_update
(
void
*
ctx
,
const
u8
*
data
,
size_
t
length
)
static
void
chksum_update
(
void
*
ctx
,
const
u8
*
data
,
unsigned
in
t
length
)
{
{
struct
chksum_ctx
*
mctx
=
ctx
;
struct
chksum_ctx
*
mctx
=
ctx
;
u32
mcrc
;
u32
mcrc
;
mcrc
=
crc32c
(
mctx
->
crc
,
data
,
length
);
mcrc
=
crc32c
(
mctx
->
crc
,
data
,
(
size_t
)
length
);
mctx
->
crc
=
mcrc
;
mctx
->
crc
=
mcrc
;
}
}
...
...
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