eFPE: Design, Implementation, and Evaluation of a Lightweight Format-Preserving Encryption Algorithm for Embedded Systems
Nishant Vasantkumar Hegde, Suneesh Bare, K B Ramesh, Aamir Ibrahim
TL;DR
This work introduces eFPE, a lightweight format-preserving encryption scheme optimized for resource-constrained embedded systems. It combines an 8-round balanced Feistel network with a novel AES-inspired PRF to directly encrypt even-length decimal strings without padding, aiming for IND-CCA2 security. The authors implement and validate eFPE on an LPC2148 MCU, achieving a total firmware footprint of 4.73 kB ROM and 1.34 kB RAM, with the core module occupying 3.55 kB ROM and 116 B RAM. The study positions eFPE as a practical, low-footprint solution for secure numeric data in terminals, medical sensors, and industrial IoT, and outlines future work on expanding data types, hardware acceleration, and deeper energy and security analyses.
Abstract
Resource-constrained embedded systems demand secure yet lightweight data protection, particularly when data formats must be preserved. This paper introduces eFPE (Enhanced Format-Preserving Encryption), an 8-round Feistel cipher featuring a "novel lightweight Pseudorandom Function (PRF)" specifically designed for this domain. The PRF, architected with an efficient two-iteration structure of AES-inspired operations (byte-substitution, keyed XOR, and byte-rotation), underpins eFPE's ability to directly encrypt even-length decimal strings without padding or complex conversions, while aiming for IND-CCA2 security under standard assumptions. Implemented and evaluated on an ARM7TDMI LPC2148 microcontroller using Keil μVision 4, eFPE demonstrates the efficacy of its targeted design: a total firmware Read-Only Memory (ROM) footprint of 4.73 kB and Random Access Memory (RAM) usage of 1.34 kB. The core eFPE algorithm module itself is notably compact, requiring only 3.55 kB ROM and 116 B RAM. These characteristics make eFPE a distinct and highly suitable solution for applications like financial terminals, medical sensors, and industrial IoT devices where data format integrity, minimal resource footprint, and low operational latency are paramount.
