Skip to Content
SymmetrySymmetry
  • Article
  • Open Access

28 February 2026

21 Pages

Fyber: A Flexible-Dimension Post-Quantum Key Encapsulation Mechanism for IoT

,
,
,
and
1
School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China
2
Department of Cryptography Science and Technology, Beijing Electronics Science and Technology Institute, Beijing 100070, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Symmetry and Asymmetry in IoT Security

Abstract

Following the completion of the NIST post-quantum cryptography standardization, Kyber has been adopted as a key encapsulation mechanism (KEM) for quantum-resistant communication. Although lattice-based KEMs provide strong security and efficiency, most existing designs restrict the cyclotomic ring dimension to powers of two, which limits parameter flexibility for heterogeneous and resource-constrained Internet of Things (IoT) devices. In this paper, we propose Fyber, a post-quantum KEM based on the Module Learning With Errors (M-LWE) problem over a module ring defined by the cyclotomic polynomial f ( x ) = x n − x n / 2 + 1 , where n is a product of powers of 2 and 3. This construction enables mixed-radix parameter selection and allows finer-grained trade-offs between security and efficiency. To further improve performance on constrained platforms, we introduce an efficient non-Gaussian sampling method. The proposed KEM supports flexible security-level stratification for IoT applications, achieving reduced public key and ciphertext sizes for selected parameter sets at the cost of moderately increased computational overhead compared to Kyber, and fills intermediate security gaps between existing standardized parameter sets.

1. Introduction

With the rapid development of Internet of Things (IoT) systems [1], IoT applications have expanded across diverse domains, including smart homes, cities, transportation, and healthcare [2]. These devices can collect, process, and share data with each other and with external systems over the Internet. To ensure data confidentiality and integrity, key encapsulation mechanisms (KEMs) are required to securely distribute symmetric keys between devices, which are then used for encrypting transmitted data [3]. With the development of quantum computers [4], conventional cryptographic schemes are expected to become vulnerable, which motivates the consideration and deployment of post-quantum cryptography (PQC) in IoT devices.
KEMs based on the Learning With Errors (LWE) problem [5,6] and its variants [7,8] play a central role in establishing secure channels in PQC-enabled systems. In 2015, Langlois et al. [8] proposed the LWE problem on modular lattices (M-LWE). Compared to LWE, cryptosystems based on M-LWE offer greater flexibility in parameter selection and have become a primary focus of mainstream research in recent years. Especially after the National Institute of Standards and Technology (NIST) designated CRYSTALS-Kyber [9] as a standard post-quantum KEM, constructions based on the hardness of lattice problems have been considered to be among the primary contenders for replacing current KEMs that rely on the computational hardness of traditional number-theoretic problems such as integer factorization and discrete logarithm.
Despite its practical success, Kyber (and most existing M-LWE-based KEMs) relies on cyclotomic polynomial rings whose degrees n are restricted to powers of two [9,10,11]. In this case, the n-th cyclotomic polynomial takes the form x n / 2 + 1 , which is maximally sparse. Moreover, this design choice simplifies the implementation of number-theoretic transforms (NTTs) [12], enabling polynomial multiplication with complexity O ( n log n ) rather than O ( n 2 ) . As a result, high performance can be achieved on general-purpose platforms. However, restricting the ring dimension to powers of two significantly reduces the flexibility of parameter selection, making it difficult to achieve well-balanced trade-offs among security, computational efficiency, and memory footprint in IoT environments. In practice, IoT deployments encompass a wide spectrum of devices, ranging from ultra-low-power microcontrollers [13] to more capable gateways [14]. Restricting ring dimensions to powers of two only permits coarse-grained parameter scaling, forcing designers to choose between insufficient security margins with small dimensions or unnecessary computational and memory overhead with large dimensions. To illustrate the flexibility enabled by ring dimensions of the form n = 2 k · 3 l , Table 1 presents representative parameter choices for different classes of IoT devices. These configurations are illustrative examples following standard M-LWE parameterization principles and are intended to demonstrate how non-power-of-two dimensions enable finer-grained trade-offs between security and resource consumption, rather than to define standardized parameter sets. Specifically, ultra-low-power MCUs typically target NIST level-1 security [15] due to strict memory and energy constraints, while mid-range IoT devices can support moderate parameters at level-3 security. Gateways and edge devices, being less resource-constrained, can adopt higher security levels (e.g., level-5) with larger ring dimensions. For instance, on microcontrollers with only tens of kilobytes of SRAM, a power-of-two dimension such as n = 256 may exceed the memory budget, whereas n = 128 may not meet security requirements. In contrast, intermediate dimensions such as n = 192 achieve security levels that are difficult to realize using power-of-two dimensions alone, while significantly reducing key size and memory footprint.
Table 1. Example parameter configurations enabled by non-power-of-two ring dimensions for IoT devices [13,14]. (n is the degree of the cyclotomic polynomial.)
Non-power-of-two cyclotomic rings expand the parameter space by enabling a wider range of ring dimensions, thereby allowing finer-grained security-level tuning and potentially reducing bandwidth and ciphertext expansion for intermediate security requirements. Moreover, many existing cryptanalytic techniques have been primarily studied and optimized for power-of-two cyclotomic rings [16,17,18]. While this does not imply a general security advantage, adopting more diverse cyclotomic structures may reduce exposure to structure-specific attack optimizations and broaden the design space for mitigating known attack strategies. Despite these potential benefits, designing KEMs over general cyclotomic rings is non-trivial and introduces challenges at multiple levels. First, the equality n R ∨ = R no longer holds, which requires sampling secret keys from the dual ring ( R ∨ ) d and incurs higher computational complexity. Second, naive coefficient scaling distorts the noise distribution in the embedded space and violates the spherical Gaussian assumption, thereby opening the door to several known attacks [19,20,21]. Finally, NTT cannot be directly applied to accelerate polynomial multiplication in non-power-of-two rings, which further complicates efficient implementations.
Contributions. In this work, we address these challenges by proposing Fyber, a post-quantum CCA-secure KEM based on the Module Learning With Errors (M-LWE) assumption over cyclotomic rings defined by the polynomial f ( x ) = x n − x n / 2 + 1 , where n = 2 k · 3 l . This mixed-radix ring structure enables flexible parameter selection and supports mixed-radix NTT implementations, allowing fine-grained trade-offs between security, computational efficiency, and memory usage that are well-suited to IoT devices.
To enhance practicality, we develop an efficient non-Gaussian sampling method and a fast polynomial multiplication algorithm tailored to the proposed ring structure. Compared with Kyber, Fyber achieves smaller public key and ciphertext sizes for selected parameter sets while maintaining post-quantum security, and it naturally supports intermediate security levels that are not covered by existing standardized parameter sets. Overall, Fyber demonstrates improved parameter adaptability and security-level stratification for IoT-oriented post-quantum communication.
The remainder of this paper is organized as follows. Section 2 surveys the related work, and Section 3 presents the relevant background definitions. Section 4 describes the proposed public key encryption (PKE) scheme, which is subsequently converted into a key encapsulation mechanism (KEM) using the Fujisaki–Okamoto (FO) transform. Section 5 offers a comprehensive evaluation of the performance of our construction. Finally, Section 6 summarizes our work.

3. Preliminaries

3.1. Notation

We denote N , Z , Q , R , and C as the set of all natural numbers, integers, rational numbers, real numbers, and complex numbers, respectively. For a fixed integer m, we denote Z m * as { a | gcd ( a , m ) = 1 , a ∈ Z m } , where gcd ( * , * ) means the greatest common divisor function. It follows that the number of the group | Z m * | = φ ( m ) . By default, φ is the Euler totient function. For a real a ∈ R , we denote ⌊ a ⌉ as the integer closest to a, denote ⌈ a ⌉ = ⌊ a + 1 2 ⌉ , and denote ⌊ a ⌋ = ⌊ a − 1 2 ⌉ . For a real coefficients polynomial f ∈ R [ x ] , we let ⌊ f ⌉ ∈ Z [ x ] indicate that each coefficient is rounded individually.
Fixing a prime q, for any v ∈ Z q , we denote ∥ v ∥ ∞ = | v mod q ± | . For any v ∈ R , we denote ∥ v ∥ ∞ = max i ∥ v i ∥ ∞ , where v i means the i-th coefficient of v. Similarly, for any v = ( v 1 , v 2 , ⋯ , v d ) ∈ R d , we let ∥ v ∥ ∞ = max i ∥ v i ∥ ∞ denote the l ∞ norm.
Throughout this paper, for a fixed integer m ≥ 2 , we always denote the integer
m ′ = m if m is odd , m / 2 otherwise .
And we define the polynomial
Θ m [ x ] = x m − 1 if m is odd , x m / 2 + 1 otherwise .

