Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
cab65491
Commit
cab65491
authored
Jun 02, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix previous buggy commit
parent
ac3353b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/misc/md5.c
src/misc/md5.c
+4
-4
No files found.
src/misc/md5.c
View file @
cab65491
...
...
@@ -174,7 +174,7 @@ void AddMD5( struct md5_s *p_md5, const uint8_t *p_src, uint32_t i_len )
{
memcpy
(
((
uint8_t
*
)
p_md5
->
p_data
)
+
i_current
,
p_src
,
(
64
-
i_current
)
);
Digest
(
p_md5
,
p_md5
->
p_data
);
Digest
MD5
(
p_md5
,
p_md5
->
p_data
);
i_offset
+=
(
64
-
i_current
);
i_len
-=
(
64
-
i_current
);
...
...
@@ -186,7 +186,7 @@ void AddMD5( struct md5_s *p_md5, const uint8_t *p_src, uint32_t i_len )
{
uint32_t
p_tmp
[
16
];
memcpy
(
p_tmp
,
p_src
+
i_offset
,
64
);
Digest
(
p_md5
,
p_tmp
);
Digest
MD5
(
p_md5
,
p_tmp
);
i_offset
+=
64
;
i_len
-=
64
;
}
...
...
@@ -217,7 +217,7 @@ void EndMD5( struct md5_s *p_md5 )
if
(
i_current
>
56
)
{
memset
(
((
uint8_t
*
)
p_md5
->
p_data
)
+
i_current
,
0
,
(
64
-
i_current
)
);
Digest
(
p_md5
,
p_md5
->
p_data
);
Digest
MD5
(
p_md5
,
p_md5
->
p_data
);
i_current
=
0
;
}
...
...
@@ -228,7 +228,7 @@ void EndMD5( struct md5_s *p_md5 )
p_md5
->
p_data
[
15
]
=
(
p_md5
->
i_bits
>>
32
);
REVERSE
(
&
p_md5
->
p_data
[
14
],
2
);
Digest
(
p_md5
,
p_md5
->
p_data
);
Digest
MD5
(
p_md5
,
p_md5
->
p_data
);
}
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