• No results found

Grøstl a SHA-3 candidate

N/A
N/A
Protected

Academic year: 2021

Share "Grøstl a SHA-3 candidate"

Copied!
28
0
0

Loading.... (view fulltext now)

Full text

(1)

Grøstl

– a SHA-3 candidate

Krystian Matusiewicz

Wroclaw University of Technology

(2)

Talk outline

◮ Cryptographic hash functions ◮ NIST SHA-3 Competition

(3)
(4)

Cryptographic hash functions: why?

◮ We want to have a short, fixed length “fingerprint” of any

piece of data

◮ Different fingerprints – certainly different data ◮ Identical fingerprints – most likely the same data

◮ No one can get any information about the data from the

(5)

Random Oracle

Construction:

◮ Box with memory

◮ On a new query: pick randomly and uniformly the answer,

remember it and return the result

(6)

Random Oracle

Construction:

◮ Box with memory

◮ On a new query: pick randomly and uniformly the answer,

remember it and return the result

◮ On a repeating query, repeat the answer (function)

Properties:

◮ No information about the data

◮ To find a preimage: 2n queries for n-bit outputs ◮ To find collisions: 2n/2 queries

(7)

Random Oracle

Construction:

◮ Box with memory

◮ On a new query: pick randomly and uniformly the answer,

remember it and return the result

◮ On a repeating query, repeat the answer (function)

Properties:

◮ No information about the data

◮ To find a preimage: 2n queries for n-bit outputs ◮ To find collisions: 2n/2 queries

◮ Random behaviour

We want to construct concrete algorithms which are as close to this behaviour as possible.

(8)
(9)
(10)

The world after Wang (after 2004)

hash designed Wang-inspired attacks MD4 1990 collisionsby hand calculation MD5 1992 collisionsin ms on a computer SHA-0 1993 collisions in1hr

SHA-1 1995 attacked, 269

SHA-2 2002 no attack

Many other hash functions similar to MD5/SHA-1 were subsequently broken using Wang’s method.

(11)

NIST SHA-3 competition

◮ There is only one hash function standardized by NIST which

is not broken (SHA-256/SHA-512)

◮ But design principles are somehow similar to the broken ones,

is it secure enough?

◮ Would be good to have a backup plan

◮ Let’s organize a competition like the one for Advanced

(12)

First-round SHA-3 candidates

Abacus ARIRANG AURORA BLAKE Blender Blue Midnight Wish BOOLE Cheetah CHI CRUNCH

CubeHash DCH Dynamic SHA Dynamic SHA2 ECHO ECOH EDON-R EnRUPT ESSENCE FSB Fugue Grøstl Hamsi JH Keccak Khichidi-1 LANE Lesamnta Luffa LUX MCSSHA-3 MD6 MeshHash NaSHA SANDstorm

Sarmal Sgail Shabal SHAMATA SHAvite-3 SIMD Skein Spectral Hash StreamHash SWIFFTX Tangle TIB3 Twister Vortex WaMM Waterfall

(13)

Second-round SHA-3 candidates

Abacus ARIRANG AURORA BLAKE Blender

Blue Midnight Wish BOOLE Cheetah CHI CRUNCH

CubeHash DCH Dynamic SHA Dynamic SHA2 ECHO

ECOH EDON-R EnRUPT ESSENCE FSB

Fugue Grøstl Hamsi JH Keccak

Khichidi-1 LANE Lesamnta Luffa LUX

MCSSHA-3 MD6 MeshHash NaSHA SANDstorm

Sarmal Sgail Shabal SHAMATA SHAvite-3

SIMD Skein Spectral Hash StreamHash SWIFFTX

Tangle TIB3 Twister Vortex WaMM

(14)

What happens next?

◮ August 2010 – second NIST workshop

◮ Around 5 finalists will be announced before the end of the year ◮ The winner selected in 2012

(15)

The SHA-3 Zoo / Hash function Zoo

Everything you ever wanted to know about SHA-3 candidates

◮ ehash.iaik.tugraz.at/wiki/The_SHA-3_Zoo

(16)
(17)

The

Grøstl

team

Søren S. Thomsen Martin Schl¨affer

Christian Rechberger Florian Mendel

Lars R. Knudsen Praveen Gauravaram & K.M.

(18)

Grøstl

hash function

iv - f - f - f . . . - f - Ω - - - -mt m3 m2 m1 -H(m) ◮ Iterated wide-pipe ◮ Output transformation

(19)

Grøstl

Compression Function

h m f ? ? ? P -? Q ?

◮ P,Q – large, fixed permutations

◮ Security reductions: collision, preimage resistance provided

(20)

Grøstl

Output Transformation

P x

◮ Provides protection against some attacks ◮ Random behaviour

(21)

Designing an “ideal permutation”

◮ How to design an “ideal permutation”?

◮ No way of telling it apart from randomly chosen permutation ◮ No visible structure

◮ No differential trail with significant probability ◮ Wide-trail strategy

(22)

Grøstl

: One round of

P

,

Q

(

×

10)

AddRoundConstant SubBytes ShiftBytes

(23)

Grøstl

: AddRoundConstant

i

AddRoundConstant ofP

i⊕ff

AddRoundConstant ofQ

◮ Permutations must be different (security) ◮ Different constants forP andQ

(24)

Grøstl

: SubBytes

(25)

Grøstl

: ShiftBytes

shift by 0 shift by 1 shift by 2 shift by 3 shift by 4 shift by 5 shift by 6 shift by 7

(26)

Grøstl

: MixBytes

(27)

Cryptanalytic Results

Hash function collisions

Grøstl-256 4/10

Grøstl-512 5/14

Compression function collisions

Grøstl-256 7/10

Grøstl-512 7/14

Permutation non-randomness

(28)

References

Related documents

Co-delivery of curcumin and paclitaxel by the nanocarriers exerts synergistic anti-ovarian cancer effects on chemosensitive human ovarian cancer cells (SKOV3) and multi-drug

Correlations between the final Grades in English Language Course and socio educative factors for language learning In order to assess the relationship between the final grades

Therefore, this research aims to develop and test an adoption model for cloud-based collaborative learning applications for Malaysian universities by integrating Unified Theory of

Figure-5, this figure, displays the luminescence spectra of calcium sulfate ultra-phosphate glass doped dysprosium oxide in the region of 450-675 nm at excitation wave

Comparison of these data with those of our lernary neodymium phosphate glasses shows that the 'values of elastic modulus is much higher. but those of

This study was designed to find out whether the maternal, placental or fetal pathology before storage and conditions of sampling might have an impact on the quantity or quality

1) In synthesis of supramolecular polymer, the scopes are the preparation of dimer acid from linoleic acid of sunflower oil, the preparation of oligoamide by condensation

To program the voicemail access number provided by your local telephone company press EDIT1. To enter pauses, or delete characters, use the