Saturnin A suite of lightweight symmetric algorithms for - - PowerPoint PPT Presentation

saturnin
SMART_READER_LITE
LIVE PREVIEW

Saturnin A suite of lightweight symmetric algorithms for - - PowerPoint PPT Presentation

Saturnin A suite of lightweight symmetric algorithms for post-quantum security Anne Canteaut 1 Sbastien Duval 2 Gatan Leurent 1 Mara Naya-Plasencia 1 Lo Perrin 1 Thomas Pornin 3 Andr Schrottenloher 1 1 Inria, France 2 UCL Crypto Group,


slide-1
SLIDE 1

Saturnin

A suite of lightweight symmetric algorithms for post-quantum security Anne Canteaut1 Sébastien Duval2 Gaëtan Leurent1 María Naya-Plasencia1 Léo Perrin1 Thomas Pornin3 André Schrottenloher1

1 Inria, France 2 UCL Crypto Group, Belgium 3 NCC Group, Canada

slide-2
SLIDE 2

Introduction The Block Cipher Modes of Operation

Outline

1

Introduction

2

The Block Cipher

3

Modes of Operation

  • A. Canteaut et al.

Saturnin 2/25

slide-3
SLIDE 3

Introduction The Block Cipher Modes of Operation

Introduction

  • A. Canteaut et al.

Saturnin 3/25

slide-4
SLIDE 4

Introduction The Block Cipher Modes of Operation

Our design goals

Goals

1

Strong security arguments

2

Quantum security

3

Efficient in hardware and software Design choices SPN cipher Wide-trail strategy (AES-like) 256-bit keys and blocks Carefully chosen modes Bitslice design Small components

  • A. Canteaut et al.

Saturnin 4/25

slide-5
SLIDE 5

Introduction The Block Cipher Modes of Operation

Saturnin in the LWC process

13 second-round candidates are based on block ciphers Saturnin is the only block cipher with 256-bit blocks Saturnin is the only proposal (cipher + modes) claiming security against superposition queries Saturnin is the most efficient generalization of the AES wide-trail strategy to a 256-bit block size (in terms of security and implementation).

  • A. Canteaut et al.

Saturnin 5/25

slide-6
SLIDE 6

Introduction The Block Cipher Modes of Operation

On quantum security

A key size of 256 bits mitigates quantum exhaustive search A block size of 256 bit mitigates attacks (on modes) at the quantum birthday bound (2256/3 ≃ 285.3)

Also simplifies the design of a hash function

We claim security against classical and quantum attacks. Quantum attackers can query the secret-key cipher / the modes in superposition. This is the strongest model available It is non-trivial It includes all intermediate definitions, and all use cases

  • A. Canteaut et al.

Saturnin 6/25

slide-7
SLIDE 7

Introduction The Block Cipher Modes of Operation

On the name

Saturnin is a famous french duck

Kids TV show in the 60’s

The duck is well known standard of lightness

Historically used as a weight standard for witches [Sir Bedevere, Monty Python and the Holy Grail]

The planet Saturn is associated to the cube [Kepler, Mysterium Cosmographicum]

Saturnin’s state is represented as a cube

  • A. Canteaut et al.

Saturnin 7/25

slide-8
SLIDE 8

Introduction The Block Cipher Modes of Operation

The Block Cipher

  • A. Canteaut et al.

Saturnin 8/25

slide-9
SLIDE 9

Introduction The Block Cipher Modes of Operation

The state

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 19 35 51 7 23 39 55 11 27 43 59 15 31 47 63 12 13 14 15 28 29 30 31 44 45 46 47 60 61 62 63

x z y

A cube of 4 × 4 × 4 nibbles of 4 bits

0 1 2 3 4 5 6 7 8 9 101112131415 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

b i

16 registers of 16 bits Generic nibble index: (x, y, z) → y + 4x + 16z

  • A. Canteaut et al.

Saturnin 9/25

