Paper 2020/1019

Security of Streaming Encryption in Google's Tink Library

Viet Tung Hoang
Yaobin Shen
Abstract

We analyze the multi-user security of the streaming encryption in Google's Tink library via an extended version of the framework of nonce-based online authenticated encryption of Hoang et al. (CRYPTO'15) to support random-access decryption. We show that Tink's design choice of using random nonces and a nonce-based key-derivation function indeed improves the concrete security bound. We then give two better alternatives that are more robust against randomness failure. In addition, we show how to efficiently instantiate the key-derivation function via AES, instead of relying on HMAC-SHA256 like the current design in Tink. To accomplish this we give a multi-user analysis of the XOR-of-permutation construction of Bellare, Krovetz, and Rogaway (EUROCRYPT'98).

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2020/1019,
      author = {Viet Tung Hoang and Yaobin Shen},
      title = {Security of Streaming Encryption in Google's Tink Library},
      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1019},
      year = {2020},
      url = {https://eprint.iacr.org/2020/1019}
}
Category
Secret-key cryptography
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy