Paper 2013/375 Original: eprint.iacr.org/2013/375 ↗
NaCl on 8-Bit AVR Microcontrollers
Abstract
This paper presents first results of the Networking and Cryptography library (NaCl) on the 8-bit AVR family of microcontrollers. We show that NaCl, which has so far been optimized mainly for different desktop and server platforms, is feasible on resource-constrained devices while being very fast and memory efficient. Our implementation shows that encryption using Salsa20 requires 268 cycles/byte, authentication using Poly1305 needs 195 cycles/byte, a Curve25519 scalar multiplication needs 22,791,579 cycles, signing of data using Ed25519 needs 23,216,241 cycles, and verification can be done within 32,634,713 cycles. All implemented primitives provide at least 128-bit security, run in constant time, do not use secret-data-dependent branch conditions, and are open to the public domain (no usage restrictions).
Metadata
- Available format(s)
PDF
- Category
- Implementation
- Publication info
- Preprint.
- History
- 2013-06-12: last updated
- 2013-06-12: published
- Short URL
- https://ia.cr/2013/375
- License
- https://creativecommons.org/licenses/by/4.0/
BibTeX
@misc{cryptoeprint:2013/375,
author = {Michael Hutter and Peter Schwabe},
title = {NaCl on 8-Bit AVR Microcontrollers},
howpublished = {Cryptology {ePrint} Archive, Paper 2013/375},
year = {2013},
url = {https://eprint.iacr.org/2013/375}
}