# A Large Term Rewrite System Modelling a Pioneering Cryptographic   Algorithm

**Authors:** Hubert Garavel, Lina Marsso

arXiv: 1703.06573 · 2017-03-21

## TL;DR

This paper introduces a comprehensive term rewrite system modeling the Message Authenticator Algorithm, enabling formal analysis and automatic implementation across multiple programming languages to verify cryptographic correctness.

## Contribution

It provides the first large-scale, confluent, and terminating formal model of the MAA, with automated implementation and validation against official test vectors.

## Key findings

- Successfully modeled MAA with 684 rewrite rules
- Generated implementations in 13 programming languages
- Validated 200 official cryptographic test vectors

## Abstract

We present a term rewrite system that formally models the Message Authenticator Algorithm (MAA), which was one of the first cryptographic functions for computing a Message Authentication Code and was adopted, between 1987 and 2001, in international standards (ISO 8730 and ISO 8731-2) to ensure the authenticity and integrity of banking transactions. Our term rewrite system is large (13 sorts, 18 constructors, 644 non-constructors, and 684 rewrite rules), confluent, and terminating. Implementations in thirteen different languages have been automatically derived from this model and used to validate 200 official test vectors for the MAA.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1703.06573/full.md

## References

23 references — full list in the complete paper: https://tomesphere.com/paper/1703.06573/full.md

---
Source: https://tomesphere.com/paper/1703.06573