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
52385410
Commit
52385410
authored
Mar 21, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
des-test: Move a variable declaration to avoid an ifdef
parent
65a80240
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
des.c
libavutil/des.c
+1
-3
No files found.
libavutil/des.c
View file @
52385410
...
@@ -396,9 +396,6 @@ static int run_test(int cbc, int decrypt) {
...
@@ -396,9 +396,6 @@ static int run_test(int cbc, int decrypt) {
int
main
(
void
)
{
int
main
(
void
)
{
AVDES
d
;
AVDES
d
;
int
i
;
int
i
;
#ifdef GENTABLES
int
j
;
#endif
uint64_t
key
[
3
];
uint64_t
key
[
3
];
uint64_t
data
;
uint64_t
data
;
uint64_t
ct
;
uint64_t
ct
;
...
@@ -436,6 +433,7 @@ int main(void) {
...
@@ -436,6 +433,7 @@ int main(void) {
#ifdef GENTABLES
#ifdef GENTABLES
printf
(
"static const uint32_t S_boxes_P_shuffle[8][64] = {
\n
"
);
printf
(
"static const uint32_t S_boxes_P_shuffle[8][64] = {
\n
"
);
for
(
i
=
0
;
i
<
8
;
i
++
)
{
for
(
i
=
0
;
i
<
8
;
i
++
)
{
int
j
;
printf
(
" {"
);
printf
(
" {"
);
for
(
j
=
0
;
j
<
64
;
j
++
)
{
for
(
j
=
0
;
j
<
64
;
j
++
)
{
uint32_t
v
=
S_boxes
[
i
][
j
>>
1
];
uint32_t
v
=
S_boxes
[
i
][
j
>>
1
];
...
...
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