Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
7e03886b
Commit
7e03886b
authored
May 21, 2013
by
Giorgio Vazzana
Committed by
Michael Niedermayer
May 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/md5: reindent after previous commits
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
64eacb83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
md5.c
libavutil/md5.c
+21
-21
No files found.
libavutil/md5.c
View file @
7e03886b
...
@@ -83,11 +83,11 @@ static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32)
...
@@ -83,11 +83,11 @@ static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32)
a += T[i]; \
a += T[i]; \
\
\
if (i < 32) { \
if (i < 32) { \
if (i < 16) a += (d ^ (b & (c ^ d)))
+ X[ i & 15];
\
if (i < 16) a += (d ^ (b & (c ^ d)))
+ X[ i & 15];
\
else a += ((d & b) | (~d & c))
+ X[(1 + 5*i) & 15];
\
else a += ((d & b) | (~d & c))
+ X[(1 + 5*i) & 15];
\
} else { \
} else { \
if (i < 48) a += (b ^ c ^ d)
+ X[(5 + 3*i) & 15];
\
if (i < 48) a += (b ^ c ^ d)
+ X[(5 + 3*i) & 15];
\
else a += (c ^ (b | ~d))
+ X[( 7*i) & 15];
\
else a += (c ^ (b | ~d))
+ X[( 7*i) & 15];
\
} \
} \
a = b + (a << t | a >> (32 - t)); \
a = b + (a << t | a >> (32 - t)); \
} while (0)
} while (0)
...
@@ -107,31 +107,31 @@ static void body(uint32_t ABCD[4], uint32_t *src, int nblocks)
...
@@ -107,31 +107,31 @@ static void body(uint32_t ABCD[4], uint32_t *src, int nblocks)
X
=
src
+
n
*
16
;
X
=
src
+
n
*
16
;
#if HAVE_BIGENDIAN
#if HAVE_BIGENDIAN
for
(
i
=
0
;
i
<
16
;
i
++
)
for
(
i
=
0
;
i
<
16
;
i
++
)
X
[
i
]
=
av_bswap32
(
X
[
i
]);
X
[
i
]
=
av_bswap32
(
X
[
i
]);
#endif
#endif
#if CONFIG_SMALL
#if CONFIG_SMALL
for
(
i
=
0
;
i
<
64
;
i
++
)
{
for
(
i
=
0
;
i
<
64
;
i
++
)
{
CORE
(
i
,
a
,
b
,
c
,
d
);
CORE
(
i
,
a
,
b
,
c
,
d
);
t
=
d
;
t
=
d
;
d
=
c
;
d
=
c
;
c
=
b
;
c
=
b
;
b
=
a
;
b
=
a
;
a
=
t
;
a
=
t
;
}
}
#else
#else
#define CORE2(i) \
#define CORE2(i) \
CORE( i, a,b,c,d); CORE((i+1),d,a,b,c);
\
CORE( i, a,b,c,d); CORE((i+1),d,a,b,c);
\
CORE((i+2),c,d,a,b); CORE((i+3),b,c,d,a)
CORE((i+2),c,d,a,b); CORE((i+3),b,c,d,a)
#define CORE4(i) CORE2(i); CORE2((i+4)); CORE2((i+8)); CORE2((i+12))
#define CORE4(i) CORE2(i); CORE2((i+4)); CORE2((i+8)); CORE2((i+12))
CORE4
(
0
);
CORE4
(
16
);
CORE4
(
32
);
CORE4
(
48
);
CORE4
(
0
);
CORE4
(
16
);
CORE4
(
32
);
CORE4
(
48
);
#endif
#endif
ABCD
[
0
]
+=
d
;
ABCD
[
0
]
+=
d
;
ABCD
[
1
]
+=
c
;
ABCD
[
1
]
+=
c
;
ABCD
[
2
]
+=
b
;
ABCD
[
2
]
+=
b
;
ABCD
[
3
]
+=
a
;
ABCD
[
3
]
+=
a
;
}
}
}
}
...
...
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