3.2. Lattice and Algebraic Background

Cyclotomic ring. When fixing an integer m ≥ 2 , for m-th primitive root of unity ζ m , cyclotomic polynomial is defined by
Φ m ( x ) = ∏ s = 1 gcd ( s , m ) = 1 m ( x − ζ m s ) ,
which is a monic irreducible polynomial with integer coefficients. The degree of Φ m ( x ) is φ ( m ) . The number field K = Q ( ζ m ) ≅ Q [ x ] / ( Φ m [ x ] ) is an extension of Q by adjoining ζ m and [ Q ( ζ m ) : Q ] = φ ( m ) . When considering Q ( ζ m ) as an φ ( m ) -dimensional vector space over Q , the power basis is defined as { ζ m i } i ∈ Z m * .
The set of all algebraic integers in a number field K, denoted as R, forms an integral domain and is referred to as the ring of algebraic integers. For K = Q ( ζ m ) , the ring of algebraic integers is R = Z [ ζ m ] ≅ Z [ x ] / ( Φ m [ x ] ) .
In addition to this, by the definition of Θ m ( x ) (2), we can obtain Φ m ( x ) ∣ Θ m ( x ) . Thus, the ring Z [ x ] / ( Θ m [ x ] ) is an expansion of the cyclotomic ring Z [ x ] / ( Φ m [ x ] ) . Furthermore, the reduction modulo Φ m [ x ] , denoted as β , is a ring morphism. The power basis of Z [ x ] / ( Θ m [ x ] ) consists of { 1 , ζ m , ⋯ , ζ m m − 1 } for odd m and { 1 , ζ m , ⋯ , ζ m m 2 − 1 } for even m.
Module learning with error. Let GD σ be a fixed distribution with standard deviation σ and s ∈ ( R q ∨ ) d be a secret vector. The decisional M-LWE problem asks any distinguisher A to distinguish between ( A , b = As + e ) and ( A , b ′ ) with a negligible advantage, where A ← R q k × d , e ← GD σ k and b ′ ← R q k .

3.3. PKE and KEM

A public key encryption (PKE) scheme is a tuple ( KeyGen , Enc , Dec ) of polynomial-time algorithms over a message space M , where KeyGen ( λ ) outputs ( p k , s k ) , Enc ( p k , m ) outputs a ciphertext c for m ∈ M , and Dec ( s k , c ) outputs m or ⊥. Correctness requires that for all m ∈ M ,
Pr [ Dec ( s k , Enc ( p k , m ) ) = m ] ≥ 1 − negl ( λ ) .
A PKE scheme is indistinguishability under chosen-plaintext attacks (IND-CPA) secure [35] if for any polynomial-time adversary A , its advantage in the standard IND-CPA experiment is negligible, i.e.,
Adv PKE , A IND - CPA ( λ ) = Pr b = b ′ : ( p k , s k ) ← KeyGen ( λ ) ; ( m 0 , m 1 , s ) ← A ( p k ) ; b ← $ { 0 , 1 } ; c * ← Enc ( p k , m b ) ; b ′ ← A ( s , c * ) − 1 2 .
A key encapsulation mechanism (KEM) is a tuple ( KeyGen , Encaps , Decaps ) of polynomial-time algorithms. The key generation algorithm KeyGen ( λ ) outputs a public/secret key pair ( p k , s k ) . The encapsulation algorithm Encaps ( p k ) takes a public key p k as input and outputs a shared secret K together with a ciphertext c. The decapsulation algorithm Decaps ( s k , c ) takes the secret key s k and a ciphertext c as input and outputs either the shared secret K or ⊥. Correctness requires that
Pr [ Decaps ( s k , c ) = K : ( K , c ) ← Encaps ( p k ) ] ≥ 1 − negl ( λ ) ,
where ( p k , s k ) ← KeyGen ( λ ) . The advantage of an adversary A against the indistinguishability under chosen-ciphertext attacks (IND-CCA) security of a KEM is defined as
Adv KEM , A IND - CCA ( λ ) = Pr b = b ′ : ( p k , s k ) ← KeyGen ( λ ) ; b ← $ { 0 , 1 } ; ( c * , K 0 * ) ← Encaps ( p k ) ; K 1 * ← K ; b ′ ← A Decaps ( · ) ( p k , c * , K b * ) − 1 2 .

3.4. Compression and Decompression Functions

We utilize Kyber’s compression and decompression functions to decrease the ciphertext size without impacting decryption. Let q be a fixed prime, and let x ∈ Z q and an integer t such that t < ⌊ log q ⌋ . The compression and decompression functions are denoted as
Compress q ( x , t ) = 2 t q · x     mod   2 t , Decompress q ( x , t ) = q 2 t · x .
For x ∈ R q and x ∈ R q d , the functions are applied component-wise to each entry. The following lemma is essential for calculating the decryption failure rate.
Lemma 1.
For fixed x ∈ Z q , we have x ′ = D e c o m p r e s s q ( C o m p r e s s q ( x , t ) , t ) , an element close to x; more precisely:
| x ′ − x mod q ± | ≤ B q : = q 2 t + 1 .
Definition 1
(Mod switching errors distribution, MSED). For fixed t , d ∈ Z + , we define the distribution ψ t d by uniformly sampling x ← R d and then returning
( x − D e c o m p r e s s q ( C o m p r e s s q ( x , t ) , t ) ) mod q ± .

4. M-LWE-Based IND-CPA Security PKE

In this section, we construct an IND-CPA security PKE based on the hardness of M-LWE problem. Our construction is inspired by the work of Ducas and Durmus [36], which proposed a PKE scheme instantiated over general cyclotomic rings under the R-LWE assumption. While their work established an important theoretical foundation, it primarily focused on the R-LWE setting and did not allow for flexible selection of the module rank, nor include an efficient practical instantiation. In this work, we extend their approach to the more general M-LWE setting and provide a complete security analysis, which is given in Appendix A. This generalization enables finer-grained parameter selection and allows the use of non-Gaussian sampling techniques. As a result, our PKE construction offers improved parameter flexibility and practical efficiency compared to the original R-LWE-based scheme.

4.1. Fyber’s PKE Scheme

