Chapter

Information Security

Volume 5735 of the series Lecture Notes in Computer Science pp 427-442

MAC Precomputation with Applications to Secure Memory

  • Juan GarayAffiliated withAT&T Labs – Research
  • , Vladimir KolesnikovAffiliated withBell Labs
  • , Rae McLellanAffiliated withBell Labs

* Final gross prices may vary according to local VAT.

Get Access

Abstract

We present ShMAC (Shallow MAC), a fixed input length message authentication code that performs most of the computation prior to the availability of the message. Specifically, ShMAC’s message-dependent computation is much faster and smaller in hardware than the evaluation of a pseudorandom permutation (PRP), and can be implemented by a small shallow circuit, while its precomputation consists of one PRP evaluation.

A main building block for ShMAC is the notion of strong differential uniformity (SDU), which we introduce, and which may be of independent interest. We present an efficient SDU construction built from previously considered differentially uniform functions.

Our motivating application is a system where a hardware-secured processor uses memory controlled by an adversary. We present in technical detail a novel, more efficient approach to encrypting and authenticating memory and discuss the associated trade-offs, while paying special attention to minimizing hardware costs and the reduction of DRAM latency.