slide-10
SLIDE 10

Introduction The Block Cipher Modes of Operation

The round function

AES-inspired operations: S-Box layer: applies σ0 to nibbles of even index, σ1 to nibbles of odd index Nibble permutation SR: depends on the round number Linear MixColumns: applies a 4 × 4 MDS mapping over F24 to each column Inverse of SR Sub-key addition

  • A. Canteaut et al.

Saturnin 10/25

slide-11
SLIDE 11

Introduction The Block Cipher Modes of Operation

The nibble permutation

Let r be the round index (starts at 0). r mod 4 = 1: shift rows in “slices” (left) r mod 4 = 3: shift rows in “sheets” (right)

  • therwise do nothing

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 19 35 51 7 23 39 55 11 27 43 59 15 31 47 63 12 13 14 15 28 29 30 31 44 45 46 47 60 61 62 63 x z y 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 19 35 51 7 23 39 55 11 27 43 59 15 31 47 63 12 13 14 15 28 29 30 31 44 45 46 47 60 61 62 63 x z y

  • A. Canteaut et al.

Saturnin 11/25

slide-12
SLIDE 12

Introduction The Block Cipher Modes of Operation

As registers

In the register representation: S and MC are bitsliced SRslices and SRsheets correspond to rotations in the registers Before

0 1 2 3 4 5 6 7 8 9 101112131415 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Slices

0 1 2 3 4 5 6 7 8 9 101112131415 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sheets

0 1 2 3 4 5 6 7 8 9 101112131415 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

  • A. Canteaut et al.

Saturnin 12/25

slide-13
SLIDE 13

Introduction The Block Cipher Modes of Operation

The subkey addition

Only at odd rounds. r mod 4 = 3: XOR the master key K r mod 4 = 1: XOR K rotated by 20 nibbles

  • therwise do nothing

Round constants Two 16-bit words XORed to the state (on 32 nibbles, one bit per nibble). Depend on the 4-bit domain separator

  • A. Canteaut et al.

Saturnin 13/25

slide-14
SLIDE 14

Introduction The Block Cipher Modes of Operation

The Super S-Box representation

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 19 35 51 7 23 39 55 11 27 43 59 15 31 47 63 12 13 14 15 28 29 30 31 44 45 46 47 60 61 62 63 x z y

Supernibbles: columns in the cube Let’s have a look at 4 rounds:

  • r = 0

→ S → nothing → MC → nothing → nothing r = 1 → S → SRslices → MC → SR−1

slices

→ Krot

  • r = 2

→ S → nothing → MC → nothing → nothing r = 3 → S → SRsheets → MC → SR−1

sheets

→ K

  • A. Canteaut et al.

Saturnin 14/25

slide-15
SLIDE 15

Introduction The Block Cipher Modes of Operation

The Super S-Box representation (ctd.)

4 rounds of Saturnin apply: A Super S-Box A linear transformation on the Super-columns A rotated key addition A Super S-Box The same linear transformation on the Super-rows A key addition

  • A. Canteaut et al.

Saturnin 15/25

slide-16
SLIDE 16

Introduction The Block Cipher Modes of Operation

The Super S-Box representation (ctd.)

2 rounds of Saturnin (a Super-round) ⇐ ⇒ a single round of an AES on 16-bit nibbles, with a transposition (i.e. the block cipher Square).

SB T MC

We use 10 Super-rounds for standard Saturnin We recommend 16 Super-rounds for related-key security (Faturnin) Our best key-recovery targets 7.5 Super-rounds

  • A. Canteaut et al.

Saturnin 16/25

slide-17
SLIDE 17

Introduction The Block Cipher Modes of Operation

Security overview

Extensive analysis of the AES is transferable to Saturnin 125 active S-Boxes for 8 rounds 4-bit S-Box has optimal properties

δ = 4 L = 8 degree 3

Super S-Box has good properties thanks to the MDS layer:

δ = 80 L = 3072 degree 9