For clarity, we consistently use n to denote the ring dimension (i.e., the degree of the cyclotomic polynomial), and m to denote the modulus parameter in the M-LWE instance throughout the paper.
For the security parameter λ , the system parameter params is generated as follows: an integer m is chosen such that m = 2 k 3 l , where k , l ∈ N . Thus n = φ ( m ) = 2 k 3 l − 1 . And modulus q is a prime congruent to 1 modulo n. Note that R q = Z q [ x ] / ( Φ m ( x ) ) , where Φ m ( x ) = x n − x n / 2 + 1 . Here, polynomial Θ m ( x ) = x m / 2 + 1 and integer m ′ = m / 2 , which are respectively defined by (2) and (1) (since m is an even). They also have small positive integers t u and t v that are smaller than ⌊ log 2 q ⌋ . Then, for given positive integers d and η , params is given by ( n , q , d , η , t u , t v , R q , Θ m [ x ] ) .
We use Kyber’s encoding/decoding algorithms to convert a n bit-string message μ = ( μ 0 , … , μ n − 1 ) ∈ M = { 0 , 1 } n to its polynomial form μ ′ = Encode ( μ ) = ∑ i = 0 n − 1 μ i X i ∈ R and vice versa via Decode ( μ ′ ) = μ .
The centered binomial distribution (CBD) Δ η is defined as follows: randomly choosing samples ( x i , y i ) i = 1 η from { 0 , 1 } η , and outputting ∑ i = 1 η ( x i − y i ) . The convolution of the centered binomial and uniform distribution is defined as follows: randomly choosing samples X 1 from Δ η , with X 2 from uniform distibution S over − 0.5 , 0.5 ∩ Q , outputting random variety Y = X 1 + X 2 . The probability of Y i is equal to ∑ Y i = X 1 + X 2 P ( X 1 ) × P ( X 2 ) . Subsequently, we abbreviate it as BUD, denoted by Ψ η . We will discuss the Rényi divergence between this distribution and the Gaussian distribution in detail in Section 4.2. Our PKE construction is as follows:
  • KeyGen( 1 n ).
    1.
    Generate seed ρ ∈ { 0 , 1 } n .
    2.
    Generate matrix A ∈ R q d × d uniformly by seed ρ .
    3.
    Sample s , e 1 ∈ ( Q [ X ] / ( Θ m ) ) d from the distribution Ψ η 1 m ′ × d , respectively.
    4.
    Calculate s ^ = s mod Φ m ∈ R q d ; e ^ 1 = e 1 mod Φ m ∈ R q d .
    5.
    p k = ( A , t = A s ^ + e ^ 1 mod R q d ) ; s k = s ^ .
  • Enc( p k , μ ).
    1.
    μ ′ ← Encode 1 ( μ , m ) ;
    2.
    Sample r from Ψ η 1 m ′ × d , e 2 from Ψ η 2 m ′ × d , and e 3 from Ψ η 2 m ′ .
    3.
    Calculate r ^ = r mod Φ m ∈ R q d ; e ^ 2 = e 2 mod Φ m ∈ R q d ; e ^ 3 = e 3 mod Φ m ∈ R q .
    4.
    Compute u = A T r ^ + e ^ 2 ∈ R q d , v = t T r ^ + e ^ 3 + Decompress q ( μ ′ , 1 ) ∈ R q .
    5.
    Output c = ( c 1 ∥ c 2 ) = ( Compress q ( u , t u ) , Compress q ( v , t v ) ) ∈ R t u d × R t v
  • Dec( s k , c ).
    1.
    Compute u ′ = Decompress q ( c 1 , t u ) and v ′ = Decompress q ( c 2 , t v ) .
    2.
    Compute μ ′ ′ = Compress q ( v ′ − s ^ T u ′ , 1 ) .
    3.
    Output μ ← Decode 1 ( μ ′ ′ , m ) .

4.2. On Non-Gaussian Errors

The hardness of the M-LWE problem is typically analyzed via worst-case to average-case reductions formulated for continuous Gaussian error distributions over the rationals [8]. In contrast, practical schemes such as Kyber and Newhope [10] employ efficient non-Gaussian sampling, which comprises notably centered binomial distributions. While such noise is implementation-friendly, its tail bounds and overall statistical profile can be less robust in the M-LWE setting with non-power-of-two dimensions [36]. To achieve a more stable security–efficiency trade-off without incurring the cost of high-precision Gaussian sampling, we adopt a convolution of a centered binomial and a uniform distribution (BUD). This choice improves the statistical behavior and tunability of the noise distribution while introducing negligible implementation overhead.

Noise Distribution

In our PKE scheme, the secret and error vectors are sampled from a rational-valued distribution Ψ η obtained by combining a centered binomial distribution with a uniform distribution. Figure 1a illustrates the resulting distribution for η = 1 . Specifically, any rational number α ∈ Q can be uniquely written as α = z + ω , where z ∈ Z and ω ∈ [ − 1 / 2 , 1 / 2 ) ∩ Q . We sample z from a centered binomial distribution and ω uniformly from [ − 1 / 2 , 1 / 2 ) ∩ Q ; the resulting value α then follows the distribution Ψ η .
Figure 1. Distributions of secret coefficients after reduction and rounding.
We fix m = 2 k 3 l and let Θ m ( x ) be a polynomial of degree m ′ = 2 k − 1 3 l . The cyclotomic polynomial Φ m ( x ) = Φ 3 n ( x ) = x n − x n / 2 + 1 has degree n = 2 k 3 l − 1 . After sampling s ← Ψ η , the derivation of the secret vector s ^ proceeds in two steps.
In the first step, since m ′ = 3 n / 2 , for any s = ∑ i = 0 m ′ − 1 s i x i ∈ Q [ x ] / ( Θ m ( x ) ) satisfying | s i | ≤ η + 1 / 2 , reducing s modulo Φ m ( x ) yields coefficients
s i ′ = s i − s n + i , 0 ≤ i ≤ n 2 − 1 , s i + s n + i , n 2 ≤ i ≤ n − 1 .
Consequently, for all 0 ≤ i < n , we have | s i ′ | ≤ 2 η + 1 . Figure 1b illustrates the resulting distribution, corresponding to the additive convolution of two BUD samples. In the second step, the coefficients are rounded after the modulo operation, resulting in the distribution shown in Figure 1c, which we refer to as MR-BUD.
In works such as [9,10], using a Rényi divergence-based analysis, the authors show that replacing the n-dimensional discrete Gaussian distribution over Z with standard deviation η / 2 by a centered binomial distribution Δ η only marginally affects security. This observation relies on the fact that, for LWE-based encryption schemes, the security is robust under small statistical deviations from the ideal Gaussian noise, rather than being tied to an exact noise distribution [10]. The following theorem shows that, compared to Gaussian noise, using MR-BUD as the error distribution in our PKE scheme does not incur a significant loss of security.
Theorem 1.
Let σ > 0 be a real integer, and η be a small integer such that σ = η / 2 . Denoted GD σ is the rounded Gaussian distribution. Let N be the M-LWE sample under a standard definition; the noise sampling is taken from GD σ . If there exists an algorithm that succeeds in recovering the secret error when given an M-LWE instance of our PKE as input with probability P , then it would also succeed against N with probability Q > P 6 / 4 .
Proof. 
For two probability distributions P , Q , the Rényi divergence of α > 1 is defined as [37,38]:
R α ( P ∥ Q ) = ∑ x ∈ S u p p ( P ) P ( x ) α Q ( x ) α − 1 1 α − 1 .
It bounds Q ( E ) via:
Q ( E ) ≥ P ( E ) α / ( α − 1 ) / R α ( P ∥ Q )
for the same event E. In our PKE, under the random oracle model, any attacker can successfully and accurately recover the plaintext message μ by recovering the secret vector s ^ in the M-LWE samples. By setting the value of η , we ensure that the secret vector s ^ and noise vector e ^ in our PKE follow the MR-BUD, i.e., the distribution after rounding by the BUD module operation. We define the event E be the attacker successfully recover the secret vector. We also denoted GD σ as the rounded Gaussian distribution of standard deviation σ = η / 2 ; that is, the distribution of ⌊ η / 2 · x ⌉ where x follows the standard normal distribution. We give the parameter suggestions in Table 2, where the largest of m = n · d = 216 × 4 = 864 and η = 2 ; we can obtain that for fixed real α = 1.2 we have
R α ( Ψ η ∥ GD σ ) ≈ 1.00028
by script Renyi.py. Since 5 m = 4320 samples are used per instance of our PKE, we used R α ( P n ∥ Q n ) = R α ( P ∥ Q ) n have R α ( Ψ η ∥ GD σ ) 4320 < 4 . Thus, by (3), we have
Q > P α / ( α − 1 ) / R α ( Ψ η ∥ GD σ ) 5 m > P 6 / 4 .
   □

4.3. Correctness and Security

