Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
104c30ee
Commit
104c30ee
authored
Mar 13, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use CONFIG_SMALL
Originally committed as revision 8380 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
20013045
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
sha1.c
libavutil/sha1.c
+1
-3
No files found.
libavutil/sha1.c
View file @
104c30ee
...
@@ -25,8 +25,6 @@ typedef struct AVSHA1 {
...
@@ -25,8 +25,6 @@ typedef struct AVSHA1 {
/* Hash a single 512-bit block. This is the core of the algorithm. */
/* Hash a single 512-bit block. This is the core of the algorithm. */
//#define VARIANT2
static
void
transform
(
uint32_t
state
[
5
],
uint8_t
buffer
[
64
]){
static
void
transform
(
uint32_t
state
[
5
],
uint8_t
buffer
[
64
]){
uint32_t
block
[
80
];
uint32_t
block
[
80
];
unsigned
int
i
,
a
,
b
,
c
,
d
,
e
;
unsigned
int
i
,
a
,
b
,
c
,
d
,
e
;
...
@@ -36,7 +34,7 @@ static void transform(uint32_t state[5], uint8_t buffer[64]){
...
@@ -36,7 +34,7 @@ static void transform(uint32_t state[5], uint8_t buffer[64]){
c
=
state
[
2
];
c
=
state
[
2
];
d
=
state
[
3
];
d
=
state
[
3
];
e
=
state
[
4
];
e
=
state
[
4
];
#ifdef
VARIANT2
#ifdef
CONFIG_SMALL
for
(
i
=
0
;
i
<
80
;
i
++
){
for
(
i
=
0
;
i
<
80
;
i
++
){
int
t
;
int
t
;
if
(
i
<
16
)
t
=
be2me_32
(((
uint32_t
*
)
buffer
)[
i
]);
if
(
i
<
16
)
t
=
be2me_32
(((
uint32_t
*
)
buffer
)[
i
]);
...
...
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