# Authenticated Data Structures, Generically

Title | Authenticated Data Structures, Generically |

Publication Type | Journal Article |

Year of Publication | 2014 |

Authors | Miller, Andrew, Hicks, Michael, Katz, Jonathan, Shi, Elaine |

Journal | SIGPLAN Not. |

Volume | 49 |

Pagination | 411–423 |

ISSN | 0362-1340 |

Keywords | authenticated data structures, cryptography, programming languages, security |

Abstract | An authenticated data structure (ADS) is a data structure whose operations can be carried out by an untrusted prover, the results of which a verifier can efficiently check as authentic. This is done by having the prover produce a compact proof that the verifier can check along with each operation's result. ADSs thus support outsourcing data maintenance and processing tasks to untrusted servers without loss of integrity. Past work on ADSs has focused on particular data structures (or limited classes of data structures), one at a time, often with support only for particular operations. This paper presents a generic method, using a simple extension to a ML-like functional programming language we call l* (lambda-auth), with which one can program authenticated operations over any data structure defined by standard type constructors, including recursive types, sums, and products. The programmer writes the data structure largely as usual and it is compiled to code to be run by the prover and verifier. Using a formalization of l* we prove that all well-typed l* programs result in code that is secure under the standard cryptographic assumption of collision-resistant hash functions. We have implemented l* as an extension to the OCaml compiler, and have used it to produce authenticated versions of many interesting data structures including binary search trees, red-black+ trees, skip lists, and more. Performance experiments show that our approach is efficient, giving up little compared to the hand-optimized data structures developed previously. |

URL | http://doi.acm.org/10.1145/2578855.2535851 |

DOI | 10.1145/2535838.2535851 |

Citation Key | Miller:2014:ADS:2578855.2535851 |