Below, we explain that, to correctly recover all message bits, the l ∞ -norm of error polynomial e = e ^ 1 T r ^ − s ^ T e ^ 2 + e ^ 3 − s ^ T c u + c v ∈ R q must be smaller than q / 4 . We can make the decryption error negligible by controlling the parameters, as discussed in Section 5. We have the following theorem.
Theorem 2
(Correctness). Let
ε = P r { ∥ e ^ 1 T r ^ − s ^ T e ^ 2 + e ^ 3 − s ^ T c u + c v ∥ ∞ ≥ ⌊ q / 4 ⌉ } ,
then our PKE scheme is ( 1 − ε ) -correct.
Proof. 
Based on the hardness of M-LWE, we have u ′ , v ′ are pseudo-random. By the Enc algorithm, we have
u ′ = D e c o m p r e s s q ( C o m p r e s s q ( u , t u ) , t u ) = u + c u , v ′ = D e c o m p r e s s q ( C o m p r e s s q ( v , t u ) , t u ) = v + c v ,
where c u ← ψ t u d , c v ← ψ t v (see Definition 1). Thus, the value of v ′ − s ^ T u ′ in step 2 of Dec is v − s ^ T u − s ^ T c u + c v , where v , u are from line 4 of Enc. For μ ′ = ∑ i = 0 m − 1 μ i X i , by definition of Decompress q we can write Decompress q ( μ ′ , 1 ) = q / 2 · μ ′ . It is clear that
v ′ − s ^ T u ′ = t T r ^ + e ^ 3 + q / 2 · μ ′ − s ^ T ( A T r ^ + e ^ 2 ) − s ^ T c u + c v
Then we have
v ′ − s ^ T u ′ = e ^ 1 T r ^ − s ^ T e ^ 2 + e ^ 3 − s ^ T c u + c v + q / 2 · μ ′ = e + q / 2 · μ ′ .
The line of 2 of Dec means that decrypt the i-th coefficient of μ ′ ′ is equal to 1 if the v ′ − s ^ T u ′ is closer to q 2 and as 0 otherwise. It is clear that as long as ∥ e ∥ ∞ < q / 4 , the decryption succeeds, which concludes the proof of the correctness.    □
This part we would give the security proof of our PKE using the hybrid argument. Our scheme is IND-CPA secure if the M-LWE assumption holds. Now for any adversary A , we define
A d v m , d , q , s M - LWE ( A ) = | P r [ b ′ = 1 : A ← R q d × d ; ( s , e ) ← Ψ η d × Ψ η d ; b = As + e ; b ′ ← A ( A , b ) ] − P r [ b ′ = 1 : A ← R q d × d ; b ∈ R q d ; b ′ ← A ( A , b ) ] | .
Theorem 3
(IND-CPA security). Our PKE is IND-CPA secure, provided that the M-LWE problem is hard. More precisely, if B , C are two distinguishers for M-LWE, then
A d v PKE IND - CPA ( A ) ≤ A d v m , d , q , s M - LWE ( B ) + 2 A d v m , d , q , s M - LWE ( C )
where A is an adversary for the PKE.
Proof. 
Now, we prove the theorem under the M-LWE assumption. To argue that an adversary cannot distinguish between the two cases, we rely on the hardness of the decision M-LWE problem and adopt a standard game-based proof framework. Specifically, we consider a sequence of security games, where each game represents an interaction-based security experiment between a challenger and an adversary A . For i = 0 , 1 , 2 , 3 , let S i denote the event that A correctly guesses the challenge bit in Game i, and let D i denote the distribution induced by Game i.
Game 0. Game 0 is the real game in which the public key is properly generated and the ciphertext is an encryption of μ 0 . It follows that
D 0 = { p k = A , t = A s ^ + e ^ 1 , c = A T r ^ + e ^ 2 , t T r ^ + e ^ 3 + μ 0 q / 2 } .
Game 1. In this game, we replace the public key t by a uniformly random element in R q d . It is given that
D 1 = { p k = A , t ← $ R q d , c = A T r ^ + e ^ 2 , t T r ^ + e ^ 3 + μ 0 q / 2 } .
Thus, there exists a distinguisher for M-LWE such that | P r [ S 0 ] − P r [ S 1 ] | ≤ A d v m , d , q , s M - LWE ( B ) .
Game 2. In this game, A T r ^ + e ^ 2 is replaced with uniformly random polynomials in R q d , t T r ^ + e ^ 3 is replaced with uniformly random polynomial in R q . D 2 is given as follows:
1.
Let u ← $ R q d , v ← $ R q .
2.
D 2 = p k = A , t ← $ R q d , c = u ← $ R q d , v ← $ R q , v + μ 0 q / 2 .
It follows that | P r [ S 1 ] − P r [ S 2 ] | ≤ 2 A d v m , d , q , s M - LWE ( C ) , where C is a distinguisher for M-LWE.
Game 3. In this game, message μ 0 is replaced with μ 1 ∈ M . We have
D 3 = { p k = A , t ← $ R q d , c = u ← $ R q d , v ← $ R q , v + μ 1 q / 2 } .
Obviously, P r [ S 2 ] = P r [ S 3 ] .
In conclusion, collecting the probabilities yields the required bound.    □

4.4. The CCA-Secure KEM

In this subsection, we construct a CCA-secure KEM Fyber from the proposed PKE scheme using the Fujisaki–Okamoto (FO) transformation [39]. Let Fyber . PKE = ( KeyGen , Enc , Dec ) be the IND-CPA secure PKE scheme defined in the previous section. The resulting KEM is denoted by Fyber . KEM = ( KeyGen , Encaps , Decaps ) .
We describe the KEM algorithms in detail below. Let K denote the key space and let H 1 : { 0 , 1 } * → { 0 , 1 } 2 × n , H 2 : { 0 , 1 } * → { 0 , 1 } n be hash functions modeled as random oracles. The key generation algorithm KeyGen ( 1 n ) runs the KeyGen of PKE to obtain ( p k , s k ) and outputs the same key pair.
  • Encaps ( p k )
    1.
    Sample a random message m ← $ M .
    2.
    Compute ( K ^ , r ) = H 1 ( m , H 2 ( p k ) ) .
    3.
    Compute the ciphertext c ← Fyber . Enc ( p k , m ; r ) .
    4.
    Compute the shared key K = H 2 ( K ^ , H 2 ( c ) ) .
    5.
    Output ( c , K ) .
  • Decaps ( s k , c )
    1.
    Recover m ′ ← Fyber . Dec ( s k , c ) .
    2.
    If m ′ = ⊥ , output ⊥.
    3.
    Recompute ( K ^ ′ , r ′ ) = H 1 ( m ′ , H 2 ( p k ) ) and c ′ ← Fyber . Enc ( p k , m ′ ; r ′ ) .
    4.
    If c ≠ c ′ , output ⊥.
    5.
    Otherwise, output K ′ = H 2 ( K ^ ′ , H 2 ( c ) ) .
The correctness of the KEM follows directly from the correctness of the underlying PKE scheme. For honestly generated keys and ciphertexts, the decrypted message m ′ equals the encapsulated message m, and the recomputed ciphertext c ′ matches the original ciphertext c. Consequently, both parties derive the same shared key K except with negligible probability.
The IND-CCA security analysis of the proposed KEM Fyber follows the standard FO transformation and is identical to that of [9], given that the underlying PKE is IND-CPA secure. We present the following theorem and omit the proof.
Theorem 4
(CCA-secure KEM). Assuming that the underlying PKE scheme is IND-CPA secure and that the hash functions H 1 and H 2 are modeled as random oracles, Flexkyber.KEM is IND-CCA secure.

5. Implementation

In this section, we conduct an analysis of the challenges encountered during the implementation process, provide corresponding solutions, and present a summary of the experimental data in Table 2. Our scheme is implemented in C, with security level and failure rate estimation performed using Python 3.11.9. The computational environment consists of an AMD Ryzen 7 4800H CPU @2.9 GHz and 16 GB RAM, running Ubuntu 22.04 LTS.
Table 2. Parameter selection and comparison with Kyber.

5.1. Polynomial Multiplication

In lattice-based encryption schemes, polynomial multiplication constitutes the dominant component of the computational cost. While our construction employs non-power-of-two ring dimensions to enable flexible parameter selection, such choices typically preclude the direct use of standard NTT-friendly polynomial rings and may introduce additional computational overhead.
To mitigate this effect and improve practical performance, especially in resource-constrained IoT environments, we adopt an efficient polynomial multiplication strategy inspired by existing implementation-oriented optimizations [40]. The core idea is to embed polynomial multiplication over R q = Z q [ x ] / ( x n − x n / 2 + 1 ) into a larger convolution-friendly ring Z q ′ [ x ] / ( x N − 1 ) , where N ≥ 2 n is chosen as a power of two to enable the use of the Number-Theoretic Transform (NTT).
Specifically, given two polynomials a , b ∈ R q with coefficient bounds | a i | ≤ q / 2 and | b i | ≤ 2 η + 1 , we select a modulus q ′ large enough to avoid modular overflow during intermediate computations, i.e., q ′ > ( 2 η + 1 ) n q / 2 , and that satisfies q ′ ≡ 1 ( mod N ) to support NTT operations. The polynomials are zero-padded to length N, multiplied using NTT over Z q ′ , and subsequently reduced modulo Φ m ( x ) and q to obtain the final product in R q . Algorithm 1 summarizes this procedure.

