Sound Hashing Modes of Arbitrary Functions, Permutations, and Block Ciphers (SoK)
Joan Daemen1 Bart Mennink1 Gilles Van Assche2 Fast Software Encryption Paris, March 2019
1Radboud University 2STMicroelectronics
1
Sound Hashing Modes of Arbitrary Functions, Permutations, and Block - - PowerPoint PPT Presentation
Sound Hashing Modes of Arbitrary Functions, Permutations, and Block Ciphers (SoK) Joan Daemen 1 Bart Mennink 1 Gilles Van Assche 2 Fast Software Encryption Paris, March 2019 1 Radboud University 2 STMicroelectronics 1 M 4 pad Hash function
1Radboud University 2STMicroelectronics
1
CV
CV
CV
1
2
CV
CV
CV
1
2
CV
CV
CV
2
CV
CV
CV
2
π
π
3
1 2 3 level
π
π
3
1 2 3 level
N ( N ) C
π
1-1 map π
const key+UV data 15 8+2 64
89 words 89 words 16 words
3
1 2 3 level
N ( N ) C
π
1-1 map π
const key+UV data 15 8+2 64
89 words 89 words 16 words
3
4
S0 110* CV CV CV … CV CV n-1 FFFF 01 S1 110 S2 110 S3 110 Sn-2 110 Sn-1 110
4
S0 110* CV CV CV … CV CV n-1 FFFF 01 S1 110 S2 110 S3 110 Sn-2 110 Sn-1 110
M pad trunc Z
inner r c f f f f f f absorbing squeezing
4
S0 110* CV CV CV … CV CV n-1 FFFF 01 S1 110 S2 110 S3 110 Sn-2 110 Sn-1 110
M pad trunc Z
inner r c f f f f f f absorbing squeezing
4
5
5
5
5
5
CV
CV
CV
6
CV
CV
CV
6
CV
CV
CV
6
CV
CV
CV
6
CV
CV
CV
6
CV
CV
CV
6
CV
CV
CV
6
message of 21 bits M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
011010110101101010110 011010 00 110101 00 101010 00 110 10∗ 00 110 001 10 010 111 10 000 011 11
0101 . . . F F F F F F F
7
message of 21 bits M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
011010110101101010110 011010 00 110101 00 101010 00 110 10∗ 00 110 001 10 010 111 10 000 011 11
0101 . . . F F F F F F F
7
message of 21 bits M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
011010110101101010110 011010 00 110101 00 101010 00 110 10∗ 00 110 001 10 010 111 10 000 011 11
0101 . . . F F F F F F F
7
message of 21 bits M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
011010110101101010110 011010 00 110101 00 101010 00 110 10∗ 00 110 001 10 010 111 10 000 011 11
0101 . . . F F F F F F F
7
message of 21 bits M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
011010110101101010110 011010 00 110101 00 101010 00 110 10∗ 00 110 001 10 010 111 10 000 011 11
0101 . . . F F F F F F F
7
message of 21 bits M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
011010110101101010110 011010 00 110101 00 101010 00 110 10∗ 00 110 001 10 010 111 10 000 011 11
0101 . . . F F F F F F F
7
8
8
8
9
01101000 11010100 10101000 11010000 11000110 01011110 00001111
0101 . . . F F F F F F F
011010110101101010110 M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
10
01101000 11010100 10101000 11010000 11000110 01011110 00001111
0101 . . . F F F F F F F
011010110101101010110 M0..5 00 M6..11 00 M12..17 00 M18..20 10∗ 00 10 10 11
h
10
sub
sub: the set of all trees that are proper subtrees of a tree in
sub 12
sub
T
sub 12
T
T
T
12
01101000 11010100 11010000 11000110 01011110 00001111
13
01101000 11010100 11010000 11000110 01011110 00001111
13
T leaf final rad
final) one can
rad that includes final 14
T
T final rad
final) one can
rad that includes final 14
T
T
T rad
final) one can
rad that includes final 14
T
T
T rad
T
rad that includes final 14
T
T
T
T
T
T
T 14
M ,Z x M ,Z x x M ,Z
N 2 2 c: birthday bound in capacity
N 2 2 n: birthday bound in CV length
15
M ,Z x M ,Z x x M ,Z
N 2 2 c: birthday bound in capacity
N 2 2 n: birthday bound in CV length
15
M ,Z x M ,Z x x M ,Z
2
N 2 2 n: birthday bound in CV length
15
M ,Z x M ,Z x x M ,Z
2
2
15
M ,Z x M ,Z x x M ,Z
2
2
15
16
16
16
16
16
16
16
00 10 10 10∗ 11
IV 0 1 10
17
00 10 10 10∗ 11
IV 0 1 10∗
17
18
18
18
18
18
18
18
18
18
18
19
M ,Z x M ,Z x x M ,Z
20
M ,Z x M ,Z x x M ,Z
20