HHK: A Hardware-Oriented Cross-Location PPG Key Generation Architecture for Body Area Networks

Jose Ilton de Oliveira Filho · 2026

Read HHK: A Hardware-Oriented Cross-Location PPG Key Generation Architecture for Body Area Networks by Jose Ilton de Oliveira Filho (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-24991.txt.

Introduction

Jose Ilton de Oliveira Filho presents HHK, hardware for body area network session keys from heartbeat signals. Public-key exchange costs more compute and energy than tiny wearables can spare. HHK pulls inter-beat intervals from green-light traces at several sites. It aligns beat times, quantizes with Gray-coded bins, and reconciles timing gaps with polar-code fuzzy commitment. Synthesis maps it to a modest chip footprint with no multipliers or embedded memories. Tests on 16 wearers over long trials show strong raw bit and key agreement.

Catalog record

CREATORJose Ilton de Oliveira Filho
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE21196
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.24991

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

HHK: A Hardware-Oriented Cross-Location PPG Key Generation Architecture for Body Area Networks Jose Ilton de Oliveira Filho Abstract Body area networks (BAN) require lightweight session key establishment, yet public key exchange imposes computation and energy costs that exceed the budgets of deeply constrained wearable nodes. This brief presents HHK, a hardware-oriented cross-location photoplethysmography (PPG) key generation architecture for BANs. The proposed datapath extracts inter-beat intervals (IBIs) from green-light PPG at multiple body sites, aligns beat timestamps across locations, applies Gray-coded equal-frequency quantization, and employs a rate- 1 / 3 1/3 polar code fuzzy commitment ( N = 128 N=128 , K = 42 K=42 ) to reconcile residual timing mismatches. Post-implementation synthesis on a Xilinx XC7Z020 maps the complete datapath to 18 760 lookup tables and 20 971 flip-flops with no multipliers or embedded memories, giving 48 µJ per key generation event and 0.4 µW average power over a 120-second acquisition window. Validation across 16 participants from a real ambulatory dataset [ 13 ] (216 hours, head, wrist, and ankle) yields 86.0–90.1% raw IBI bit agreement and 51.3–69.8% key agreement. To the best of our knowledge, HHK is the first synthesizable register-transfer level (RTL) key generation architecture for BANs validated across multiple body locations on ambulatory data. I Introduction Wireless body area networks (BANs) connect wearable and implantable sensing nodes for continuous health monitoring, sports performance tracking, and closed-loop therapy [ 16 , 8 ] . Securing these links is not optional: an unprotected BAN exposes sensitive health data to passive eavesdroppers and is vulnerable to active command injection in implantable devices. Session key establishment must be renewed frequently to provide forward secrecy, yet public key cryptography imposes computation and energy costs that exceed the budgets of deeply constrained biomedical nodes [ 9 ] , and symmetric pre-distribution provides no forward secrecy after compromise. Physiological signal-based key generation offers an alternative: two nodes on the same body simultaneously observe the same underlying physiology and independently derive matching keys without transmitting any secret [ 9 , 5 ] . Photoplethysmography (PPG) sensors, already embedded in consumer smartwatches, fitness bands, and ear clips, are the most accessible cardiac modality for BANs. Inter-beat interval (IBI) timing extracted from PPG is particularly robust because it represents the same underlying cardiac rhythm regardless of measurement site [ 1 ] . Prior work has demonstrated IBI-based key generation across device configurations ranging from electrocardiogram (ECG) electrodes to finger cameras [ 19 , 18 , 20 , 6 , 14 ] , yet a critical threat has emerged: liquid crystal modulators can synthesize arbitrary PPG waveforms and deceive commodity sensors with 91.2% identity spoofing success [ 17 ] , underscoring the need for approaches validated under real-world conditions. Fig. 1 illustrates the central challenge for cross-location key agreement: simultaneous PPG recordings capture the same cardiac rhythm but differ in waveform shape and motion artifact content. Fig. 1: Simultaneous PPG from from ambulatory participant (30 s excerpt at 128 Hz). Excerpt extracted from [ 13 ] . The first critical gap in the literature is ambulatory, multi-location validation. All prior key generation studies evaluate subjects under controlled or stationary conditions, and most consider a single body location pair. Real-world BANs must operate across diverse body sites during unconstrained daily activity. PPG waveform morphology is highly site dependent and motion-corrupted in ambulatory settings [ 13 , 15 ] , creating timing errors in IBI extraction that directly degrade key agreement. No prior study has jointly evaluated head, wrist, and ankle location pairs under free-living conditions. The second critical gap is hardware implementation. All existing physiological key generation systems, including H2K [ 19 ] , FaceFinger [ 18 ] , E2P [ 20 ] , MagKey [ 6 ] , and the PPG token scheme [ 14 ] , are implemented entirely in software running on a host processor. A software-only pipeline cannot be deployed on autonomous BAN nodes operating under tight area, power, and latency constraints without a general-purpose processor, which itself consumes orders of magnitude more energy than the key generation computation. FPGA and ASIC implementations of biosignal processors are well established for heart rate estimation [ 2 , 11 ] , ECG authentication [ 3 ] , and multi-site PPG acquisition [ 10 , 12 , 7 ] , but no prior work has implemented a complete cross-location PPG key generation pipeline in synthesizable register-transfer level (RTL) and validated it on silicon. HHK closes both gaps simultaneously. Rather than relying on waveform morphology or amplitude features, which are highly site dependent and attack vulnerable [ 17 ] , HHK exploits IBI timing, which is physiologically invariant across body locations and far more robust to cross-location distortion. A fixed-point beat detector extracts timestamps from bandpass-filtered PPG; timestamp matching aligns beat sequences across sites with a 300 ms tolerance; Gray-coded equal-frequency quantization maps aligned IBIs into bit sequences; and a rate- 1/3 polar code fuzzy commitment ( N=128 , K=42 ) reconciles residual timing mismatches without exposing the shared key. The full datapath is expressed in synthesizable RTL and validated on silicon using a AMD/Xilinx XC7Z020 programmable logic device. Our contributions are: (1) an open benchmark for multi-location PPG key generation: HHK establishes the highest reported key agreement in both software (51.3–69.8%) and hardware across head, wrist, and ankle on 216 hours of free-living ambulatory data [ 13 ] , re-evaluates five prior methods under identical conditions, and releases all evaluation code publicly to facilitate reproduction and future comparison [ 4 ] ; (2) the first synthesizable RTL PPG key generation architecture for BANs: a multiplier-free fixed-point IBI pipeline with Gray-coded quantization and a hardware polar codec, silicon-validated with zero disagreement between RTL simulation and physical execution across head, wrist, and ankle. II HHK Architecture Two BAN nodes at different body locations execute the same datapath independently and exchange only public helper data; no secret is ever transmitted. Raw 16-bit PPG samples enter a causal fixed-point prefilter that attenuates baseline wander and high-frequency noise without DSP multipliers. All arithmetic is Q15 fixed-point (16-bit signed, 15 fractional bits), enabling a multiplier-free implementation. A local-maximum detector identifies beat foot points on the filtered signal. A candidate is accepted if it exceeds a fixed prominence threshold and is separated from the previous detection by at least the refractory interval corresponding to 150 beats per minute (BPM). Let t_{n}^{(s)} denote the n th beat timestamp at body site s ; the inter-beat interval is \mathrm{IBI}_{n}^{(s)}=t_{n+1}^{(s)}-t_{n}^{(s)}. (1) For each beat at site A , the nearest beat at site B within a 300 ms tolerance window is selected. Only matched pairs contribute to IBI sequences, eliminating beat-desynchronization errors that dominate naive sequential comparison. The IBI range is partitioned into four equal-frequency bins using dataset-wide percentiles, and each IBI is mapped to a 2-bit Gray code. Gray coding guarantees at most 1-bit disagreement for boundary crossings, reducing the effective channel error rate. Algorithm 1 summarises the complete extraction and alignment procedure. Algorithm 1 IBI Extraction and Cross-Location Alignment 1: PPG streams x_{A}(t) , x_{B}(t) at f_{s}=128 Hz; tolerance \delta=300 ms 2: Aligned IBI pairs; Gray-coded bit strings \mathbf{b}_{A},\mathbf{b}_{B}\in\{0,1\}^{128} 3: for each site u\in\{A,B\} do 4: Filter x_{u}(t) with causal Q15 IIR bandpass filter 5: Detect

Read the complete text