130 likes | 159 Views
State Management in Hash-Based Signatures. David McGrew , Panos Kampanakis, Scott Fluhrer, Stefan-Lukas Gazdag, Denis Butin, Johannes Buchmann {mcgrew,pkampana,sfluhrer}@cisco.com stefan-lukas_gazdag@genua.eu {dbutin,buchmann}@cdc.informatik.tu-darmstadt.de. C. F. R. G. 4/8/16.
E N D
State Management in Hash-Based Signatures David McGrew, Panos Kampanakis, Scott Fluhrer, Stefan-Lukas Gazdag, Denis Butin, Johannes Buchmann {mcgrew,pkampana,sfluhrer}@cisco.com stefan-lukas_gazdag@genua.eu {dbutin,buchmann}@cdc.informatik.tu-darmstadt.de C F R G 4/8/16 CFRG @ IETF95 1
One-Time Signatures • Merkle • Signatures • Hierarchical • Signatures • 1,048,576 Signatures • ~4.5KB • 1 Signature • ~2KB • 1024 Signatures • ~2.5KB 4/8/16 CFRG @ IETF95 2
Private key state management File System Cache Disk Cache readKN M write i=N+1 Synchronization Delay ok Sig(KN, M) 4/8/16 CFRG @ IETF95 3
State management issues • Synchronization delay • Synchronization failure • Implementation problem • Nonvolatile cloning • System backup • Volatile cloning • VM cloning Performance Security; testable Security; not testable Security; not testable 4/8/16 CFRG @ IETF95 4
State management issues • Synchronization delay • Synchronization failure • Implementation problem • Nonvolatile cloning • System backup • Volatile cloning • VM cloning Performance Security; testable Security; not testable Also breaks: Entropy pools and PRNGs Deterministic IVs and Nonces Encryption counters Digital signature seeds One Time Passwords (OTP) TCP sequence numbers 4/8/16 CFRG @ IETF95 5
Scheme = (Key Generation, Signing, Verifying) Key Generation Kpriv Signing Sig M Verifying Kpub 0/1 4/8/16 CFRG @ IETF95 6
Scheme = (Key Generation, Reservation, Signing, Verifying) Reservation Key Generation Kpriv Signing Sig M Verifying Kpub 0/1 4/8/16 CFRG @ IETF95 7
Signing with State Reservation { reserve next R OTS keys Kj, Kj+1, … , Kj+R while j< R { sign message Mj with Kjand increment i } } 4/8/16 CFRG @ IETF95 8
Hierarchical signatures and state reservation Nonvolatile Volatile 4/8/16 CFRG @ IETF95 9
Hierarchical signatures and state reservation • Synchronization delay • Synchronization failure • Unintended cloning • Nonvolatile • Volatile SOLVED SOLVED Nonvolatile NOT SOLVED NONISSUE Volatile 4/8/16 CFRG @ IETF95 10
Stateless HBS • No synchronization or cloning issues! • SPHINCS • ~ 45 KB signatures • Significantly slower signing times 4/8/16 CFRG @ IETF95 11
Hybrid stateful/stateless signatures • Synchronization delay • Synchronization failure • Unintended cloning • Nonvolatile • Volatile SOLVED SOLVED Stateless SOLVED NONISSUE Stateful 4/8/16 CFRG @ IETF95 12
Please do not delete this slide if you would like to use this style. Click the right hand corner of the image to select it. Right click on the image and select Change Picture to locate your image and insert it. 1979 Technology Rocks!