TY - JOUR AU - Bahadori, Milad AU - Järvinen, Kimmo AU - Marc, Tilen AU - Stopar, Miha PY - 2021/07/09 Y2 - 2024/03/28 TI - Speed Reading in the Dark: Accelerating Functional Encryption for Quadratic Functions with Reprogrammable Hardware JF - IACR Transactions on Cryptographic Hardware and Embedded Systems JA - TCHES VL - 2021 IS - 3 SE - Articles DO - 10.46586/tches.v2021.i3.1-27 UR - https://tches.iacr.org/index.php/TCHES/article/view/8966 SP - 1-27 AB - <p>Functional encryption is a new paradigm for encryption where decryption does not give the entire plaintext but only some function of it. Functional encryption has great potential in privacy-enhancing technologies but suffers from excessive computational overheads. We introduce the first hardware accelerator that supports functional encryption for quadratic functions. Our accelerator is implemented on a reprogrammable system-on-chip following the hardware/software codesign methogology. We benchmark our implementation for two privacy-preserving machine learning applications: (1) classification of handwritten digits from the MNIST database and (2) classification of clothes images from the Fashion MNIST database. In both cases, classification is performed with encrypted images. We show that our implementation offers speedups of over 200 times compared to a published software implementation and permits applications which are unfeasible with software-only solutions.</p> ER -