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
e42244e9
Commit
e42244e9
authored
Jan 15, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetic
Originally committed as revision 7524 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7ef60502
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
aes.c
libavutil/aes.c
+0
-2
No files found.
libavutil/aes.c
View file @
e42244e9
...
...
@@ -66,7 +66,6 @@ static inline void mix(uint8_t state[4][4], uint32_t multbl[4][256]){
#ifdef CONFIG_SMALL
((
uint32_t
*
)(
state
))[
i
]
=
multbl
[
0
][
state
[
i
][
0
]]
^
ROT
(
multbl
[
0
][
state
[
i
][
1
]],
8
)
^
ROT
(
multbl
[
0
][
state
[
i
][
2
]],
16
)
^
ROT
(
multbl
[
0
][
state
[
i
][
3
]],
24
);
#else
((
uint32_t
*
)(
state
))[
i
]
=
multbl
[
0
][
state
[
i
][
0
]]
^
multbl
[
1
][
state
[
i
][
1
]]
^
multbl
[
2
][
state
[
i
][
2
]]
^
multbl
[
3
][
state
[
i
][
3
]];
...
...
@@ -137,7 +136,6 @@ AVAES *av_aes_init(uint8_t *key, int key_bits, int decrypt) {
j
=
(
j
^
(
j
>>
8
)
^
99
)
&
255
;
inv_sbox
[
j
]
=
i
;
sbox
[
i
]
=
j
;
// av_log(NULL, AV_LOG_ERROR, "%d, ", log8[i]);
}
init_multbl2
(
dec_multbl
[
0
],
(
int
[
4
]){
0xe
,
0x9
,
0xd
,
0xb
},
log8
,
alog8
,
inv_sbox
);
init_multbl2
(
enc_multbl
[
0
],
(
int
[
4
]){
0x2
,
0x1
,
0x1
,
0x3
},
log8
,
alog8
,
sbox
);
...
...
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