Privacy-Preserving Edge Computing from Pairing-Based Inner Product Functional Encryption
Utsav Banerjee
TL;DR
The paper tackles the challenge of privacy-preserving edge computing by deploying a pairing-based function-hiding inner product encryption (FHIPE) scheme on the BLS12-381 curve. It introduces an efficient software framework implemented in C using the MIRACL library, featuring GLS-based 4D scalar decomposition, optimized multi-pairing sharing, and a power-tree based bounded discrete log, all demonstrated on a Raspberry Pi 4B. The results show substantial encryption and decryption speedups (≈2.6× and ≈3.4×, respectively) and reduced ciphertext size via twist-based compression, enabling practical privacy-preserving tasks such as encrypted biomedical data classification and secure wireless indoor localization on edge devices. The work lays a path for hardware acceleration and expansion to broader privacy-preserving machine learning tasks in resource-constrained environments, highlighting its applicability to real-world IoT/privacy-sensitive applications.
Abstract
Pairing-based inner product functional encryption provides an efficient theoretical construction for privacy-preserving edge computing secured by widely deployed elliptic curve cryptography. In this work, an efficient software implementation framework for pairing-based function-hiding inner product encryption (FHIPE) is presented using the recently proposed and widely adopted BLS12-381 pairing-friendly elliptic curve. Algorithmic optimizations provide $\approx 2.6 \times$ and $\approx 3.4 \times$ speedup in FHIPE encryption and decryption respectively, and extensive performance analysis is presented using a Raspberry Pi 4B edge device. The proposed optimizations enable this implementation framework to achieve performance and ciphertext size comparable to previous work despite being implemented on an edge device with a slower processor and supporting a curve at much higher security level with a larger prime field. Practical privacy-preserving edge computing applications such as encrypted biomedical sensor data classification and secure wireless fingerprint-based indoor localization are also demonstrated using the proposed implementation framework.
