Back to search

Universidade de Coimbro

Study and Development of Quantum-Resistant Cryptographic Algorithms for the Neuropil Protocol Framework

Abstract

dc:description.abstract

As quantum computing advances, secure communications must evolve to adapt. Neuropil is a lightweight protocol created by Pi-lar GmbH for secure exchanges in IoT systems. It currently relies on classical cryptographic techniques, including X25519 for key exchange and Ed25519 for authentication, which are vulnerable to quantum attacks. This study shows how lattice-based CRYSTALS Kyber and CRYSTALS Dilithium can be added to Neuropil without changing its protocol architecture. The work begins with a study of post-quantum cryptography. It looks at the NIST standardisation process, and chooses Kyber-512 for key encapsulation and Dilithium-2 for digital signatures, because they match the AES-128 security level with small keys, signatures and ciphertext sizes that fit IoT devices. Integration keeps the original 1024-byte handshake, places a Kyber ciphertext and a Dilithium signature in the next join message, and turns on the extra code only when the build flag NP_USE_OQS is enabled. A hybrid solution was implemented in C using the liboqs library that combines classical and post-quantum algorithms. Tests indicate reliable operation with only a small increase in connection setup time, and no significant effect on the traffic. A built-in cluster driver that starts 10 in-process nodes shows that the hybrid build increases the mean of the join round-trip time from 4.9 ms to 70.4 ms, and adds about 70 kilobytes of start-up traffic. After it settles, the message rate and neighbour count match the classical run. The analysis shows that forging the leftover Ed25519 fingerprint within the 5 ms Handshake gap would need about one trillion physical qubits, far beyond today’s quantum-computing roadmap plans. Evaluations confirm compliance with NIST post-quantum standards and the resilience of the implementation. Because Neuropil keeps backward compatibility, devices that use only classical crypto work as before, while updated nodes get quantum-safe keys. Future work will test regular rotation of Kyber key pairs to give full forward secrecy, speed up heavy math with SIMD and FPGA hardware, and run trials across many regions with thousands of nodes to check real network impact. These results demonstrate that Neuropil can be upgraded to have post-quantum security, remaining efficient and compatible with existing deployments.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Marques, João André Gomes
Advisor dc:contributor.advisor
  • Fernandes, Fernando Pedro Lopes Boavida

Subjects

dc:subject × 10

Rights

dc:rights
Statement dc:rights
  • openAccess
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Tid
204037492

Chain of custody

source
Harvested from
Universidade de Coimbro
Base URL
estudogeral.sib.uc.pt/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Marques, João André Gomes. Study and Development of Quantum-Resistant Cryptographic Algorithms for the Neuropil Protocol Framework. 2025. https://hdl.handle.net/10316/120969