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
84c72fb1
Commit
84c72fb1
authored
Jan 14, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics
Originally committed as revision 7470 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7acc1a27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
aes.c
libavutil/aes.c
+2
-3
No files found.
libavutil/aes.c
View file @
84c72fb1
...
...
@@ -72,7 +72,6 @@ static inline void mix(uint8_t state[4][4], uint32_t multbl[4][256]){
#endif
}
void
av_aes_decrypt
(
AVAES
*
a
){
int
t
,
r
;
...
...
@@ -145,11 +144,11 @@ AVAES *av_aes_init(uint8_t *key, int key_bits) {
memcpy
(
tk
,
key
,
KC
*
4
);
for
(
t
=
0
;
t
<
(
rounds
+
1
)
*
4
;
)
{
for
(
j
=
0
;
(
j
<
KC
)
&&
(
t
<
(
rounds
+
1
)
*
4
)
;
j
++
,
t
++
)
for
(
j
=
0
;
j
<
KC
&&
t
<
(
rounds
+
1
)
*
4
;
j
++
,
t
++
)
memcpy
(
a
->
round_key
[
0
][
t
],
tk
[
j
],
4
);
for
(
i
=
0
;
i
<
4
;
i
++
)
tk
[
0
][
i
]
^=
sbox
[
tk
[
KC
-
1
][(
i
+
1
)
&
3
]];
tk
[
0
][
i
]
^=
sbox
[
tk
[
KC
-
1
][(
i
+
1
)
&
3
]];
tk
[
0
][
0
]
^=
rcon
[
rconpointer
++
];
for
(
j
=
1
;
j
<
KC
;
j
++
){
...
...
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