Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
d912689e
Commit
d912689e
authored
Jun 21, 2011
by
Niels Möller
Browse files
Avoid copy for y2.
Rev: nettle/misc/serpent-sbox6i.dot:1.2
parent
b7923c76
Changes
1
Hide whitespace changes
Inline
Side-by-side
misc/serpent-sbox6i.dot
View file @
d912689e
strict
digraph
sbox6i
{
x0
[
shape
=
box
,
label
=
"\N"
]
;
x1
[
shape
=
box
,
label
=
"\N"
]
;
x2
[
shape
=
box
,
label
=
"\N"
]
;
x3
[
shape
=
box
,
label
=
"\N"
]
;
x0
[
shape
=
box
]
;
x1
[
shape
=
box
]
;
x2
[
shape
=
box
]
;
x3
[
shape
=
box
]
;
y0
[
shape
=
box
,
label
=
"\N"
]
;
y1
[
shape
=
box
,
label
=
"\N"
]
;
y2
[
shape
=
box
,
label
=
"\N"
]
;
y3
[
shape
=
box
,
label
=
"\N"
]
;
// To get to y1, we need to save t02
// To get to y3, we need to save y1, t02, t05, t07, t01
// To get to y0, we need to save t02, t07, t05, t01
y0
[
shape
=
box
]
;
y1
[
shape
=
box
]
;
y2
[
shape
=
box
]
;
y3
[
shape
=
box
]
;
// Get to y1
t02
[
label
=
"\N\ny3\n1"
]
;
t06
[
label
=
"\N\ny0\n2"
]
;
t08
[
label
=
"\N\ny1\n3"
]
;
y1
[
label
=
"\N\n4"
]
;
t01
[
label
=
"\N\ny2\n1"
]
;
t02
[
label
=
"\N\nx2\n2"
]
;
t06
[
label
=
"\N\ny0\n3"
]
;
t08
[
label
=
"\N\ny1\n4"
]
;
y1
[
label
=
"\N\n5"
]
;
// Get to t05
t01
[
label
=
"\N\nx2\n4"
]
;
t03
[
label
=
"\N\ny2\n5"
]
;
t05
[
label
=
"\N\ny2\n6"
]
;
t03
[
label
=
"\N\ny3\n6"
]
;
t05
[
label
=
"\N\ny3\n7"
]
;
// Get to t07
t16
[
label
=
"\N\nx3\n
7
"
]
;
t04
[
label
=
"\N\n
y3
\n
8
"
]
;
t07
[
label
=
"\N\n
y3\n9
"
]
;
t16
[
label
=
"\N\nx3\n
8
"
]
;
t04
[
label
=
"\N\n
x2
\n
9
"
]
;
t07
[
label
=
"\N\n
x2\n10
"
]
;
// Get to y0
t09
[
label
=
"\N\ny0\n1
0
"
]
;
y0
[
label
=
"\N\n1
1
"
]
;
t09
[
label
=
"\N\ny0\n1
1
"
]
;
y0
[
label
=
"\N\n1
2
"
]
;
// Get to y3
t13
[
label
=
"\N\ny
2
\n1
2
"
]
;
t15
[
label
=
"\N\ny3\n1
3
"
]
;
t17
[
label
=
"\N\nx0\n1
4
"
]
;
y3
[
label
=
"\N\n1
5
"
]
;
t13
[
label
=
"\N\ny
3
\n1
3
"
]
;
t15
[
label
=
"\N\ny3\n1
4
"
]
;
t17
[
label
=
"\N\nx0\n1
5
"
]
;
y3
[
label
=
"\N\n1
6
"
]
;
// Get to y2
t12
[
label
=
"\N\nx1\n16"
]
;
t14
[
label
=
"\N\ny2\n17"
]
;
y2
[
label
=
"\N\n18"
]
;
// t02 [label="\N\nx2\n1"];
// t08 [label="\N\ny1\n2"];
// t06 [label="\N\ny2\n3"];
// y1 [label="\N\n4", shape=box];
// t04 [label="\N\ny0\n6"];
// t07 [label="\N\ny0\n7"];
// t16 [label="\N\nx2\n9"];
// t03 [label="\N\ny2\n10"];
// t05 [label="\N\nx3\n11"];
t12
[
label
=
"\N\nx1\n17"
]
;
t14
[
label
=
"\N\ny2\n18"
]
;
y2
[
label
=
"\N\n19"
]
;
x0
->
t01
;
x2
->
t01
;
// t01 = x0 ^ x2;
x2
->
t02
;
// t02 = ~ x2;
x1
->
t03
;
t01
->
t03
;
// t03 = x1 & t01;
...
...
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