5.2. Public Key and Ciphertext Sizes

For fixed parameters ( n , d , q ) , the public key produced by the PKE scheme is of the form ( A , t ) . Here, A = ( a i j ) i , j ∈ [ d ] ∈ R q d × d is a public matrix whose entries are polynomials over Z q . Each polynomial a i j is deterministically generated from an n-bit seed ρ . The vector t ∈ R q d consists of d polynomials, each having n coefficients represented using ⌈ log 2 q ⌉ bits. Consequently, the size of the public key is
n + d · n · ⌈ log 2 q ⌉ 8 bytes .
The ciphertext is of the form
c = ( c 1 ∥ c 2 ) : = Compress q ( u , t u ) , Compress q ( v , t v ) ∈ R t u d × R t v ,
where u = A T r ^ + e ^ 2 ∈ R q d contains d polynomials with n coefficients each, and v = t T r ^ + e ^ 3 + μ · ⌊ q / 2 ⌉ ∈ R q is a single polynomial with n coefficients. Each coefficient of u and v is represented using ⌈ log 2 q ⌉ bits prior to compression. After applying the compression function, the total size of the ciphertext is
d · n · t u + n · t v 8 bytes .
Algorithm 1: Polynomial multiplication
Symmetry 18 00426 i001

5.3. Decryption Failure Rate of Fyber

We outline the procedure used to evaluate the decryption failure rate. The coefficients of s ^ , r ^ , e ^ 1 , e ^ 2 , and e ^ 3 follow the MR-BUD distribution, with each coefficient supported on the interval [ − 2 η − 1 , 2 η + 1 ] , as illustrated in Figure 1. In addition, by Lemma 1, each coefficient of c u and c v lies in the interval [ − B q , B q ] . By choosing 2 t + 1 close to q, the value of B q can be made sufficiently small. For example, when t = 10 and q = 3457 , we obtain B q = 1 .
Given the resulting distributions and the concrete parameter choices for η , t, and q, the decryption failure rate is evaluated using the script PKE-failure.py, and the corresponding results are reported in Table 2. Furthermore, following the analysis in Theorem 2, the probability distribution of each error-term coefficient can be explicitly derived, enabling an estimation of the concrete failure probability of the scheme. Since these coefficients are discrete and bounded by small values, their distributions can be computed efficiently. Overall, the resulting decryption failure rate, denoted by ε , is negligible for all parameter sets considered.

5.4. Comparison to Kyber

In this part, we focus on a comparison with the Kyber. The outcomes are displayed in Table 2. The Fyber-576/768/864 parameter sets are chosen to approximately match NIST security categories 1/3/5 under BKZ-based concrete security estimation. Specifically, the parameters ( n , d , q ) are selected such that the estimated cost of the best-known lattice attacks achieves security levels comparable to Kyber-512/768/1024, while enabling finer-grained control of n through non-power-of-two dimensions. We calculate the time complexity of the BKZ algorithm for breaking the scheme to ensure concrete security. The estimation model used for the BKZ algorithm is based on Kyber [9]. When considering the complexity of the SVP oracle (which is called by the BKZ algorithm), we use 2 0.292 b ( 1 + o ( 1 ) ) for classic complexity and 2 0.265 b ( 1 + o ( 1 ) ) for quantum complexity [9], where b represents the block size in the BKZ algorithm. This estimator assumes the standard geometric series assumption (GSA) and the best-known sieving-based SVP algorithms in both classical and quantum models. Although this model does not necessarily reflect the latest improvements in lattice reduction heuristics, it is widely adopted in the literature and provides a consistent baseline for comparing concrete security levels with Kyber.
The choice of module polynomials in Kyber is Φ m ( x ) = x n + 1 , where n is a power of 2. However, our PKE selects Φ m ( x ) = x n − x n / 2 + 1 , where n = 2 k 3 l and k and l are positive integers. This decision is based on the fact that the density of chosen values for n in our scheme is higher than in Kyber’s scheme. Additionally, m also takes the form of a power of 2 multiplied by a power of 3. The sparsity of the Φ m form is moderate compared to other more general m. Secondly, we provide three sets of parameter selection suggestions: Fyber-576, 768, and 864, corresponding to Kyber’s three parameter sets: Kyber-512, 768, and 1024, respectively.
Figure 2a,b illustrate the public key and ciphertext sizes of Fyber and Kyber under three representative parameter sets, respectively. From the horizontal axis, it can be observed that the coarse granularity between adjacent security levels in Kyber is effectively bridged by our construction. Furthermore, our KEM is well-suited for IoT environments, as it enables more flexible choices of the degree n to accommodate diverse application scenarios, thereby allowing a finer-grained stratification of security levels.
Figure 2. Comparison of communication overhead.
When comparing Fyber-768 with Kyber-768 under the same product n · d , our scheme achieves a 2.7 % reduction in public key size. Although the ciphertext size increases slightly by approximately 2 % ; this overhead is incurred while providing a higher concrete security level. This improvement is mainly attributed to the flexibility of our scheme in selecting a smaller n. Furthermore, we compare Kyber-1024 with Fyber-864, as Kyber-1024 targets the 192-bit quantum security level. At this security level, our scheme achieves a 17.3 % reduction in public key size and a 13.9 % reduction in ciphertext size. This advantage stems from the ability of our parameterization to approach the 192-bit security level more flexibly through a reduced value of n. Overall, our results demonstrate that Fyber effectively fills the security-level gap around the 192-bit setting in Kyber.

5.5. Computational Overhead

Figure 3 reports the median and average cycle counts measured over 1000 executions of key generation, encryption, and decryption for Fyber and Kyber. Compared to Kyber, Fyber incurs a moderate increase in computational cost: encryption requires approximately 73– 173 % more cycles, while decryption requires 20– 58 % more cycles. This overhead mainly stems from supporting non-power-of-two ring dimensions, which enable finer-grained parameter tuning. Compared with Kyber, Fyber reduces communication overhead at the cost of moderately increased computation, while requiring a comparable implementation memory footprint, as both schemes use similar arithmetic building blocks. All comparisons with Kyber are conducted under comparable NIST security levels.
Figure 3. Comparison of the running time of KeyGen, Enc and Dec.
Despite this increase, the resulting performance remains practical for IoT-oriented deployments. In IoT and low-power communication settings, bandwidth is often a more critical constraint than computation. Traditional KEMs based on classical number-theoretic assumptions typically exhibit high computational latency but small communication overhead, whereas lattice-based KEMs such as Kyber prioritize high arithmetic efficiency at the cost of larger ciphertexts. Fyber deliberately moves toward the communication efficiency of traditional KEMs by trading a modest amount of computational efficiency for reduced ciphertext size and improved adaptability.
In contrast to Kyber’s coarse-grained parameterization, Fyber supports fine-grained security-level selection through flexible ring dimensions, allowing ciphertext sizes to be tailored to specific security requirements. Overall, Fyber strikes a balanced trade-off between computation and bandwidth, making it well-suited for resource-constrained IoT KEM deployments.

6. Conclusions

In this paper, we proposed a post-quantum key-encapsulation mechanism (KEM) based on the M-LWE assumption over a more flexible class of cyclotomic rings. In contrast to the NIST-standardized KEM Kyber, our construction is instantiated over cyclotomic trinomials of the form x n − x n / 2 + 1 , where n = 2 k · 3 l for positive integers k and ℓ. While Kyber adopts polynomial rings of the form Z q [ x ] / ( x n + 1 ) , which enable highly efficient implementations, this choice restricts parameter selection to power-of-two dimensions and results in coarse-grained security levels. As a consequence, achieving intermediate security requirements (e.g., around the 192-bit level) may incur unnecessary bandwidth overhead.
By leveraging more flexible ring dimensions, our scheme enables finer-grained security-level stratification and achieves improved trade-offs between security and bandwidth consumption. In particular, the proposed parameter sets fill the gap between existing standardized security levels while maintaining a low decryption failure rate. To address the technical challenges arising from general cyclotomic rings, we further design a fast polynomial multiplication algorithm and an efficient noise sampling method tailored to the proposed ring structure. Experimental results indicate that the resulting performance remains competitive with Kyber, while offering enhanced parameter adaptability for resource-constrained IoT deployments.
Overall, our work demonstrates that extending M-LWE-based KEMs beyond power-of-two cyclotomic rings is a viable and practical approach for achieving flexible security levels and efficient post-quantum key establishment in heterogeneous IoT environments.

