CGCarlos Gabriel de Araujo Gewehr

Carlos Gabriel de Araujo Gewehr

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Carlos Gabriel de Araujo Gewehr has a total of 6 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Hardware Acceleration of Crystals-Kyber in Low-Complexity Embedded Systems With RISC-V Instruction Set Extensions

    by Carlos Gewehr, Lucas Luza, Fernando Gehm Moraes

    The imminent rise of practical quantum computing threatens well-established cryptography algorithms for secret key exchange in use today, such as Diffie-Hellman, RSA and Elliptic Curve based schemes. To answer this challenge, the National Institute for Standard and Technology (NIST) has launched a competition for Key Encapsulation Mechanism (KEM) algorithms showing resistance to classical and quantum-based attacks. In July 2022, NIST announced that the Crystals-Kyber algorithm was chosen as the competition’s winner, being standardized as ML-KEM. No works in literature sufficiently address the issue of efficient implementation of Kyber in resource-constrained embedded systems. This work aims to explore hardware acceleration through Instruction Set Extensions (ISEs) in a low-end 32-bit RISC-V core (Ibex) in a comprehensive evaluation of performance, energy consumption, memory footprint and die area costs. Four different parametrizations of Kyber symmetric primitives are evaluated: the well-known SHA-3 and AES/SHA-2 based versions (Kyber-FIPS202 and Kyber-90s); and 2 novel parametrizations using Ascon and TurboSHAKE (Kyber-Ascon and Kyber-Turbo). Hardware acceleration of symmetric primitives in Kyber-90s with the Zkne and Zknh ISEs shows performance and energy gains of 42% and 37% for Kyber-512 encapsulation. Combining the acceleration of primitives with a novel Xkyber ISE accelerating polynomial arithmetic, CBD sampling and coefficient compression, further gains of 47% and 41% in performance and energy consumption are observed (for Kyber-512 encapsulation), while also reducing Kyber code size by 15%. Xkyber area costs are of 13% of the baseline Ibex processor with no ISEs or 4.3K equivalent gates. Software and RTL implementations are publicly available at github.com/cggewehr/RISCV-crypto.


  • Dedicated Shapelet Distance Engine for Time-Series Classification

    by Victor Oliveira Costa, Carlos Gabriel de Araujo Gewehr, Julio Costella Vicenzi, Everton Alceu Carara, Leonardo Londero de Oliveira

    Shapelet-based methods have emerged as accurate and interpretable tools for time-series classification in machine learning applications. Although these methods find wide applicability, nowadays their use is restricted due to the heavy computational burden associated with numerous computations of z-score normalization and Euclidean distance. The current article addresses this issue with the proposal of a parameterizable parallel hardware accelerator to perform the aforementioned computations. Results show that our dedicated shapelet distance engine can significantly reduce the runtime when compared with a software implementation, achieving speedups of up to five times in terms of clock cycles.