Bounds on 8-rounds trails

Differential: p ≤ 2−241.9 Linear: p ≤ 2−220.7

  • A. Canteaut et al.

Saturnin 17/25

slide-18
SLIDE 18

Introduction The Block Cipher Modes of Operation

Modes of operation

  • A. Canteaut et al.

Saturnin 18/25

slide-19
SLIDE 19

Introduction The Block Cipher Modes of Operation

Overview

The submission includes three modes of operation: Saturnin-CTR-Cascade for AEAD Saturnin-Short for small AE (< 128 bits) Saturnin-Hash for hashing We use separate round constants for domain separation. Known quantum security proofs: Encrypt then MAC [Soukharev, Jao & Seshadri, PQCrypto 2016] CTR mode for encryption [Anand, Targhi, Tabia, Unruh, PQCrypto 2016] Cascade MAC [Song & Yun, Crypto ’17] Quantum indifferentiability of Merkle-Damgård [Zhandry, Crypto ’19]

  • A. Canteaut et al.

Saturnin 19/25

slide-20
SLIDE 20

Introduction The Block Cipher Modes of Operation

Saturnin-Short: for small messages

A single block m of < 128 bits (Actually it can be defined for 128 bits by reducing the nonce size)

  • A. Canteaut et al.

Saturnin 20/25

slide-21
SLIDE 21

Introduction The Block Cipher Modes of Operation

Saturnin-CTR-Cascade: the main proposal

Under a qPRP assumption: CTR: IND-qCPA Cascade MAC: unforgeable

  • A. Canteaut et al.

Saturnin 21/25

slide-22
SLIDE 22

Introduction The Block Cipher Modes of Operation

Saturnin-Hash: hash function proposal

We use a Merkle-Damgård construction with the MMO mode, and 16 Super-rounds. Classical birthday bound at 2256/2 = 2128 Quantum birthday bound at 2256/3 = 285.3 Quantum collision algorithms are memory-intensive: we make a stronger (conjectural) security claim that depends on the adversary’s quantum memory

  • A. Canteaut et al.

Saturnin 22/25

slide-23
SLIDE 23

Introduction The Block Cipher Modes of Operation

Performance considerations

Hardware Block cipher gate count: 118.5 gpb AES-256: 283.5 Skinny-256: 156 Software Saturnin-Cascade on an ARM Cortex M4: 144 cpb constant-time AES-GCM: 143 cpb [Adomnicai & Peyrin, 2020] Saturnin-Hash performs fairly well on Rhys Weatherley’s microcontroller benchmarks∗ Saturnin-Short is very competitive for short messages

∗https://rweather.github.io/lightweight-crypto/index.html

  • A. Canteaut et al.

Saturnin 23/25

slide-24
SLIDE 24

Introduction The Block Cipher Modes of Operation

The Faturnin Challenge

We need to know more about the related-key security of the 16 Super-round version The key-schedule is simpler than the AES Classical reduced-round attacks? How about quantum attacks? Saturnin-QCB The QCB mode is a quantum-secure rate-one mode similar to ΘCB, based on a tweakable block cipher. We propose to use: K, T, M → FaturninK⊕T(M)

Bhaumik, Bonnetain, Chailloux, Leurent, Naya-Plasencia, Seurin, S., QCB: Efficient quantum-secure authenticated encryption

  • A. Canteaut et al.

Saturnin 24/25

slide-25
SLIDE 25

Introduction The Block Cipher Modes of Operation

Conclusion

Post-quantum and lightweight We choose a block cipher of 256 bits (the only one in the LWC process) We choose well-known modes with quantum security guarantees Saturnin also offers a very high classical security Further work Although Faturnin (16 super rounds) is not used in the primary proposal, we need to know more about its related-key security. Challenge opens soon!

  • A. Canteaut et al.

Saturnin 25/25

slide-26
SLIDE 26

Thank you!

  • A. Canteaut et al.

Saturnin