Author Contributions

S.M.: methodology, formal analysis, writing—original draft. S.L.: software. W.W.: software and investigation. X.L.: investigation, writing—review and editing. H.C.: methodology, writing—original draft, supervision, funding acquisition. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by BUPT Excellent Ph.D. Students Foundation (Grant Number: CX20241058) and the Fundamental Research Funds for the Central Universities (Grant Number: 3282024048). The authors appreciate Yimin Lu from Tsinghua University for their helpful discussions.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. The Extension of Ducas and Durmus’ Work to M-LWE

In this part, we generalize the results of Ducas and Durmus [36] on R-LWE over general m-th cyclotomic rings to the M-LWE framework, as shown in Theorem A1.
First, we introduce the following basic definitions.
Embeddings of cyclotomic fields. Each the conjugates of ζ m (i.e., ζ m i ) defines an embedding σ i : K → C , where i ∈ Z m * . Then the canonical embedding σ : Q ( ζ m ) → C φ ( m ) is defined by the direct sum of σ i , so that σ ( x ) = ⊕ i ∈ Z m * σ i ( x ) .
The ring R emdeds under σ as a lattice. The conjugate dual of this lattice corresponds to the embedding of the dual fractional ideal R ∨ . The dual of Z [ ζ m ] , denoted by Z [ ζ m ] ∨ , is the fractional ideal 1 Φ m ′ ( ζ m ) Z [ ζ m ] , where Φ m ′ is the derivative of Φ m . For a modulus q ≥ 2 , we denote R q = R / q R , R q ∨ = R ∨ / q R ∨ .
The space H. We consider working with the space H ⊂ C φ ( m ) , defined as
H = { x ∈ C φ ( m ) : x i = x m − i ¯ , ∀ i ∈ Z m * } .
The standard basis of H, which represents elements as complex vectors, is known as the I-basis. The T -basis of H, which represents elements as real vectors, is given by the columns of conjugate pair matrix T , where
T = 1 2 I φ ( m ) / 2 i J φ ( m ) / 2 J φ ( m ) / 2 − i I φ ( m ) / 2 , i = − 1 .
Note that for each i ∈ Z m * and any x ∈ Q ( ζ m ) , we have σ − i ( x ) = σ i ( x ) ¯ . Therefore, for an appropriate indexing of Z m * , the image H of σ is the Q -vector space spanned by the columns of 2 T . Put simply, every element x ∈ Q ( ζ m ) can be represented by a vector v ∈ Q φ ( m ) (in the I-basis) such that σ ( x ) = 2 T v . Similarly, the opposite is also true, where
T − 1 = 1 2 I φ ( m ) / 2 J φ ( m ) / 2 − i J φ ( m ) / 2 i I φ ( m ) / 2 .
We also refer to the T -basis as the canonical basis for H.
Theorem A1 establishes the security foundation for our PKE by demonstrating that breaking the decisional M-LWE problem over the expansion ring Z [ X ] / ( Θ m ) is computationally equivalent to solving the Mod-GIVP problem. We note that we sample from a spherical Gaussian distribution in the extension ring Q [ x ] / ( Θ m ( x ) ) , apply the modulo operation Φ m to each component individually, and finally round off each coefficient separately. The error distribution on the canonical space H after the mapping T − 1 ∘ σ ∘ β : Q [ x ] / ( Θ m ( x ) ) → H remains a spherical Gaussian distribution according to Theorem 5 in [36].
Theorem A1.
Let m be an integer. Integer d is module rank satisfies d = Θ ( m ε ) for some small ε. And prime q = 1 mod m . α ∈ ( 0 , 1 ) is a real number such that α q > 2 d · w ( log m ) . Let R q = Z q [ X ] / ( Φ m ( x ) ) be the m-th algbraic integers ring. Let k be positive integers, and m ′ is defined in (1), Θ m is given in (2). Suppose there is an algorithm that can solve the decisional M- LWE m , q , d , k , GD σ problem; that is, it can distinguish between k uniformly random samples drawn from R q d × R q and k samples ( a i , a i T s + e i ) ∈ R q d × R q , where a i and s are chosen uniformly at random from R q d , and e i = e i ′ mod Φ m with e i ′ ∈ Q [ X ] / ( Θ m ) is distributed as GD σ m ′ for s = α m ′ q ( φ ( m ) k / log ( φ ( m ) k ) ) 1 / 4 ; then, there exists a quantum algorithm that solves the Mod-GIVP (with module rank d log q ) with a non-negligible advantage with O ˜ ( m d / α ) in polynomial time.
Before formally proving the theorem, we first have the following discussion. The key to prove the correctness of Theorem A1 lies in how to sample the error polynomial from the extension ring Q [ x ] / ( Θ m ) of R in such a way that it still has a spherical Gaussian distribution after being mapped back to the canonical space H, which is required for the hardness of M-LWE problem. In the following we analyze the noise distribution and decryption failure rate.
Error distribution. Review the content of Section 3. See Figure A1 for the mapping diagram between the spaces H ≅ R φ ( m ) , Q [ x ] / ( Θ m ) and Q [ x ] / ( Φ m ) . The map β : Q [ x ] / ( Θ m ) → Q [ x ] / ( Φ m ) , defined by x → x mod Φ m ( x ) , is a reduction modulo Φ m . We consider H in the T -basis, where the matrix T from H to R φ ( m ) is defined as in (A1). When we set the number of M-LWE samples as k, the noise takes on the form e ′ = ( e 1 ′ , … , e k ′ ) , where e i ′ ∈ Q [ X ] / ( Θ m ) . It is crucial to ensure that each vector component’s distribution over Q [ X ] / ( Θ m ) maps to a spherical Gaussian in the embedding space H. For a general integer m, Ducas and Durmus have demonstrated that ring extension Q [ x ] / ( Θ m ) is suitable for error generation in R-LWE (see Theorems 5 in [36]). Specifically, canonical embedding from ring Q [ x ] / ( Θ m ) preserves sphericity of Gaussian distributions. Thus, because no operations are performed among the k samples, it follows that the noise distribution remains spherical Gaussian for M-LWE samples.
Figure A1. Mappings between different spaces [36].
Decision failure rate. We consider a wide range of special sets of integers m ∈ { 2 k 3 l | k , l ∈ N } , so that m ′ = 2 k − 1 3 l and n = φ ( m ) = 2 k 3 l − 1 . These values of m result in a reduction modulo Φ m that has a straightforward and sparse representation when using the power basis. We denote the transformation matrix of β on the power basis by B. Specifically, when m is a power of two, B becomes the identity due to the equality of Θ m and Φ m . In the case where m = 2 k 3 l ( k , l ≥ 1 ) , we can observe that
B = 1 0 0 1 ∣ − 1 1 ⊗ I n / 2 .
That means for any element a = ( a 0 , … , a m ′ − 1 ) T over Z [ x ] / ( Θ m ( x ) ) in the power basis, a ′ = β ( a ) = B · C r i c ( a ) ∈ Z [ x ] / ( Φ m ( x ) ) . As will be shown later in our PKE algorithm, the main form of the error polynomial is a b + c d , where a , b , c , d are distributed according to β ( GD σ m ′ ) . The following gives the bound after noise sampling; see [36] for the proof. By Lemma 6 in [36], we have the following result. And we can assert that 1 − ε approaches 1 with an overwhelming probability by selecting τ , τ ′ .
Lemma A1.
Let integer m ∈ { 2 k 3 l | k , l ∈ N } , a , b , c , d ∈ Q [ x ] / ( Θ m ) be distributed as GD σ m ′ . Then, ∥ β ( a b + c d ) ∥ ∞ ≤ 2 m ′ τ τ ′ s 2 , except with probability less than ε = m ′ ( ς ( τ ) + 3 ς ( τ ′ ) 2 ⌊ m ′ / 3 ⌋ ) , where ς ( τ ) = τ e 1 / 2 − τ 2 / 2 .
The following introduces the proof of Theorem A1. We revisit the result m ′ R ∨ ⊂ R (cf. Theorems 3 in [36]), where m ′ is defined as in (1). This result is extended to the setting of ( R ∨ ) d and the assertion remains valid.
Proof. 
In order to prove this theorem, we define different hybrid distributions:
− H 0 : Output ( a i , 1 q a i s + e i ) ∈ R q d × Q ( ζ m ) / R ∨ , where a i ← U ( R q d ) , s ← U ( R q ∨ ) d , and e i ← Q ( ζ m ) / R ∨ according to GD σ φ ( m ) in the embedding space H.
− H 1 : Output ( a i , a i s ′ + e i ′ ) ∈ R q d × Q ( ζ m ) / q m ′ R ∨ , where s ′ = m ′ s ∈ ( m ′ R ∨ / m ′ q R ∨ ) d , e i ′ = q m ′ e i ← GD σ m ′ q φ ( m ) and a i , s , e i as in H 0 .
− H 2 : Output ( a i , a i s ′ + e i ′ ) ∈ R q d × Q ( ζ m ) / q R , where s ′ ← U ( ( m ′ R ∨ / q R ∨ ) d ) , e i ′ ← GD σ m ′ q φ ( m ) , a i as in H 1 .
− H 3 : Output ( a i , a i s + e i ′ ) ∈ R q d × Q ( ζ m ) / q R , where s = s ′ + s ′ ′ ∈ R q d , s ′ ′ ← U ( R q d ) , a i , s ′ , e i as in H 2 .
− H 4 : Output ( a i , a i s + e i ′ ) ∈ R q d × R q , where a i , s , e i ′ as in H 3 .
− H 5 : Output ( a i , a i s + e i ′ ) ∈ R q d × R q , where e i ′ ∈ Q [ X ] / ( Θ m ) , a i , s as in H 4 .
For i = 0 , 1 , ⋯ , 5 , we denote by P i the problem of distinguishing between k M-LWE samples from H 0 and given samples from H i . Recall that problem P i and P j are indistinguishable if for any PPT attacker A the advantage of solving P i is negligible; thus A d v P i [ A ] = | P r X ∼ H 0 [ A ( X ) = 1 ] − P r Y ∼ H i [ A ( Y ) = 1 ] | ≤ ε . The overall idea is to show that if P 0 is hard, then P 5 is hard as well.
From P 0 to P 1 : according to Theorems 9 and 10 in [8], we only scaled the point, thus
A d v P 0 [ A ] = A d v P 1 [ A ] .
From P 1 to P 2 : by ( m ′ R ∨ ) d ⊂ R d , we have
A d v P 1 [ A ] = A d v P 2 [ A ] .
From P 2 to P 3 : in H 2 , s ′ ∈ ( m ′ R ∨ / q R ∨ ) d , we can uniformly at random sample s ″ ∈ R q d such that s = s ′ + s ′ ′ ∈ R q d , we also have
A d v P 2 [ A ] = A d v P 3 [ A ] .
From P 3 to P 4 : since the product a i s already has integer coefficients in the power basis, we round each coefficient of e i ′ to the nearest integer to be equivalent in order to round each coefficient of a i s + e i ′ in the power basis representation. Thus, we also have
A d v P 3 [ A ] = A d v P 4 [ A ] .
From P 4 to P 5 : currently, e i ′ is generated from a distribution GD σ m ′ q φ ( m ) in the embedding space H. Obtaining such a distribution is equivalent to sampling the distribution g 0 + g 1 X + ⋯ + g m ′ − 1 X m ′ − 1 ∈ Q [ X ] / ( Θ m ) , where each g i is a random variable with mean 0 and standard deviation that is m ′ times smaller than that required in the distribution in the embedding space H. Therefore,
A d v P 4 [ A ] = A d v P 5 [ A ] .
In conclusion,
A d v P 5 [ A ] = A d v P 0 [ A ] .
□

