Lightweight Authenticated Encryption Mode of Operation for Tweakable Block Ciphers
Yusuke Naito* and Takeshi Sugawara**
*Mitsubishi Electric Corporation **The University of Electro-Communications
Lightweight Authenticated Encryption Mode of Operation for - - PowerPoint PPT Presentation
Workshop on Cryptographic Hardware and Embedded Systems (CHES 2020) Lightweight Authenticated Encryption Mode of Operation for Tweakable Block Ciphers Yusuke Naito * and Takeshi Sugawara ** * Mitsubishi Electric Corporation ** The University of
*Mitsubishi Electric Corporation **The University of Electro-Communications
1 Overview Previous work
Without TI With TI State Key
This work
State Key
128 128 x3
Tweak 128 64 64 x2 x3 x2 x1
2 Background
3 Background
State Key Additional states for tag generation AES GCM AES SAEB* We are hitting the limit: these 256 bits are necessary for running AES
*Y. Naito, M. Matsui, T. Sugawara, and D. Suzuki, βSAEB: A Lightweight Blockcipher-Based AEAD Mode of Operation,β CHES 2018.
128 128 128 128 128 128
** K. Bhargavan, G. Leurent "On the Practical (In-)Security of 64-bit Block Ciphers: Collision Attacks on HTTP over TLS and OpenVPN", CCS2016.
4 Background
5 Background
xa xb xc a b c Xa Xb Xc
Input share (ππ, ππ, ππ )
x
Output share (ππ, ππ, ππ )
satisfying ππ β ππ β ππ = π satisfying ππ β ππ β ππ = π
6 Our approach SAEB AES
Without TI With TI State Key
This work
State Key
128 128 x3
Tweak 128 64 64 x2 x3 x2 x1
7 Contribution
x,N,1 ~
EK
M1 C1 H
Y1
x,N,l-1 ~
EK
Ml-1 Cl-1 Yl-1 Xl-1
x,N,l
~ EK
Ml Cl Yl Xl T β
x,N,2 ~
EK
M2 C2 Y2 X2 β β β
msb|M*|
β
~ EK
S
y,N,l
msbt
Plaintext M Ciphertext C Tag
8 Preliminary
Message m Ciphertext c
Message m Ciphertext c Tweak t
~
9 Preliminary f1 f2 f3
Round 2
f1 f2 f3
Round 1 Message m TK1 TK2 TK3
Tweakey: tweak or key Tweakey schedule: independent between TKs
Beierle et al., βThe SKINNY Family of Block Ciphers and Its Low-Latency Variant MANTIS,β In CRYPTO 2016.
10 Proposed Method
x,N,1 ~
EK
M1 C1 H
Y1
x,N,l-1 ~
EK
Ml-1 Cl-1 Yl-1 Xl-1
x,N,l
~ EK
Ml Cl Yl Xl T
x,N,1
~ EK
M1 C1 H
Y1
x,N,2
~ EK
M2 C2 Y2 X2
x,N,l-1
~ EK
Ml-1 Cl-1 Yl-1 Xl-1
x,N,l
~ EK
Ml Cl Yl Xl β
x,N,2 ~
EK
M2 C2 Y2 X2 β β β β β β β
msb|M*| msb|Cl|
β
~ EK
S
y,N,l
T = T
?
^ msbt
~ EK
S
y,N,l
msbt
A1 0b
1,0n,2
~ EK
A3 V2
1,0n,1
~ EK
A2 V1
1,0n,a
~ EK
V
a
H β β β β
Associated Data A Plaintext M Ciphertext C Tag Plaintext M Ciphertext C
11 Proposed Method
~ Small constant Nonce Counter 64 64 Public tweak State Key
Tweak 128 64 64 x3 x2 x1 Without TI With TI Memory size
12 Proposed Method
13 Proposed Method
x,N,1 ~
EK
M1 C1 H
Y1
x,N,l-1 ~
EK
Ml-1 Cl-1 Yl-1 Xl-1
x,N,l
~ EK
Ml Cl Yl Xl T β
x,N,2 ~
EK
M2 C2 Y2 X2 β β β
msb|M*|
β
~ EK
S
y,N,l
msbt
Plaintext M Ciphertext C Tag
14 Proposed Method
i.e., successful tag forgery
15 Proposed Method
H
M1 C1
β x,N,1
M2 C2
β x,N,2
X2 M3 C3
β x,N,3
X3 Ml Cl
β x,N,l
Xl T
y,N,l
S
H' M'1 C'1
β x,N,1
M'2 C'2
β x,N,2
X'2 M3 C3
β x,N,3
X3 Ml Cl
β x,N,l
Xl T
y,N,l
S
Collision Collision Collision Collision
16 Performance Evaluation
g RC gen. State array TK3 array TK2 array TK1 array TK1 input TK2 input Tweak input id 3 4 4 4 4 4 Tweakey array A/M/C SKINNY C/M/T 4
17 Performance Evaluation Previous work: SAEB w/ GIFT-128 This work: PFB w/ Skinny-64-192
Without TI With TI State Key State Key
128 128 x3
Tweak 128 64 64 x2 x3 x2 x1
18 Performance Evaluation Ref. Scheme Circuit Area /GE This work PFB/Skinny-64 5,858 This work SAEB/GIFT-128 6,229 GroΓ et al.* Ascon w/o IF 7,970 GroΓ et al.* Ascon w IF 9,190 Arribas et al.** Ketje-JR 18,335
Previous AE implementations with TI Proposed method A 128-bit block cipher-based scheme implemented with the same design policy
[1] GroΓ et al., βSuit up! - Made-to-Measure Hardware Implementations of ASCON,β DSD 2015. [2] Arribas et al., βGuards in Action: First- Order SCA Secure Implementations of Ketje Without Additional Randomness,β DSD 2018.
19 Discussion
*Y. Naito, Y. Sasaki, and T. Sugawara, βLightweight Authenticated Encryption Mode Suitable for Threshold Implementation,β EUROCRYPT 2020
PFB w/ 128-bit TBC
Without TI With TI State Tweak
PFB_Plus* w/ 64-bit TBC
Extra
SAEB w/ 256-bit BC
State Key Key State Tweak Key
20
21