Slide 14
Slide 14 text
伊藤⻯⾺(国⽴研究開発法⼈情報通信研究機構) 2020年12⽉18⽇ @ 第5回情報セキュリティフォーラム
Rotational Cryptanalysis of Salsa Core Function
ストリーム暗号Salsa
14
n columnrounds (in the odd number rounds):
𝑥!
" , 𝑥#
" , 𝑥$
" , 𝑥%&
" , 𝑥'
" , 𝑥(
" , 𝑥%)
" , 𝑥%
" , 𝑥%!
" , 𝑥%#
" , 𝑥&
" , 𝑥*
" , 𝑥%'
" , 𝑥)
" , 𝑥+
" , 𝑥%%
"
n rowrounds (in the even number rounds):
𝑥!
" , 𝑥%
" , 𝑥&
" , 𝑥)
" , 𝑥'
" , 𝑥*
" , 𝑥+
" , 𝑥#
" , 𝑥%!
" , 𝑥%%
" , 𝑥$
" , 𝑥(
" , 𝑥%'
" , 𝑥%&
" , 𝑥%)
" , 𝑥%#
"
n output 512-bit keystream block: 𝑍 = 𝑋 ! + 𝑋 +
準備 (2/7)
Salsaコア関数 (The quarterround function)
vector 𝑥,
" , 𝑥-
" , 𝑥.
" , 𝑥/
" is updated as below:
𝑥-
"0% = 𝑥,
" + 𝑥/
" ⋘ 7 ⊕ 𝑥-
" ,
𝑥.
"0% = 𝑥-
"0% + 𝑥,
" ⋘ 9 ⊕ 𝑥.
" ,
𝑥/
"0% = 𝑥.
"0% + 𝑥-
"0% ⋘ 13 ⊕ 𝑥/
" ,
𝑥,
"0% = 𝑥/
"0% + 𝑥.
"0% ⋘ 18 ⊕ 𝑥,
" .