Manuscript Offprint
arXiv:2611.01337Bilinear Hulls for Support Splitting: Characterization, Optimization, and Applications
Yusuke Aikawa[0009-0004-1460-8129], Keita Ishizuka0000-0001-5943-6245, and Tomoki Moriya[0000-0002-7845-4737]
The University of Tokyo, Bunkyo, Tokyo, Japan
Mitsubishi Electric Corporation, Kamakura, Kanagawa, Japan
Moriya.Tomoki@bp.MitsubishiElectric.co.jp
Abstract. Sendrier's Support Splitting Algorithm (SSA) is the standard solver for the Permutation Equivalence Problem (PEP); its cost is dominated by a term that grows exponentially in the hull dimension. We study, mathematically, how much this cost can be lowered by replacing the standard inner product, on which the hull is defined, with an alternative bilinear form. Two structural results give a complete answer: only a narrow two-parameter family of bilinear forms produces a hull on which SSA can still operate, namely those whose matrix in the standard basis is a linear combination of the identity and the all-ones matrix; and even within this family the hull dimension drops by at most one (with the reduction achieved on every self-dual code whose length is coprime to the field characteristic). Together, these results give a tight upper bound: since SSA on a code with hull dimension has cost dominated by , replacing the standard hull with Hull lowers this dominant term from to at best , so no bilinear-form generalization of the inner product can reduce the SSA cost by more than a factor of , the field size. Going beyond this requires invariants outside the bilinear framework. As an application, we verify that PEP-based SPECK admits the factor- cost reduction, while LEP-based LESS and PKP-based PERK lie outside our framework. A SageMath implementation of the bilinear-hull preprocessing confirms feasibility at SPECK's recommended length .
Keywords: Code-based cryptography · SPECK signature · Support splitting algorithm · Permutation equivalence · Hull
Author's accepted manuscript. This paper has been accepted for publication in Selected Areas in Cryptography – SAC 2026, Lecture Notes in Computer Science, Springer. The final publication will be available at Springer.
1 Introduction
Post-quantum digital signatures are an active research area within the ongoing NIST standardization effort, and a number of code-based signature schemes have been proposed in recent years that derive security from hard algorithmic problems on linear codes, most notably from the family of code equivalence (and related kernel) problems. Three of the most actively developed proposals sit on distinct points of this spectrum: LESS [9] relies on the Linear Equivalence Problem (LEP), PERK [1] on the Permuted Kernel Problem (PKP), and SPECK [3], proposed in 2025 by Baldi et al., on a newly introduced variant called Permutation Equivalence of Codes and Kernel (PECK), which in the High regime is computationally equivalent to the classical Permutation Equivalence Problem (PEP).
PEP and SSA: thirty years of study. PEP and its dedicated solver, Sendrier's Support Splitting Algorithm (SSA) [22], have been studied for almost three decades. Petrank and Roth [19] showed that Graph Isomorphism (GI) reduces to PEP, giving the first complexity-theoretic lower bound. For codes with trivial hull, Bardet, Otmani, and Saeed-Taha [6] proved the converse: PEP on linear-complementary-dual (LCD) instances reduces back to GI via orthogonal projectors. Combined with Babai's quasipolynomial-time algorithm for GI [2], this means that PEP on trivial-hull instances is no harder than GI, so trivial-hull codes are an unsuitable parameter choice for conservative PEP-based cryptography. PEP-based schemes must consequently use codes with large hull dimension; SPECK pushes this to the extreme by using self-dual codes (hull dimension ) in its proposed parameters.
The cost of SSA is governed by the hull dimension: its time complexity is , where and [22]. Sendrier [21] characterized the average behavior of dim Hull for random linear codes, identifying it as the natural invariant governing the cost of SSA; analogous statistics have been derived for cyclic codes [24] and for Hermitian hulls of constacyclic codes [14]. SSA has also been deployed in concrete cryptanalysis: Loidreau and Sendrier [16] used it to detect weak McEliece keys, and Panny [17] recently revisited McEliece secret-key search through the structure of equivalent keys. Across all this work, dim Hull has been one of the central parameters whose reduction translates directly into a lower SSA cost.
For the parameter ranges relevant to cryptography, the term in SSA's complexity dominates; any reduction of therefore directly lowers the cost of the SSA attack. The natural question is whether the hull, defined via the standard inner product , is the only permutation-invariant hull arising from a bilinear form.
The bilinear-form route. Identifying a bilinear form with its matrix in the standard basis, we write its structure matrix as and obtain a hull-like object for any nondegenerate . If some choice of were to produce a smaller hull while remaining compatible with SSA, the cost of the standard PEP solver would drop accordingly. We are led to two natural questions:
(a) Is there any non-trivial for which remains a usable SSA invariant?
(b) If so, by how much can the hull dimension be reduced?
This paper answers both questions and explores the consequences for current code-based signature candidates.
-
A tight upper bound on the bilinear-form approach. Combining (i) and (ii) yields the central conclusion of the paper: no bilinear-form generalization of the inner product can lower the SSA cost by more than a factor of . Going beyond this requires invariants outside the bilinear framework, such as higher-order tensor invariants or non-bilinear algebraic structures. We view this as a clean mathematical limit, not as a security statement about any particular scheme.
-
Applications to current code-based signature candidates (Sections 4 and 5). For PEP-based SPECK [3] (via its PECK-to-PEP reduction in the High regime), the framework yields an SSA attack with cost , a factor of below standard SSA; at recommended this is a factor in the SSA enumeration term. We emphasize that this is a reduction in SSA cost on the underlying PEP instance, not an improvement on the best known attack against SPECK as a scheme. For LEP-based LESS, we prove (Proposition 3) that loses its invariance under monomial transformations, so the technique does not extend. For PKP-based PERK, hulls play no role and the framework does not apply at all.
-
Implementation and empirical validation (Section 6). We implement the bilinear-hull preprocessing in SageMath and run it on 66 self-dual codes, including SPECK instances (), to validate the predicted dimension reduction and measure the preprocessing overhead. The fixed choice achieves the predicted dimension reduction in every trial and completes in 2–5 ms, confirming that the factor- SSA cost reduction carries no hidden preprocessing overhead.
The contributions above are at the structural level: a complete characterization of the bilinear-form route, a tight quantitative bound on the achievable SSA cost reduction, an applicability survey across current code-based signature candidates, and an implementation confirming that the bilinear-hull preprocessing is practically negligible.
Related work. The standard hull and its statistical properties have been studied extensively for random codes [21], cyclic codes [24], and constacyclic codes with Hermitian duality [14]. Our results are the first to characterize which alternative bilinear forms produce permutation-invariant hulls, and to bound the resulting dimension change. Closest in spirit is the recent hull-variation problem of Ho and Johnsen [12] for vector rank-metric codes, which asks how dim Hull varies across an equivalence class of codes. Our perspective is complementary: we fix the code and vary the bilinear form, optimizing the invariant that governs the cost of SSA. Hull-type invariants for matrix codes have also recently been used by Couvreur and Levrat [11] to attack the Matrix Code Equivalence Problem underlying MEDS and ALTEQ.
Concurrent work by Baldi et al. [4] exploits the self-orthogonal structure of public keys in SPECK, earlier versions of LESS, and ABL for compression rather than cryptanalysis. The interaction between such compressed representations and our bilinear hull is left open. On the cost-reduction side, our factor- result fits the line of concrete refinements such as Panny's recent work on McEliece [17], where polynomial or constant-factor improvements without changing the asymptotic exponent are practically meaningful.
Preliminary version. A subset of the structural results in Section 3 (specifically Theorems 1 and 2 and Corollary 1) appeared as a short poster abstract [13].
Organization. Section 2 recalls the necessary background on linear codes, PEP, and SSA. Section 3 develops the structural theory of permutation-invariant bilinear hulls, with full proofs of the characterization, the dimension bound, and the self-dual reduction. Section 4 presents the SPECK signature scheme, the PECK-to-PEP reduction in the High regime, the bilinear-hull SSA, its cost analysis, and the concrete numerical impact on SPECK's recommended parameters. Section 5 analyzes the technique's applicability to LESS and PERK. Section 6 reports experimental validation at SPECK parameters. Section 7 concludes.
2 Preliminaries
2.1 Linear Codes and Hulls
Let denote the finite field of order , where is prime. An linear code is a -dimensional subspace of . A generator matrix is a matrix whose rows form a basis of . A parity-check matrix satisfies .
The dual code of is for all , where is the standard inner product. The hull of is defined as
A code is self-orthogonal if , and self-dual if (which forces ). For a self-dual code, and hence . If , the code is said to have trivial hull, and is called linear complementary dual (LCD),
Code equivalence. Two notions of code equivalence are of interest. Two codes are permutation-equivalent if for some , and monomially equivalent (or linearly equivalent) if for some monomial transformation , where with is a diagonal scaling. Permutation equivalence is the more restrictive notion, and the hull is invariant under permutations but not under arbitrary monomial transformations. This distinction will matter in Section 5 when we contrast PEP-based and LEP-based schemes.
The hull dimension controls the complexity of solving the Permutation Equivalence Problem, as we review next.
2.2 The Permutation Equivalence Problem
Let denote the symmetric group on . A permutation acts on row vectors of by right multiplication with the corresponding permutation matrix , , so that and . The action on a code is . We will use freely (orthogonality) and , (the all-ones vector is fixed).
Definition 1 (Permutation Equivalence Problem (PEP)). Given generator matrices of two permutation-equivalent codes , find such that .
PEP and Graph Isomorphism. PEP has been studied for almost three decades. Petrank and Roth [19] showed that PEP is at least as hard as Graph Isomorphism (GI), giving the first complexity-theoretic lower bound on the problem. For codes with trivial hull (LCD codes), Bardet, Otmani, and Saeed-Taha [6] proved the converse direction: PEP on LCD instances reduces to GI via orthogonal projectors. Combined with Babai's quasipolynomial-time algorithm for GI [2], this means PEP on small-hull instances admits a quasipolynomial-time solver and is therefore unsuitable as the basis of a code-based signature scheme. PEP-based schemes must consequently use codes with large hull dimension; SPECK pushes this to the extreme by using self-dual codes (hull dimension ). A comprehensive survey of the hardness landscape for code equivalence problems can be found in [7].
The hull as the SSA invariant. A key property of the hull is its invariance under permutations: for all , so any sending to also sends to . The statistical behavior of dim Hull for random linear codes was characterized by Sendrier [21] and extended to structured families such as cyclic codes by Skersys [24]; alternative dualities (Hermitian) were studied by Jitman and Sangwisut [14]. These results identify the standard hull as the natural cryptographic invariant for PEP: its dimension governs the cost of the only known PEP-specific solver, the Support Splitting Algorithm.
2.3 The Support Splitting Algorithm
Sendrier's Support Splitting Algorithm (SSA) [22] solves PEP by computing signatures: invariant maps that assign to each coordinate of a code an element of some set such that
By matching signatures of coordinates between and , SSA recovers . The construction builds on Leon's earlier work on code automorphism groups [15].
Why the hull dimension governs the cost. The signature used in practice combines puncturing with weight enumeration: for each coordinate , one punctures the code at to obtain , and records its weight enumerator (or a hash thereof) as the signature of position . Computing the weight enumerator of an code requires enumerating up to codewords, so the dimension of the code on which SSA operates is the dominant cost factor. Since Hull(C) is permutation-invariant, SSA can be applied to the hull rather than to the full code. When , this reduces the search space from to . The complexity of SSA on an code with hull dimension is
where the term, arising from enumeration in signature computation, dominates for cryptographic parameters [22]. For self-dual codes (), the hull provides no reduction and SSA has complexity .
SSA in cryptanalysis. SSA has been employed in concrete cryptanalysis: Loidreau and Sendrier [16] used it to detect weak keys in the McEliece cryptosystem, and Panny [17] recently revisited McEliece secret-key search via the structure of equivalent keys, lowering the concrete cost even though the asymptotic exponent is unchanged. This line of work illustrates that even constant-factor improvements to the SSA cost can be meaningful in concrete cryptanalysis, which is the frame in which we state our factor- result.
Remark 1 (Related solvers for code equivalence). SSA is specific to PEP and its cost is governed by the hull dimension. For the strictly more general Linear Equivalence Problem (LEP), the dedicated solvers are based on low-weight codeword search and collision search and do not depend on the hull. This line originates with Leon's low-weight-codeword algorithm [15]; Beullens [8] improved it via collision search, and it has since been further improved by the recent algorithms of Bardet, Brion, Otmani, Saeed, and Sendrier [5] and of Budroni and Esser [10], which are the current state of the art. A reduction from LEP to PEP exists via the closure construction of Sendrier and Simos [23,18], but it inflates the code length from to and is outperformed by these dedicated LEP solvers. Moreover, for the closure of an LEP instance is always weakly self-dual, so the resulting PEP instance has near-maximal hull dimension and SSA performs poorly on it regardless of the bilinear form used. This distinction will be important when we discuss the boundary of our technique in Section 5: hull-based techniques target PEP specifically, whereas LEP is solved by hull-agnostic collision algorithms.
3 Permutation-Invariant Bilinear Hulls
This section develops the structural theory underlying the cost reduction of Section 4. We generalize the hull via alternative bilinear forms (Section 3.1), characterize which generalizations remain compatible with SSA (Theorem 1), and bound the resulting hull dimension (Theorem 2 and Corollary 1). The proofs are elementary linear algebra; their consequence is that no bilinear-form generalization of the inner product can reduce the hull dimension by more than one, which is what eventually drives the optimal SSA speedup of Theorem 3.
3.1 Bilinear Hulls
A bilinear form is identified with its matrix in the standard basis via for a structure matrix ; the standard inner product corresponds to . All subsequent statements are formulated directly in terms of .
Definition 2 (M-dual and M-hull). For a code and a structure matrix , the M-dual and M-hull of are
M is nondegenerate if it is invertible, in which case .
Remark 2. In this paper, we assume that structure matrices are symmetric. We need this assumption because otherwise the orthogonality would not be symmetric.
Definition 3 (Isometry). A map is an isometry of (or of ) if for all . When for a matrix , the isometry condition is equivalent to .
For SSA to operate on Hull in place of Hull, the M-hull must be invariant under coordinate permutations, i.e.,
3.2 Characterization of Permutation-Invariant Bilinear Hulls
Theorem 1 below characterizes the structure matrices M for which this holds, together with several equivalent reformulations. To this end, we establish the following auxiliary lemmas:
Lemma 1 (Proportionality of quadratic forms). Let be odd and . If are nondegenerate quadratic forms on with the same zero set, then for some .
Proof. Pick with (and hence , by the equal-zero-set hypothesis); set . For any nonzero isotropic vector , the line yields polynomials
where denotes the symmetric bilinear form polarized from . Both are linear in , with the same zero set in (since and have the same zero set). Equating root structures forces : if then has empty zero set, so as well; otherwise has the unique root , and equating with the unique root of gives the desired identity.
For and odd, the isotropic vectors of any nondegenerate quadratic form span . By the Witt decomposition, with an orthogonal sum of hyperbolic planes and anisotropic of dimension : the hyperbolic bases of are isotropic and span ; for any , surjectivity of the form on a hyperbolic plane provides with , so is isotropic with nonzero -component. Combining these vectors yields a spanning set of consisting of isotropic vectors. Hence the linear functional vanishes on a spanning set, so identically.
Repeating the argument with any satisfying gives for some . Choosing so that (possible by non-degeneracy of together with ), the symmetry of the bilinear forms yields
so . Since spans , identically, hence .
Lemma 2. Let and let be a symmetric matrix over such that, for every , one has for some . Then for all , and hence for every .
Proof. As , each is uniquely determined, and comparing with shows is a homomorphism ; in particular for every transposition . If is even, then is odd, so . If is odd and for some , then reads : the entry with gives for all , and the entry gives , so (as ) every ; thus , contradicting the assumption . Hence in either case, and since transpositions generate .
Theorem 1. Let be a bilinear form on with symmetric nondegenerate structure matrix , and assume . The following are equivalent.
(i) Every coordinate permutation is an isometry of :
(ii) for some , where is the identity matrix and is the all-ones matrix.
(iii) For every and every code ,
(iv) For every and every code ,
Proof. Let denote the permutation matrix of , so .
(i) (ii): The isometry condition for all rewrites as , hence . Entry-wise, , so
For , the diagonal action of on has exactly two orbits, and , so is constant on each: and () for some , giving .
(ii) (iii): For any code and any , using ,
Condition (ii), i.e. , gives (as commutes with every permutation matrix), so the two conditions coincide.
(iii) (iv): For any C and ,
Hence implies .
(iv) (i): Fix and write , which is again symmetric and nondegenerate. Since for all , we have , hence ; comparing with (iv) yields
Taking and using iff (and otherwise), and have the same isotropic set:
Case odd. By (5) the quadratic forms and share their zero set, so for some by Lemma 1. As this holds for every , Lemma 2 applied to (nonzero, as is nondegenerate) gives .
Case even. Here with , so by (5) both isotropic sets equal . For and any one has , and likewise for ; since by (4), the forms and share a kernel, so with . We claim is constant on . For a scalar , , so . For linearly independent we have (as is a subspace), hence
that is, . Since M is invertible and x, y are independent, xM and yM are independent, so . Thus any two nonzero vectors of Z have the same -value (directly if independent, via a scalar multiple otherwise), proving the claim; write . Then for all . If d=0 then and . By Lemma 2, follows and we are done. Therefore, we assume , which makes a hyperplane, and is symmetric of rank with left kernel containing , so we have
Taking entries and using gives ; since is transitive, is either 0 or nowhere zero. Since we have excluded the case above, we assume that every . For a transposition a fixed coordinate (which exists as ) forces , whence for all and in particular ; ranging over transpositions, and . Now for every , so (nonzero, as is nondegenerate but is not) satisfies
and Lemma 2 gives , which implies . This completes the cycle (i) (ii) (iii) (iv) (i).
Remark 3 (Optimality of the hypotheses). Both the bound and the symmetry of M are necessary in Theorem 1.
is needed, even for symmetric . Over take the symmetric nondegenerate matrix . Its quadratic form is anisotropic, since is a non-square in ; hence for every code , and condition (iv) holds trivially. Yet , so (i) fails, and the equivalence breaks down at .
Symmetry is needed at . Over the non-symmetric nondegenerate matrix has permutation-invariant (condition (iv)) while
. Such asymmetric counterexamples have degenerate symmetric part and rely on the fact that, for , no transposition is disjoint from a given pair of coordinates; we know of none for . Whether the symmetry hypothesis can be dropped for is left as future work.
The crucial equivalence for the cryptanalytic application is (ii) (iv): a structure matrix yields a permutation-invariant hull, and is thus usable as an SSA invariant in place of the standard hull, if and only if it has the form .
3.3 Hull Dimension Bound
Theorem 1 identifies as the only family of structure matrices yielding SSA-compatible hulls. We now show that, for any such , the resulting -hull has dimension within one of the standard hull. The argument rests on the following standard rank-perturbation bound, included for self-containment.
Lemma 3 (Rank perturbation). For any matrices ,
Proof. Set . Since ,
so rank . Applying the same inequality to gives , completing the proof.
Theorem 2 (Dimension bound). Let be an code with generator matrix , and let with . (Nondegeneracy of is equivalent to and ; we do not require it here.) Then
Proof. A vector lies in if and only if , i.e., . Hence
and likewise .
Expanding with and ,
where . Since , , and . By Lemma 3,
Combining with (6) yields the claim.
3.4 Self-Dual Reduction
For self-dual codes, which are the relevant case for SPECK, the dimension reduction is not merely bounded but is achieved exactly, and any nondegenerate with realizes it.
Corollary 1. Let be a self-dual code and let with and . If (mod ), where , then
The matrix is additionally nondegenerate iff , a condition independent of the dimension formula above; the canonical choice satisfies this whenever (mod ), in particular at SPECK parameters.
Proof. By self-duality, , so . Continuing the calculation of Theorem 2,
We claim under the hypothesis . Indeed, is equivalent to , which forces , contradicting . Since and , , and (6) gives
□
For SPECK's parameters (, with in the Low regime and in the High regime), in both cases, so Corollary 1 applies to every self-dual code used in SPECK. For the canonical choice , which is nonzero in both () and (), so is nondegenerate and the bilinear hull always has dimension , one less than the standard hull of dimension 126.
4 Application to SPECK: Factor-q SSA Cost Reduction on PEP Instances
We now apply the structural results of Section 3 to SPECK [3], the only current code-based signature candidate built directly on PEP. The output is a factor-q reduction in the cost of SSA on the underlying PEP instances; we emphasize that SSA is not necessarily the best known attack on SPECK as a scheme, and the reduction below is a statement about SSA's running time, not about SPECK's overall security level. Section 4.1 introduces SPECK and the PECK problem. Section 4.2 reviews when PECK reduces to PEP. Sections 4.3 to 4.5 present the bilinear-hull SSA, its cost, and its scope. Section 4.6 reports the concrete numerical impact on SSA at SPECK's recommended parameters.
4.1 The SPECK Signature Scheme
SPECK [3] is a code-based digital signature scheme whose security relies on the hardness of a new problem called PECK (Permutation Equivalence of Codes and Kernel). It is inspired by the permutation version of LESS [9] but achieves faster verification by replacing the expensive systematic form computation with simple vector-matrix multiplications.
We now introduce the interactive SPECK protocol, which can be transformed into a signature scheme via the Fiat-Shamir transform.
Key generation. A random -dimensional self-orthogonal code is sampled, with generator matrix and parity-check matrix . At SPECK's parameter setting , self-orthogonality forces , so is in fact self-dual, and we use the two terms interchangeably below. A secret permutation and a random invertible matrix are chosen. The public key is where , and the private key is .
Commitment. The prover samples a random (u, P^*) \xleftarrow{\} via a random oracle and seed, and computes . The commitment is defined by , where maps to the lexicographically minimal element of its equivalence class under .
Response. The verifier chooses a random bit , and sends it to the prover.
The prover generates a response rsp as follows:
-
If : the prover defines the response rsp by rsp := seed;
-
If : the prover computes , and lets rsp := y.
Verification.
-
If : the verifier samples by using seed, and checks whether cmt is equal to ;
-
If : the verifier checks whether and cmt = .
The PECK problem. Forging a SPECK signature reduces to solving an instance of the PECK problem. We recall the formal definitions from [3]; the distributions below capture how the keys and commitments used in SPECK are sampled.
Definition 4 ( [3, Def. 3]). The distribution samples:
-
a uniformly random -dimensional self-orthogonal code with generator matrix and parity-check matrix ;
-
a uniformly random invertible S \xleftarrow{\} and permutation P \xleftarrow{\} ; and outputs where .
Definition 5 ( [3, Def. 4]). The distribution draws , samples u \xleftarrow{\} , computes , and returns .
We denote by the search problem of Definition 1 instantiated on inputs drawn from : given , find such that [3, Problem 4]. The distinction with Definition 1 is solely the uniform-random sampling of , which is what turns the problem into a cryptographic assumption.
Definition 6 (Permutation Equivalence of Codes and Kernel PECK [3, Problem 5]). Given , find such that .
Note that PECK asks for a permutation sending a specific random code-word of into , whereas PEP asks for a permutation sending the entire code to . The exact relationship between these two problems, and when a PEP solver suffices to solve PECK, is reviewed in Section 4.2 as the starting point of our reduction.
Recommended parameters. SPECK recommends two parameter regimes with identical code parameters , : the Low regime with and the High regime with , corresponding to different attack landscapes analyzed in Section 4.2. Within each regime, several Fiat-Shamir parameter choices are offered trading signature size for latency. Our SSA-based analysis depends only on and is insensitive to , so we refer the reader to [3, Table 1] for the full list of recommended instances and their signature sizes.
4.2 From PECK to PEP: the High- Regime
The following relationships between PECK, PEP, and PKP are established in [3, Section 6].
Proposition 1 ([3, Section 6.1]). For all :
-
PECK is at most as hard as PEP: given a PECK instance , one can invoke a PEP solver on to obtain sending to , which necessarily also sends to .
-
PECK is at most as hard as PKP: the PECK problem can be viewed as a variant of the Permuted Kernel Problem with repeated entries.
The converse direction, whether PEP reduces to PECK, depends on the number of solutions.
Proposition 2 (Expected number of solutions [3, Prop. 2]). Let with being the multiplicity vector of . The expected number of solutions is
where denotes the set of arrangements of on positions.
Algorithm 1: Bilinear-hull SSA on a PECK instance (High regime)
Input: PECK instance in the High regime Output: Permutation such that // Stage 1: Bilinear hull preprocessing (using ) ; ; // since for self-dual Compute a basis of ; Basis of ; // dimension Compute analogously from a generator matrix of ; // Stage 2: SSA on reduced hull Run SSA on input to obtain ; return
When , the PEP solution is the unique PECK solution, so the two problems are equivalent.
Definition 7 (High and Low regimes [3, Section 6.1]). Let denote the code rate.
- High regime: . Here with overwhelming probability, so is computationally equivalent to .
- Low regime: . Here and solving PEP alone does not identify the correct permutation for PECK. PKP-based collision search solvers [20] are more effective in this regime.
For SPECK's recommended parameters with rate and , the threshold is . SPECK uses for the High regime and for the Low regime.
4.3 Bilinear-Hull SSA on a PECK Instance
The procedure proceeds in two stages. First, we reduce a PECK instance to a PEP instance using Proposition 1(1). Second, we solve the PEP instance using SSA with the bilinear hull in place of the standard hull.
The key observation is that replacing with in the SSA is valid: by Theorem 1, the bilinear hull with satisfies , so the permutation invariance required by the SSA is preserved. By Corollary 1, this hull has dimension for any nondegenerate with on the self-dual codes used in SPECK, compared to for the standard hull.
Algorithm 1 describes the full procedure. In Stage 1, we exploit the self-duality of SPECK codes: since , the matrix simplifies to (a rank-1 matrix), and hence has a basis computable from a single kernel computation. The preprocessing cost is field operations, which is negligible compared to SSA itself. In Stage 2, the standard SSA runs on codes of hull dimension instead of .
Remark 4. To compute from the parity-check matrix , observe that and . One can either compute a generator matrix of from (at cost , which is already incurred in SSA) or use the characterization directly.
4.4 Cost Analysis
Theorem 3 (Main result). Let SPECK use a self-dual code with . In the High q regime , the bilinear-hull SSA solves in time
a factor of q below the standard SSA cost on the same instance.
Proof. By Proposition 1(1), solving solves . In the High q regime, by Proposition 2, so the PEP solution is the unique PECK solution. By Corollary 1, for any nondegenerate with , and this hull is permutation-invariant by Theorem 1. Substituting into the SSA cost (2) gives the claimed bound. The bilinear-hull preprocessing (Algorithm 1, Stage 1) costs , which is absorbed by the term.
Corollary 2. In the High q regime, the bilinear-hull SSA on has
i.e., a reduction of in the dominant exponent compared with standard SSA.
Proof. The ratio of the old and new dominant terms is .
For SPECK's High parameter , this gives . For the Low parameter , the bilinear hull still reduces the PEP-solving cost by , but this does not directly translate to a PECK speedup because the PEP-to-PECK reduction fails in the Low regime (Definition 7).
4.5 Applicability and Limitations
We summarize the scope of the bilinear-hull SSA on SPECK.
High regime. The bilinear-hull SSA solves both PEP and PECK with a factor- cost reduction over standard SSA. For SPECK's this amounts to in -cost. SSA is one of several known PEP solvers (cf. [3, Section 6.1]) and is not necessarily the cheapest; we therefore make no claim about the bit-security of SPECK as a scheme, only about SSA's running time on the underlying PEP instance.
Table 1. -cost of SSA on the underlying PEP instance for SPECK (, ). The column is the standard SSA cost (), is the bilinear-hull SSA cost (), and is the cost reduction in -form. For reference, the last column lists the cost of the best known attack on SPECK as a scheme, which need not equal the SSA cost on PEP.
| Instance | Best known on SPECK | ||||
|---|---|---|---|---|---|
| Speck-Low | 127 | 880.6 | 873.6 | 7.0 | [3] |
| Speck-High | 8861 | 1652.3 | 1639.2 | 13.1 exponential in | [3, Sec. 6.1] |
Low regime. The bilinear hull reduces the PEP-solving cost by a factor of , but this does not translate to a faster PECK solver because . In this regime, the PKP-based collision search of [3, Section 6.2] is more effective than SSA, and that path is unaffected by our technique. Hybrid strategies that enumerate the (multiple) PEP solutions and then filter by the PECK constraint could benefit from the reduced PEP-solving cost; we leave a precise analysis of such hybrids to future work.
Tightness within the bilinear framework. The cost bound in Theorem 3 is tight in the following sense: it cannot be improved within any bilinear-form generalization of the hull. By Theorem 1, the only whose is permutation-invariant is ; by Theorem 2, every such reduces the hull dimension by at most one. Hence the SSA cost cannot be reduced by more than a factor of through any bilinear-form generalization of the inner product. Any further reduction must come from invariants outside the bilinear framework, such as higher-order tensor invariants or non-bilinear algebraic structures.
4.6 Concrete SSA Cost on SPECK Instances
We tabulate the concrete cost of standard and bilinear-hull SSA on SPECK's recommended instances. The SSA cost on an code with hull dimension is dominated by (see (2)); we report it in -form, . Table 1 compares the two SSA variants for both SPECK regimes.
Two observations emerge.
SSA is not the bottleneck. For both regimes, the bilinear-hull SSA cost on PEP exceeds , so our factor- improvement does not change the practical assessment of SSA on PEP at SPECK's recommended parameters. The best known attack on SPECK in the Low regime is the PKP-based collision search with cost [3], which does not use the hull and is unaffected by our technique. In the High regime, security relies on the hardness of PEP, but other PEP solvers exist (e.g., the low-weight-codeword and meet-in-the-middle attacks discussed in [3, Section 6.1]); the cheapest known attack on SPECK as a scheme need not be SSA, so we make no claim on SPECK's bit-security.
Implications for parameter design. The bilinear-hull SSA gives the tight cost of SSA on PEP-based instances and is therefore relevant whenever future PEP-based proposals shrink or for efficiency. Concretely, the minimum hull dimension needed for the SSA cost to exceed satisfies
rather than . For SPECK's currently recommended this correction is invisible against the dominant non-SSA attacks, but it becomes meaningful for any future PEP-based variant whose is the bottleneck.
5 Discussion on Related Schemes
We examine the applicability of the bilinear hull technique to other code-based signature schemes.
5.1 LESS: Inapplicability Due to LEP vs. PEP
The LESS signature scheme [9] is based on the Linear Equivalence Problem (LEP), which asks to find a monomial transformation (a permutation composed with a diagonal scaling matrix) mapping one code onto another. This is a strictly more general notion than permutation equivalence. The bilinear hull technique does not directly apply to LESS for the following reason.
Proposition 3. Let be a nondegenerate structure matrix with . Then is not invariant under monomial transformations in general. That is, there exist a code and a monomial transformation such that .
Proof. We give an explicit counterexample, then explain the structural reason. Counterexample. Take , , , and the code . Using the identity (valid for ),
so is -self-orthogonal and has dimension 1. Let with (and ); then . A direct computation gives
so is not -self-orthogonal and hence . Therefore .
Structural reason. For a monomial with corresponding matrix ,
where and . This equals only when for some scalar (uniform scaling); for non-uniform , the bilinear form is not preserved by . By the same argument as Theorem 1 (i) (iv) applied to monomial transformations in place of permutations, this loss of -isometry yields, for some code , a witness to the failure of hull invariance under , as exemplified by the construction above.
Remark 5. An indirect route exists via the closure construction of Sendrier-Simos [18], which reduces LEP to PEP by expanding the code length from to . The bilinear hull technique could in principle be applied to the closure codes. However, this approach is outperformed by the dedicated LEP solvers [8,5,10], which do not go through PEP and run in time independent of the hull dimension. In addition, for the closure codes are always weakly self-dual, so their hull dimension is near-maximal and SSA is ineffective on them irrespective of the choice of bilinear form.
5.2 PERK: Inapplicability Due to PKP Foundation
The PERK signature scheme [1] is based on the Permuted Kernel Problem (PKP), which asks to find a permutation mapping a given vector into the kernel of a given matrix. Unlike PEP, PKP does not involve comparing two codes and does not use hulls. The SSA and the bilinear hull technique are therefore entirely inapplicable to PERK.
5.3 Scope of the Bilinear Hull Technique
Summarizing, the bilinear-hull technique applies to signature schemes whose security relies on the hardness of PEP (or problems that reduce to PEP). Among the recent code-based signature proposals we consider, SPECK [3] is the only one that directly employs PEP through the PECK problem. LESS uses the more general LEP, and PERK uses the unrelated PKP.
This scope is built into the technique: Theorem 1 characterizes permutation-invariant bilinear forms, and permutation invariance is the symmetry of PEP but not of LEP or PKP. Extending the approach to LEP would require characterizing monomial-invariant bilinear forms, and Proposition 3 shows that the family loses its invariance under non-uniform scaling. A characterization of monomial-invariant bilinear forms, and whether any of them yield hull reductions usable in an LEP setting, is left open.
6 Experimental Validation
Corollary 1 guarantees the dimension reduction for every nondegenerate with , and the preprocessing reduces to a single rank query on a matrix (Algorithm 1, Stage 1), which is field operations in theory. What remains to be confirmed empirically is that (i) a single fixed choice (concretely ) suffices at SPECK parameters, removing any need to search over , and (ii) the absolute wall-clock cost at is small
Table 2. Empirical validation of Corollary 1. For each parameter set, we generated random self-dual codes and measured dim Hull and dim Hull_M with . The “Red.” column reports the observed dimension reduction (all equal to 1). The “Time” column is the average time to compute both hull ranks.
| Parameters | Trials | dim Hull | dim Hull_M | Red. | Time (ms) |
|---|---|---|---|---|---|
| 10 | 8 | 7 | 1 | 0.1 | |
| 10 | 10 | 9 | 1 | 0.2 | |
| 10 | 12 | 11 | 1 | 0.3 | |
| 5 | 16 | 15 | 1 | 0.5 | |
| 3 | 24 | 23 | 1 | 0.7 | |
| 7 | 32 | 31 | 1 | 0.8 | |
| 1 | 50 | 49 | 1 | 1.2 | |
| 3 | 64 | 63 | 1 | 1.5 | |
| 5 | 126 | 125 | 1 | 2.0 | |
| 3 | 126 | 125 | 1 | 5.0 | |
| Total | 66 trials, 100% success | ||||
enough that the factor- speedup in the SSA main loop is not offset by hidden preprocessing. This section reports experiments on 66 self-dual codes, including SPECK instances, verifying both.
6.1 Setup
We implemented the generator-matrix construction with in SageMath 10.0. For (i.e., ), we take where in . For (i.e., ), we use block-diagonal copies of with . Each resulting generator matrix is then randomized by left-multiplication with a random and coordinate permutation. For each sampled code , we compute and via Sage's rank routine.
6.2 Results
Table 2 reports the measured hull dimensions and preprocessing times across several parameter sets. The bilinear hull dimension is one less than the standard hull dimension in all 66 trials, and is non-zero throughout, consistent with Corollary 1. The preprocessing time stays in the millisecond range even at SPECK parameters.
6.3 Discussion
Preprocessing cost. Three observations on the preprocessing:
-
No search over is required. The fixed choice (i.e., ) achieves the reduction guaranteed by Corollary 1; other choices give the same dim Hull for self-dual codes.
-
The computation is a single rank query. Since for self-dual codes, has rank 1, and dim Hull reduces to a single rank query on a matrix, costing field operations.
-
Wall-clock time is small. At SPECK parameters (), preprocessing completes in 2–5 ms on a standard laptop, independent of .
Thus the factor- speedup in the SSA main loop is not offset by preprocessing: the complexity of Theorem 3 holds end-to-end.
Scope of the experiments. We measure the preprocessing phase only. Running the full SSA on self-dual codes of dimension is out of reach: even with the factor- improvement, the cost is beyond any hardware. The experiments therefore target the step that enables the factor- speedup, namely the bilinear hull construction, rather than the subsequent SSA enumeration.
Consistency with theory. All 66 trials exhibit the predicted dim Hull, consistent with Corollary 1: holds for both SPECK regimes ( and ). The experiments thus serve as a sanity check on our theoretical framework at SPECK parameters while simultaneously confirming the practicality of the preprocessing step. The core SageMath implementation is reproduced in Section A.
7 Conclusion
We studied, mathematically, how much the cost of the Support Splitting Algorithm can be lowered by replacing the standard inner product with an arbitrary bilinear form. Two structural results give a complete answer: Hull is permutation-invariant (and hence usable as an SSA invariant) if and only if (Theorem 1), and every such changes the hull dimension by at most one (Theorem 2, Corollary 1). The combined statement is a tight upper bound on the bilinear-form route: no bilinear generalization of the inner product can lower the SSA cost by more than a factor of . Going beyond this would require invariants outside the bilinear framework, such as higher-order tensor invariants or non-bilinear algebraic structures.
We then surveyed the applicability to current code-based signature candidates. Among them, only PEP-based SPECK admits the factor- SSA cost reduction on every self-dual instance ( at the recommended ); LEP-based LESS does not extend (Proposition 3: loses invariance under monomial transformations), and PKP-based PERK does not use hulls at all. A SageMath implementation of the bilinear-hull preprocessing confirms that the framework is practically realizable.
Future work. Several directions remain open.
– Beyond bilinear invariants. Whether higher-order tensor invariants or non-bilinear algebraic structures can reduce the SSA-relevant hull dimension by more than one is open. A positive answer would step outside the limit established here and represent a genuinely new technique against PEP-based schemes.
– Other equivalence problems. Recent work by Couvreur and Levrat [11] shows that hull-type invariants also play a role in solving the Matrix Code Equivalence Problem underlying schemes such as MEDS and ALTEQ. Whether an analogue of our characterization exists in the matrix/rank-metric setting, and whether it leads to a similar cost reduction, is open. Closely related is the hull-variation problem of Ho and Johnsen [12] on equivalent vector rank-metric codes.
– Hybrid Low-q analysis. In SPECK's Low regime the PEP-to-PECK reduction fails because . A precise hybrid analysis combining the bilinear-hull SSA on PEP with PECK-constraint filtering is left open (Section 4.5).
Acknowledgments. The authors thank the anonymous reviewers of SAC 2026 for their helpful comments. Y. A. was supported in part by JSPS KAKENHI Grant Number 24K20771. K. I. was supported in part by JSPS KAKENHI Grant Number 25K17290. T. M. was supported in part by JSPS KAKENHI Grant Number 25K24402.
A SageMath Implementation of the Validation Experiment
For reproducibility, below is the core of our SageMath implementation used for the experiments in Section 6. It validates Corollary 1 at SPECK parameters () in a few lines of linear algebra.
from sage.matrix.special import block_diagonal_matrix, ones_matrix
def construct_selfdual(n, q):
"""Build a self-dual [n, n/2]_q code G = (I_k | A) with A A^T = -I_k.
q == 1 (mod 4): A = alpha * I_k, with alpha^2 = -1 in F_q.
q == 3 (mod 4): block-diagonal of [[a, b], [-b, a]] with a^2 + b^2 = -1.
"""
F = GF(q)
k = n // 2
I_k = identity_matrix(F, k)
if q % 4 == 1:
A = F(-1).sqrt() * I_k else: assert k % 2 == 0 for a in F: rhs = F(-1) - a * a if rhs.is_square(): b = rhs.sqrt() break block = matrix(F, [[a, b], [-b, a]]) A = block_diagonal_matrix([block] * (k // 2)) return I_k.augment(A)
def dim_hull(G, M=None): ""dim Hull_M(C) = k - rank(G M G^T); M = None uses the standard inner product."" F = G.base_ring() if M is None: M = identity_matrix(F, G.ncols()) return G.nrows() - (G * M * G.transpose().rank())
Validate Corollary 1 at SPECK parameters
for q in [127, 8861]: n = 252 G = construct_selfdual(n, q) M = identity_matrix(GF(q), n) + ones_matrix(GF(q), n) # M = I + J h_std = dim_hull(G) # expect n/2 = 126 h_bil = dim_hull(G, M) # expect n/2 - 1 = 125 print(f"q={q}: dim Hull = {h_std}, dim Hull_M = {h_bil}")
Sample output:
q=127: dim Hull = 126, dim Hull_M = 125 q=8861: dim Hull = 126, dim Hull_M = 125
Both executions complete in under 5 ms of linear algebra.
References
-
Aaraj, N., et al.: PERK. In: NIST Post-Quantum Cryptography Round 2 Additional Signatures (2024)
-
Babai, L.: Graph isomorphism in quasipolynomial time. In: Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing (STOC) 2016. pp. 684-697 (2016)
-
Baldi, M., Battagliola, M., Mechri, R.E., Santini, P., Schiavoni, R., Zuane, D.D.: SPECK: Signatures from permutation equivalence of codes and kernels. Cryptology ePrint Archive, Paper 2025/923 (2025), https://eprint.iacr.org/2025/923
-
Baldi, M., Mechri, R.E., Santini, P., Schiavoni, R.: On the representation of self-orthogonal codes and applications to cryptography. Cryptology ePrint Archive, Paper 2025/2279 (2025), https://eprint.iacr.org/2025/2279
-
Bardet, M., Brion, R., Otmani, A., Saeed, M., Sendrier, N.: Solving the linear code equivalence problem from single codeword matching. In: Advances in Cryptology – CRYPTO 2026. LNCS, Springer (2026), to appear
-
Bardet, M., Otmani, A., Saeed-Taha, M.: Permutation code equivalence is not harder than graph isomorphism when hulls are trivial. In: IEEE International Symposium on Information Theory (ISIT) 2019. pp. 2464–2468 (2019)
-
Barenghi, A., Biasse, J.F., Persichetti, E., Santini, P.: On the computational hardness of the code equivalence problem in cryptography. Advances in Mathematics of Communications 17(1), 23–55 (2023)
-
Beullens, W.: Not enough LESS: An improved algorithm for solving code equivalence problems over . In: Selected Areas in Cryptography (SAC) 2020. LNCS, vol. 12804, pp. 387–403. Springer (2021)
-
Biasse, J.F., Micheli, G., Persichetti, E., Santini, P.: LESS is more: Code-based signatures without syndromes. In: Progress in Cryptology – AFRICACRYPT 2020. LNCS, vol. 12174, pp. 45–65. Springer (2020)
-
Budroni, A., Esser, A.: One pair to rule them all: Towards an optimal algorithm for solving code equivalence via codeword search. In: Advances in Cryptology – CRYPTO 2026. LNCS, Springer (2026), to appear; Cryptology ePrint Archive, Paper 2026/268
-
Couvreur, A., Levrat, C.: Highway to hull: An algorithm for solving the general matrix code equivalence problem. Cryptology ePrint Archive, Paper 2025/596 (2025), https://eprint.iacr.org/2025/596
-
Ho, D., Johnsen, T.: On the hull-variation problem of equivalent vector rank-metric codes. arXiv:2505.08506 (2025), https://arxiv.org/abs/2505.08506
-
Ishizuka, K.: Poster: Reducing hull dimensions for efficient permutation recovery in code-based cryptography. In: Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security (CCS 2025). pp. 4812–4814. ACM (2025). https://doi.org/10.1145/3719027.3760735
-
Jitman, S., Sangwisut, E.: The average dimension of the Hermitian hull of constant cyclic codes over finite fields of square order. Advances in Mathematics of Communications 12(3), 451–463 (2018)
-
Leon, J.S.: Computing automorphism groups of error-correcting codes. IEEE Trans. Inf. Theory 28(3), 496–511 (1982)
-
Loidreau, P., Sendrier, N.: Weak keys in the McEliece public-key cryptosystem. IEEE Trans. Inf. Theory 47(3), 1207–1211 (2001)
-
Panny, L.: On breaking McEliece keys using brute force. In: Post-Quantum Cryptography (PQCrypto) 2026. LNCS, vol. 16492, pp. 275–308. Springer (2026), cryptology ePrint Archive, Paper 2025/632
-
Persichetti, E., Santini, P.: A new formulation of the linear equivalence problem and shorter LESS signatures. In: ASIACRYPT 2023, Part VII. LNCS, vol. 14444, pp. 351–378. Springer (2023)
-
Petrank, E., Roth, R.M.: Is code equivalence easy to decide? IEEE Trans. Inf. Theory 43(5), 1602–1604 (1997)
-
Santini, P., Baldi, M., Chiaraluce, F.: Computational hardness of the permuted kernel and subcode equivalence problems. IEEE Trans. Inf. Theory 70(3), 2254–2270 (2024). https://doi.org/10.1109/TIT.2023.3323068
-
Sendrier, N.: On the dimension of the hull. SIAM J. Discrete Math. 10(2), 282–293 (1997)
-
Sendrier, N.: Finding the permutation between equivalent linear codes: The support splitting algorithm. IEEE Trans. Inf. Theory 46(4), 1193–1203 (2000). https://doi.org/10.1109/18.850662
-
Sendrier, N., Simos, D.E.: The hardness of code equivalence over and its application to code-based cryptography. In: Post-Quantum Cryptography (PQCrypto) 2013. LNCS, vol. 7932, pp. 203–216. Springer (2013)
-
Skersys, G.: The average dimension of the hull of cyclic codes. Discrete Applied Mathematics 128(1), 275–292 (2003)