Code based message authentication improves tag length flexibility and security
Code-Based Message Authentication with Statistical Guarantees via Coordinate Selection and Masking
Cryptography and Security
Summary
Message authentication makes sure messages are genuine and untampered when sent openly, even against attackers who can try anything. This paper looks at ways to use existing error-correcting codes, common in communications, to create stronger authentication tags by picking multiple bits instead of just one. The researchers analyze different methods of selecting these bits and adding randomness to guarantee security against forgery and message changes. Their findings show how these methods affect the chance of an attacker successfully faking a message and demonstrate performance on some well-known codes.
What this means in practice
- •For communication system designers: Design lightweight authentication methods using existing error correction codes for secure message verification on public channels.
- •For embedded system developers: Implement efficient message authentication tags with flexible length and strong security suitable for constrained devices using coordinate selection.
Authors
Hsuan-Po Liu, Hessam Mahdavifar
Abstract
We study message authentication over a public channel against a computationally unbounded adversary. Motivated by low-complexity applications, we consider schemes that leverage off-the-shelf binary linear codes already used for error correction in communication systems. Existing code-based constructions derive an authentication tag primarily from a single symbol in a $q$-ary code, which limits the tag length. However, selecting several binary coordinates allows a fixed binary linear code to support different tag lengths. We characterize how coordinate selection and ordering affect the statistical guarantees against impersonation and substitution attacks. In particular, we explore three methods: the subset selector, the ordered selector, and the independent selector. They read uniformly chosen coordinates in a fixed public or a secret random order, or with replacement, and add a uniform mask. With a fresh key per message, all three achieve the optimal impersonation probability $2^{-l_t}$ for $l_t$-bit tags. We bound the subset selector's substitution probability using only nonzero weights. Those of the other two depend only on the code length $n$, $l_t$, and the nonzero weight farthest from $n/2$. The independent selector achieves $2^{-l_t}$ for substitution when all nonzero weights equal $n/2$. Finally, we evaluate first-order Reed-Muller and Bose-Chaudhuri-Hocquenghem dual subcodes.