Cryptology ePrint Archive: Report 2016/586

A Modular Treatment of Cryptographic APIs: The Symmetric-Key Case

Thomas Shrimpton; Martijn Stam; Bogdan Warinschi

Abstract: Application Programming Interfaces (APIs) to cryptographic tokens like smartcards and Hardware Security Modules (HSMs) provide users with commands to manage and use cryptographic keys stored on trusted hardware. Their design is mainly guided by industrial standards without clear security promises.

In this paper we propose cryptographic models for the security of such APIs. The key feature of our approach is that it enables modular analysis. Specifically, we show that a secure cryptographic API can be obtained by combining a secure API for key-management together with secure implementations of, for instance, encryption or message authentication. Our models are the first to provide such compositional guarantees while considering realistic adversaries that can adaptively corrupt keys stored on tokens. We also provide a proof of concept instantiation (from a deterministic authenticated-encryption scheme) of the key-management portion of cryptographic API.

Category / Keywords:

Original Publication (in the same form): IACR-Crypto-2016

Date: received 3 Jun 2016, last revised 7 Jun 2016

Contact author: teshrim at ufl edu, csxms@bris ac uk, csxbw@bris ac uk

Available format(s): PDF | BibTeX Citation

Note: Fixing a couple of typos.

Version: 20160608:021906 (All versions of this report)

Short URL: ia.cr/2016/586

Discussion forum: Show discussion | Start new discussion


[ Cryptology ePrint archive ]