STRIBOB : Authenticated Encryption from GOST R 34.11-2012 LPS or Whirlpool
Markku-Juhani O. Saarinen mjos@item.ntnu.no
Norwegian University of Science and Technology
Directions in Authentication Ciphers '14 24 August 2014, Santa Barbara USA
1 / 19
STRIBOB : Authenticated Encryption from GOST R 34.11-2012 LPS or - - PowerPoint PPT Presentation
mjos@item.ntnu.no STRIBOB : Authenticated Encryption from GOST R 34.11-2012 LPS or Whirlpool Markku-Juhani O. Saarinen Norwegian University of Science and Technology Directions in Authentication Ciphers '14 24 August 2014, Santa Barbara USA 1
1 / 19
▶ STRIBOBr1: Streebog LPS. ▶ STRIBOBr2d1: Streebog LPS. ▶ STRIBOBr2d2: Whirlpool LPS - "WhirlBob".
▶ "Explicit Domain Separation". ▶ Fully adjustable security parameters. ▶ MAC-then-continue / sessions, Half-duplex protocols..
2 / 19
3 / 19
n 2 effort.
4 / 19
g0 g512 g1024 g512n m0 m1 m2 pad mn g0 |M| g0 total length “checksum” h(M) · · · n
i=0 mi (mod 2512)
h = 0 ǫ = 0 M =
5 / 19
LPS LPS LPS LPS LPS LPS LPS LPS LPS h m h′ C3 N C2 C1 C12 4, 5, · · · , 11
K12 K3 K2 K1
6 / 19
S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S ( byte transpose ) 8 16 24 32 40 48 56 1 2 3 4 5 6 7 9 17 25 33 41 49 57 10 18 13 14 15 26 58 59 60 61 62 63 34 42 50 55 47 39 31 22 21 30 29 38 37 46 45 54 53 23 ( 64 × 64-bit matrix ) L L L L L L ( 8 × 8-bit S-Box )
7 / 19
▶ r bits of rate, related to hashing speed ▶ c bits of capacity, related to security
8 / 19
π π π π π π π r c IV d0 d··· p1 c1 p··· c··· h0 h··· p0 c0 squeezing phase encryption phase absorbtion phase
9 / 19
10 / 19
11 / 19
12 / 19
LPS LPS LPS LPS LPS LPS LPS LPS LPS h m h′ C3 N C2 C1 C12 4, 5, · · · , 11
K12 K3 K2 K1 13 / 19
E E−1 R E E−1 S
14 / 19
15 / 19
16 / 19
17 / 19
$ ./stricat -h stricat: STRIBOB / Streebog Cryptographic Tool. (c) 2013-4 Markku-Juhani O. Saarinen <mjos@iki.fi>. See LICENSE. stricat [OPTION].. [FILE]..
This help text
Quick self-test and version information Shared secret key (use twice to verify):
Prompt for key
Use file as a key
Specify key on command line Files:
Encrypt stdin or files (add .sb1 suffix)
Decrypt stdin or files (must have .sb1 suffix)
Hash stdin or files in STRIBOB BNLK mode (optionally keyed)
GOST R 34.11-2012 unkeyed Streebog hash with 256-bit output
GOST R 34.11-2012 unkeyed Streebog hash with 512-bit output Communication via BLNK protocol:
Specify TCP port (default 48879)
Connect to a specific host (client)
Listen to incoming connection (server)
18 / 19
19 / 19