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
ac3353b0
Commit
ac3353b0
authored
Jun 02, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Digest => DigestMD5
parent
6787a19a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
include/vlc_md5.h
include/vlc_md5.h
+1
-1
modules/demux/mp4/drms.c
modules/demux/mp4/drms.c
+3
-1
src/misc/md5.c
src/misc/md5.c
+2
-2
No files found.
include/vlc_md5.h
View file @
ac3353b0
...
@@ -41,6 +41,6 @@ struct md5_s
...
@@ -41,6 +41,6 @@ struct md5_s
VLC_EXPORT
(
void
,
InitMD5
,
(
struct
md5_s
*
)
);
VLC_EXPORT
(
void
,
InitMD5
,
(
struct
md5_s
*
)
);
VLC_EXPORT
(
void
,
AddMD5
,
(
struct
md5_s
*
,
const
uint8_t
*
,
uint32_t
)
);
VLC_EXPORT
(
void
,
AddMD5
,
(
struct
md5_s
*
,
const
uint8_t
*
,
uint32_t
)
);
VLC_EXPORT
(
void
,
EndMD5
,
(
struct
md5_s
*
)
);
VLC_EXPORT
(
void
,
EndMD5
,
(
struct
md5_s
*
)
);
VLC_EXPORT
(
void
,
Digest
,
(
struct
md5_s
*
,
uint32_t
*
)
);
VLC_EXPORT
(
void
,
Digest
MD5
,
(
struct
md5_s
*
,
uint32_t
*
)
);
#endif
#endif
modules/demux/mp4/drms.c
View file @
ac3353b0
...
@@ -89,7 +89,9 @@ struct aes_s
...
@@ -89,7 +89,9 @@ struct aes_s
uint32_t
pp_dec_keys
[
AES_KEY_COUNT
+
1
][
4
];
uint32_t
pp_dec_keys
[
AES_KEY_COUNT
+
1
][
4
];
};
};
#ifndef __VLC__
#ifdef __VLC__
# define Digest DigestMD5
#else
/*****************************************************************************
/*****************************************************************************
* md5_s: MD5 message structure
* md5_s: MD5 message structure
*****************************************************************************
*****************************************************************************
...
...
src/misc/md5.c
View file @
ac3353b0
...
@@ -53,9 +53,9 @@ static inline void Reverse( uint32_t *p_buffer, int n )
...
@@ -53,9 +53,9 @@ static inline void Reverse( uint32_t *p_buffer, int n )
( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
/*****************************************************************************
/*****************************************************************************
* Digest: update the MD5 digest with 64 bytes of data
* Digest
MD5
: update the MD5 digest with 64 bytes of data
*****************************************************************************/
*****************************************************************************/
void
Digest
(
struct
md5_s
*
p_md5
,
uint32_t
*
p_input
)
void
Digest
MD5
(
struct
md5_s
*
p_md5
,
uint32_t
*
p_input
)
{
{
uint32_t
a
,
b
,
c
,
d
;
uint32_t
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