References

  1. Miraz, M.H.; Ali, M.; Excell, P.S.; Picking, R. A Review on Internet of Things (IoT), Internet of Everything (IoE) and Internet of Nano Things (IoNT). In Proceedings of the Internet Technologies and Applications (ITA); IEEE: New York, NY, USA, 2015; pp. 219–224. [Google Scholar]
  2. Patel, K.K.; Patel, S.M.; Scholar, P. Internet of things-IOT: Definition, characteristics, architecture, enabling technologies, application & future challenges. Int. J. Eng. Sci. Comput. 2016, 6, 6122–6131. [Google Scholar]
  3. Panja, S.; Sharifian, S.; Jiang, S.; Safavi-Naini, R. CCA-secure hybrid encryption in correlated randomness model and KEM combiners. arXiv 2024, arXiv:2401.00983. [Google Scholar] [CrossRef] [Scilit]
  4. Shor, P.W. Algorithms for quantum computation: Discrete logarithms and factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science; IEEE: New York, NY, USA, 1994; pp. 124–134. [Google Scholar]
  5. Brakerski, Z.; Langlois, A.; Peikert, C.; Regev, O.; Stehlé, D. Classical hardness of learning with errors. In Proceedings of the Forty-Fifth Annual ACM Symposium on Theory of Computing; Association for Computing Machinery: New York, NY, USA, 2013; pp. 575–584. [Google Scholar]
  6. Peikert, C. Public-key cryptosystems from the worst-case shortest vector problem. In Proceedings of the Forty-First Annual ACM Symposium on Theory of Computing; Association for Computing Machinery: New York, NY, USA, 2009; pp. 333–342. [Google Scholar]
  7. Lyubashevsky, V.; Peikert, C.; Regev, O. On ideal lattices and learning with errors over rings. In Proceedings of the Advances in Cryptology–EUROCRYPT 2010: 29th Annual International Conference on the Theory and Applications of Cryptographic Techniques, French Riviera, 30 May–3 June 2010; Proceedings 29; Springer: Berlin/Heidelberg, Germany, 2010; pp. 1–23. [Google Scholar]
  8. Langlois, A.; Stehlé, D. Worst-case to average-case reductions for module lattices. Des. Codes Cryptogr. 2015, 75, 565–599. [Google Scholar] [CrossRef] [Scilit]
  9. Bos, J.; Ducas, L.; Kiltz, E.; Lepoint, T.; Lyubashevsky, V.; Schanck, J.M.; Schwabe, P.; Seiler, G.; Stehlé, D. CRYSTALS-Kyber: A CCA-secure module-lattice-based KEM. In Proceedings of the 2018 IEEE European Symposium on Security and Privacy (EuroS&P); IEEE: New York, NY, USA, 2018; pp. 353–367. [Google Scholar]
  10. Alkim, E.; Ducas, L.; Pöppelmann, T.; Schwabe, P. Post-quantum key {Exchange—A} new hope. In Proceedings of the 25th USENIX Security Symposium (USENIX Security 16), Austin, TX, USA, 10–12 August 2016; pp. 327–343. [Google Scholar]
  11. Lu, X.; Liu, Y.; Zhang, Z.; Jia, D.; Xue, H.; He, J.; Li, B.; Wang, K. LAC: Practical Ring-LWE Based Public-Key Encryption with Byte-Level Modulus. Cryptology ePrint Archive. 2018. Available online: https://eprint.iacr.org/2018/1009 (accessed on 20 February 2026).
  12. Lyubashevsky, V.; Micciancio, D.; Peikert, C.; Rosen, A. SWIFFT: A modest proposal for FFT hashing. In Proceedings of the Fast Software Encryption: 15th International Workshop, FSE 2008, Lausanne, Switzerland, 10–13 February 2008; Revised Selected Papers 15; Springer: Berlin/Heidelberg, Germany, 2008; pp. 54–72. [Google Scholar]
  13. Nižetić, S.; Šolić, P.; Gonzalez-De, D.L.d.I.; Patrono, L. Internet of Things (IoT): Opportunities, issues and challenges towards a smart and sustainable future. J. Clean. Prod. 2020, 274, 122877. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Gubbi, J.; Buyya, R.; Marusic, S.; Palaniswami, M. Internet of Things (IoT): A vision, architectural elements, and future directions. Future Gener. Comput. Syst. 2013, 29, 1645–1660. [Google Scholar] [CrossRef] [Scilit]
  15. Moody, D.; Chen, L.; Liu, M.; Peralta, R.; Perlner, R.; Smith-Tone, D.; Stebila, D.; Alagic, J.; Dodson, D.; Robinson, A.; et al. Report on Post-Quantum Cryptography; Nist interagency or internal report (nist ir 8105); National Institute of Standards and Technology: Gaithersburg, MD, USA, 2016. [Google Scholar]
  16. Bernstein, D.J.; Chuengsatiansup, C.; Lange, T.; van Vredendaal, C. NTRU prime: Reducing attack surface at low cost. In Proceedings of the Selected Areas in Cryptography–SAC 2017: 24th International Conference, Ottawa, ON, Canada, 16–18 August 2017; Revised Selected Papers 24; Springer: Berlin/Heidelberg, Germany, 2018; pp. 235–260. [Google Scholar]
  17. Bernstein, D.J.; Lange, T. Non-Randomness of S-Unit Lattices. Cryptology ePrint Archive. 2021. Available online: https://eprint.iacr.org/2021/1428 (accessed on 20 February 2026).
  18. Campbell, P.; Groves, M.; Shepherd, D. Soliloquy: A Cautionary Tale. Talk/Workshop Document. 2014. Available online: https://docbox.etsi.org/Workshop/2014/201410_CRYPTO/S07_Systems_and_Attacks/S07_Groves.pdf (accessed on 20 February 2026).
  19. Castryck, W.; Iliashenko, I.; Vercauteren, F. Provably weak instances of Ring-LWE revisited. In Proceedings of the Advances in Cryptology–EUROCRYPT 2016: 35th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Vienna, Austria, 8–12 May 2016; Proceedings, Part I 35; Springer: Berlin/Heidelberg, Germany, 2016; pp. 147–167. [Google Scholar]
  20. Elias, Y.; Lauter, K.E.; Ozman, E.; Stange, K.E. Provably weak instances of Ring-LWE. In Proceedings of the Advances in Cryptology–CRYPTO 2015: 35th Annual Cryptology Conference, Santa Barbara, CA, USA, 16–20 August 2015; Proceedings, Part I 35; Springer: Berlin/Heidelberg, Germany, 2015; pp. 63–92. [Google Scholar]
  21. Peikert, C. How (not) to instantiate ring-LWE. In Proceedings of the International Conference on Security and Cryptography for Networks; Springer: Berlin/Heidelberg, Germany, 2016; pp. 411–430. [Google Scholar]
  22. Hoffstein, J.; Pipher, J.; Silverman, J.H. NTRU: A ring-based public key cryptosystem. In Proceedings of the International Algorithmic Number Theory Symposium; Springer: Berlin/Heidelberg, Germany, 1998; pp. 267–288. [Google Scholar]
  23. Chen, C.; Danba, O.; Hoffstein, J.; Hülsing, A.; Rijneveld, J.; Schanck, J.M.; Schwabe, P.; Whyte, W.; Zhang, Z.; Zhao, Y.; et al. NTRU-Algorithm Specifications and Supporting Documentation (Round 3 Submission). 2020. Available online: https://csrc.nist.gov/Projects/post-quantum-cryptography/post-quantum-cryptography-standardization/round-3-submissions (accessed on 20 February 2026).
  24. Bernstein, D.J.; Chuengsatiansup, C.; Lange, T.; van Vredendaal, C. NTRU Prime: Round 2. Submission to the NIST PQC Standardization Process. 2019. Available online: https://cr.yp.to/talks/2019.08.24/slides-djb-20190824-ntruprime-4x3.pdf (accessed on 4 February 2026).
  25. Atici, A. Power Analysis on NTRU Implementations for RFIDs: First Results. In RFIDSec 2008; 2008; pp. 128–139. Available online: https://www.esat.kuleuven.be/cosic/publications/article-1134.pdf (accessed on 20 February 2026).
  26. Lee, M.K.; Song, J.E.; Choi, D.; Han, D.G. Countermeasures against power analysis attacks for the NTRU public key cryptosystem. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2010, 93, 153–163. [Google Scholar] [CrossRef] [Scilit]
  27. Kannwischer, M.J.; Rijneveld, J.; Schwabe, P.; Stoffelen, K. pqm4: Testing and Benchmarking NIST PQC on ARM Cortex-M4. Software. 2019. Available online: https://csrc.nist.gov/CSRC/media/Presentations/pqm4-testing-and-benchmarking-nist-pqc-on-arm-cort/images-media/kannwischer-session-9-paper-pqc2019.pdf (accessed on 20 February 2026).
  28. Bürstinghaus-Steinbach, K.; Krauß, C.; Niederhagen, R.; Schneider, M. Post-quantum tls on embedded systems: Integrating and evaluating kyber and sphincs+ with mbed tls. In Proceedings of the 15th ACM Asia Conference on Computer and Communications Security; Association for Computing Machinery: New York, NY, USA, 2020; pp. 841–852. [Google Scholar]
  29. Gonzalez, R.; Wiggers, T. KEMTLS vs. post-quantum TLS: Performance on embedded systems. In Proceedings of the International Conference on Security, Privacy, and Applied Cryptography Engineering; Springer: Berlin/Heidelberg, Germany, 2022; pp. 99–117. [Google Scholar]
  30. Liu, T.; Ramachandran, G.; Jurdak, R. Post-quantum cryptography for internet of things: A survey on performance and optimization. arXiv 2024, arXiv:2401.17538. [Google Scholar] [CrossRef] [Scilit]
  31. Ehsan, M.A.; Alayed, W.; Rehman, A.U.; Hassan, W.u.; Zeeshan, A. Post-Quantum KEMs for IoT: A Study of Kyber and NTRU. Symmetry 2025, 17, 881. [Google Scholar]
  32. Khalid, A.; Bian, S.; Wang, C.; O’Neill, M.; Liu, W. AxRLWE: A multilevel approximate ring-LWE co-processor for lightweight IoT applications. IEEE Internet Things J. 2021, 9, 10492–10501. [Google Scholar]
  33. Kundu, S.; Ghosh, A.; Karmakar, A.; Sen, S.; Verbauwhede, I. Rudraksh: A compact and lightweight post-quantum key-encapsulation mechanism. arXiv 2025, arXiv:2501.13799. [Google Scholar] [CrossRef] [Scilit]
  34. Shehzadi, S.; Whaley, N.; Khalid, A.; Ghafoor, A.; Arshad, S.; Islam, F.U.; O’Neill, M. Kyber-KEM-Ascon: Benchmarking a Lightweight Post-quantum KEM on IoT Devices. In Proceedings of the 2025 IEEE International Symposium on Circuits and Systems (ISCAS); IEEE: New York, NY, USA, 2025; pp. 1–5. [Google Scholar]
  35. Rackoff, C.; Simon, D.R. Non-interactive zero-knowledge proof of knowledge and chosen ciphertext attack. In Proceedings of the Annual International Cryptology Conference; Springer: Berlin/Heidelberg, Germany, 1991; pp. 433–444. [Google Scholar]
  36. Ducas, L.; Durmus, A. Ring-LWE in polynomial rings. In Proceedings of the Public Key Cryptography–PKC 2012: 15th International Conference on Practice and Theory in Public Key Cryptography, Darmstadt, Germany, 21–23 May 2012; Proceedings 15; Springer: Berlin/Heidelberg, Germany, 2012; pp. 34–51. [Google Scholar]
  37. Bai, S.; Lepoint, T.; Roux-Langlois, A.; Sakzad, A.; Stehlé, D.; Steinfeld, R. Improved security proofs in lattice-based cryptography: Using the Rényi divergence rather than the statistical distance. J. Cryptol. 2018, 31, 610–640. [Google Scholar] [CrossRef] [Scilit]
  38. Rényi, A. On measures of entropy and information. In Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Contributions to the Theory of Statistics; University of California Press: Berkeley, CA, USA, 1961; Volume 4, pp. 547–562. [Google Scholar]
  39. Fujisaki, E.; Okamoto, T. Secure integration of asymmetric and symmetric encryption schemes. In Proceedings of the Annual International Cryptology Conference; Springer: Berlin/Heidelberg, Germany, 1999; pp. 537–554. [Google Scholar]
  40. Alkim, E.; Cheng, D.; Chung, C.M.; Evkan, H.; Wei, L.; Hwang, V.; Li, C.L.; Niederhagen, R.; Shih, C.J.; Wälde, J.; et al. Polynomial Multiplication in NTRU Prime: Comparison of Optimization Strategies on Cortex-M4. IACR Trans. Cryptogr. Hardw. Embed. Syst. 2020, 2021, 217–238. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.