Secure Keyed Hashing on Programmable Switches

29Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Cyclic Redundancy Check (CRC) is a computationally inexpensive function readily available in many high-speed networking devices, and thus it is used extensively as a hash function in many data-plane applications. However, CRC is not a true cryptographic hash function, and it leaves applications vulnerable to attack. While cryptographically secure hash functions exist, there is no fast and efficient implementation for such functions on high-speed programmable switches. In this paper, we introduce an implementation of a secure keyed hash function optimized for commodity programmable switches and capable of running entirely within the data plane. We implement HalfSipHash on the Barefoot Tofino switch by using dependency management schemes to conserve pipeline stages and slicing semantics for concise circular bit shift operations. We show that our efficient implementation performs 67 million, 90 million, 150 million, and 304 million hashes per second for 32-byte, 24-byte, 16-byte, and 8-byte input strings, respectively.

References Powered by Scopus

How to break MD5 and other hash functions

965Citations
N/AReaders
Get full text

Forwarding metamorphosis: Fast programmable match-action processing in hardware for SDN

565Citations
N/AReaders
Get full text

NetCache: Balancing Key-Value Stores with Fast In-Network Caching

476Citations
N/AReaders
Get full text

Cited by Powered by Scopus

On implementing ChaCha on a programmable switch

9Citations
N/AReaders
Get full text

Accelerating PUF-based UAV Authentication Protocols Using Programmable Switch

8Citations
N/AReaders
Get full text

Implementing ChaCha based crypto primitives on programmable SmartNICs

7Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Yoo, S., & Chen, X. (2021). Secure Keyed Hashing on Programmable Switches. In SPIN 2021 - Proceedings of the 2021 ACM SIGCOMM Workshop on Secure Programmable network INfrastructure (pp. 16–22). Association for Computing Machinery, Inc. https://doi.org/10.1145/3472873.3472881

Readers' Seniority

Tooltip

Professor / Associate Prof. 1

33%

PhD / Post grad / Masters / Doc 1

33%

Researcher 1

33%

Readers' Discipline

Tooltip

Computer Science 4

67%

Engineering 2

33%

Save time finding and organizing research with Mendeley

Sign up for free