Binary Goppa codes are important in coding theory and cryptography. It is well-known that the minimum distance of a binary Goppa code defined by a squarefree polynomial of degree r is at least 2r+1. Though from the classical results of C. J. Moreno, O. Moreno, F. Levy-dit-Vehel and S. Litsyn that the true minimum distances of binary Goppa codes are 2r+1, when the extension field degree m is larger than (r−1)4r. There have only very few families of binary Goppa codes with determined true minimum distances.
In this paper, we give necessary and sufficient conditions for binary Goppa codes such that their minimum distances are 2r+1 and 2r+2. Infinitely many infinite families of binary Goppa codes with minimum distance 2r+1 are given. In particular, we construct such codes for every Goppa degree r in the range 2h−1<r<2h over F22h. For every 2≤r≤⌊2m/3⌋, we also obtain at least 2m−3r+1 distinct monic squarefree Goppa polynomials of degree r over F2m, such that their related binary Goppa codes have minimum distance 2r+1. We extend a criterion for q-ary Goppa codes to split auxiliary polynomials and obtain some infinite families of q-ary Goppa codes attaining their designed distances r+1. We also construct infinite families of binary Goppa codes with minimum distance exactly 2r+2.
Key words. Goppa codes, binary linear code, minimum distance.
*Yaqi Chen is with the College of Cyber Security, Jinan University, Guangzhou, Guangdong Province, 510632, China (e-mail: chenyq@stu.jnu.edu.cn). Hao Chen is with the College of Information Science and Technology, Jinan University, Guangzhou, Guangdong Province, 510632, China (e-mail: haochen@jnu.edu.cn). Chao Liu is with the College of Information Science and Technology, Jinan University, Guangzhou, Guangdong Province, 510632, China (chliuu@163.com). Huimin Lao is with Strategic Centre for Research in Privacy-Preserving Technologies and Systems, Nanyang Technological University, Singapore (e-mail: huimin.lao@ntu.edu.sg). The research was supported by NSFC Grant 62032009, and the National Research Foundation, Singapore and Infocomm Media Development Authority under its Trust Tech Funding Initiative. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of National Research Foundation, Singapore and Infocomm Media Development Authority. (Corresponding author: Hao Chen)
1 Introduction
1.1 Background and Motivation
Goppa codes, introduced by Goppa [12, 13], form an important class of alternant codes. Binary Goppa codes can be efficiently decoded [19] and play an important role in code-based cryptography, particularly in the McEliece cryptosystem [1]. However, determining their exact minimum distances remains difficult. Apart from the general results of Moreno and Moreno [18] for sufficiently long codes, exact minimum distances are known mainly for special infinite families. This motivates the study of more general constructions of Goppa codes with known minimum distances.
Throughout this paper, let q be a prime power, and let Fq and Fqm denote the finite fields with q and qm elements, respectively. For a vector c∈Fqn, let supp(c) and wt(c) denote its support and Hamming weight, respectively. A q-ary linear code C of length n, dimension k, and minimum distance d(C) is denoted by an [n,k,d]q code, where d=min{wt(c):c∈C∖{0}}.
Let L={α1,…,αn}⊆Fqm, and let G(X)∈Fqm[X] be a polynomial of degree r≥1 such that G(αi)=0 for all 1≤i≤n. The q-ary Goppa code defined by L and G(X) is
Here L is the support set and G(X) the Goppa polynomial. The classical Goppa bound gives d(Γq(L,G))≥r+1. For binary Goppa codes with squarefree G(X), the identity Γ2(L,G)=Γ2(L,G2) gives the stronger bound
d(Γ2(L,G))≥2r+1
[20]. The bounds r+1 and 2r+1 are the corresponding designed distances. We mainly study binary Goppa codes with minimum distance 2r+1 or 2r+2 and also consider constructions of q-ary Goppa codes.
1.2 Related Work
Early studies of Goppa codes focused on bounds for their minimum distances and special classes of Goppa polynomials [9, 20, 22]. Moreno and Moreno [18] used exponential sums to derive a sufficient condition for binary Goppa codes to attain the minimum distance 2r+1. Let G(X)∈F2m[X] be squarefree of degree r, and let L={α∈F2m:G(α)=0}. Their result, restated in [16, Theorem 3], gives d(Γ2(L,G))=2r+1 provided
2m≥max{((2r−2)2r+1+1)2,(r!2r(2r)!)2}.
For r≥2, Levy-dit-Vehel and Litsyn [16, Theorem 7] proved that d(Γ2(L,G))=2r+1 provided
2m≥4(ν+r−1)4r+21+1−(ν+r−1)4r124r+2,
where ν=2−m/2−1∣{α∈F2m:G(α)=0}∣. Both results require a sufficiently large field relative to the degree r of the Goppa polynomial G(X). The bound in [16, Theorem 7] also depends on the number of roots of G(X) in F2m. Finiasz [10, 11] studied the search for codewords of weight 2r+1 in binary Goppa codes. His method uses completely split locator polynomials F(X) of degree 2r+1 satisfying F′(X)=G(X)2. This provides a way to find minimum-weight codewords, but does not give explicit infinite families or general existence bounds. Bezzateev and Shekhunova [2] constructed binary Goppa codes with G(X)=Xt+A and minimum distance 2t+1, where t∣2m−1 and A is a t-th power in F2m∗. They also determined the minimum distances of certain chains of separable binary Goppa codes [3] and improved parameter bounds for totally decomposed cumulative Goppa codes [4]. Véron [21] studied trace Goppa codes and proved that certain binary Goppa codes have only even-weight codewords. Byrne et al. [5] obtained improved lower bounds on the minimum distances of Goppa codes defined by trace polynomials over extensions of degree at least three.
Chen et al. [6] gave a necessary and sufficient condition for a q-ary Goppa code to have minimum distance r+1, where r is the degree of its Goppa polynomial. They determined the minimum distances of several families, including certain wild Goppa codes, and extended the binary family G(X)=Xt+A to odd prime powers. Dong et al. [8] studied Goppa polynomials of the form G(X)=U(X)H(X)+V(X)H′(X), where H(X) is irreducible of degree r+1. They gave a criterion for the existence of codewords of weight r+1 and obtained further families attaining the Goppa bound. For binary Goppa codes, He et al. [15] extended the family G(X)=X3t+1 to G(X)=X(2β+1)t+1 and gave sufficient conditions for the minimum distance to be (4β+2)t+1. They also constructed three explicit infinite families with G(X)=X3t+1 and minimum distance 6t+1. In another work, He et al. [14] gave construction criteria for Goppa polynomials of the forms G(X)=f(Xt) and G(X)=A(X)h(ϕ(X)). Their results include infinite families with G(X)=X2t+Xt+1 and minimum distance 4t+1, and with G(X)=X3t+Xt+1 and minimum distance 6t+1.
Overall, apart from the result of Moreno and Moreno for sufficiently large fields, exact minimum distances of binary Goppa codes are known mainly for special families. General constructions covering a wide range of Goppa degrees and producing many distinct Goppa polynomials over a fixed finite field remain limited.
1.3 Main Contributions and Organization
The main contributions of this paper are summarized as follows.
We give necessary and sufficient conditions for binary Goppa codes to have minimum distance 2r+1 or 2r+2 using codeword locator polynomials, as shown in Theorems 3.1 and 3.2. The criterion for d=2r+1 provides a unified characterization of the cases attaining the designed distance in [2, 3, 14, 15]. Proposition 3.2 characterizes binary Goppa codes with only even-weight codewords using a trace condition.
We develop three general constructions of binary Goppa codes with minimum distance 2r+1 by deleting roots, taking products of split polynomials, and adjoining two roots to locator polynomials. Theorems 4.1, 4.2, and 4.3 give lower bounds on the number of distinct Goppa polynomials obtained. Corollary 4.2 guarantees the existence of such polynomials for every degree 2≤r≤⌊2m/3⌋ over F2m.
We apply these constructions to obtain numerous explicit infinite families of binary Goppa codes with minimum distance 2r+1. Propositions 5.1–5.7 give families from subspace polynomials, trace polynomials, and other split polynomials. Corollary 4.1 covers every Goppa degree 2h−1<r<2h over F22h.
We extend the construction of Dong et al. to q-ary Goppa codes using completely split auxiliary polynomials in Theorem 6.1. Proposition 6.1 gives an explicit infinite family with minimum distance r+1 for every prime power q≥4.
We construct binary Goppa codes with minimum distance exactly 2r+2 using support sets defined by trace conditions. Proposition 7.1 gives a general construction, and Proposition 7.2 provides two explicit infinite families with Goppa degree r=2h−1+1.
Table 1 lists representative infinite families of Goppa codes with determined minimum distances. The families attaining their designed distances use the full support L={α∈Fqm:G(α)=0}. The family with minimum distance 2r+2 uses the support defined in (20).
The remainder of this paper is organized as follows. Section 2 recalls some basic results on Goppa codes and polynomials over finite fields. Section 3 gives necessary and sufficient conditions for their minimum distances to equal 2r+1 or 2r+2. Section 4 presents three general constructions of binary Goppa codes with minimum distance 2r+1. Section 5 applies these constructions to obtain explicit infinite families. Section 6 studies q-ary Goppa codes using split auxiliary polynomials. Section 7 constructs binary Goppa codes with minimum distance 2r+2. Section 8 concludes the paper.
2 Preliminaries
We first recall some basic results on Goppa codes and polynomials over finite fields that will be used in the subsequent constructions.
Table 1: Representative infinite families of Goppa codes with determined minimum distances constructed in this paper
G(X)
Main conditions
d
Reference
∑j=0h−2X2j−1
h≥3,h∣m
2h−1−1
Prop. 5.2
X2h−1+bX2h−1−1+1
h≥2,2h∣m,b∈F2h∗
2h+1−1
Prop. 5.3
X+a2X2h−1+1+X+a
h≥2,3h∣m,a2h+1+a+1=0
2h+1
Prop. 5.4(i)
X2h−1+2+(1+b)X2h−1+1+b2X2h−1+1+bbX2+1+bb4
h≥3,2h∣m,z∈F2h,b=z2+z,b∈/{0,1}
2h+5
Prop. 5.5
X3v+cX2v+cXv+1
v≥1odd,15v∣2m−1,c∈F4∖F2
6v+1
Prop. 5.6
X2h−1+1+X+1
h≥2,3h∣m
2h+3
Prop. 5.7(i)
Xr+(ρ−1)aXr−1−ρ
q≥4,m≥2,r=q−1qm−1,a∈Fqm∗,ar=1,ρ∈Fq∖{0,1}
r+1
Prop. 6.1
Xr+Xr−1+θXr−2+(θ+1)X
r=2h−1+1,2h∣m,h≡3(mod6)orh≡4(mod8)
2h+4
Prop. 7.2
2.1 Parity Checks and Dual Codes
The Goppa code Γq(L,G) has the following parity-check matrix over Fqm [17, Ch. 12].
A vector c=(c1,…,cn)∈Fqn belongs to Γq(L,G) if and only if
i=1∑nG(αi)ciαij=0,0≤j≤r−1.(2)
Consequently, the Goppa code Γq(L,G) has dimension dimFqΓq(L,G)≥n−mr.
The trace map from Fqm to Fq is defined by TrFqm/Fq(α)=∑j=0m−1αj for α∈Fqm. The trace of a vector is defined coordinatewise. By Delsarte's trace duality [7, Thm. 2], the dual of a binary Goppa code has the following representation.
Lemma 2.1 Let Γ2(L,G) be a binary Goppa code, where G(X)∈F2m[X] has degree r≥1. Then
Proof. The row space of H over F2m consists of the vectors (u(αi)/G(αi))i=1, where u(X)∈F2m[X] and degu(X)<r. Since Γ2(L,G) is the subfield subcode of the kernel of H over F2m, Delsarte's trace duality gives (3).
Let 1=(1,…,1)∈F2n. Since c⋅1=wt(c)(mod2), every codeword of Γ2(L,G) has even weight if and only if 1∈Γ2(L,G)⊥.
2.2 Locator Polynomials and Interpolation
Let S⊆L be nonempty, and define F(X)=∏α∈S(X−α). Then F(X) is monic and squarefree, with degF(X)=∣S∣, and
F(X)F′(X)=α∈S∑X−α1.(4)
Over F2m, the derivative of every polynomial is a square, and a polynomial has zero derivative if and only if it is a square.
Lemma 2.2 (Lagrange interpolation) Let S={β1,…,βt}⊆L be nonempty, and let F(X)=∏i=1t(X−βi). For every R(X)∈Fqm[X] with degR(X)<t,
R(X)=i=1∑tR(βi)(X−βi)F′(βi)F(X).(5)
If t≥2, then
i=1∑tF′(βi)βij=0,0≤j≤t−2.(6)
Proof. The polynomial F(X)/((X−βi)F′(βi)) has degree t−1 and takes the value 1 at βi and 0 at every βj with j=i. The right-hand side of (5) has degree less than t and agrees with R(X) at all t elements of S. This proves (5). Setting R(X)=Xj and comparing the coefficients of Xt−1 gives (6).
2.3 Polynomials over Finite Fields
Lemma 2.3 Let h∣m, and let P(X)∈Fqh[X] be nonconstant. Then P(X) splits into distinct linear factors over Fqm if and only if P(X)∣Xqm−X. Equivalently, P(X) is squarefree and every irreducible factor of degree d over Fqh satisfies hd∣m.
Proof. The first equivalence follows from Xqm−X=∏α∈Fqm(X−α). The second follows since an irreducible polynomial of degree d over Fqh splits over Fqm if and only if hd∣m.
The polynomial Xs−1 splits into distinct linear factors over Fqm if and only if s∣qm−1.
Lemma 2.4 Let 1≤h≤m, and let V be an h-dimensional F2-subspace of F2m. The subspace polynomial of V is a monic linearized polynomial of the form
P(X)=v∈V∏(X−v)=j=0∑hcjX2j,
where cj∈F2m, ch=1, and c0=0. In particular, P′(X)=c0.
We also use the transitivity of the trace map. For h∣m and α∈F2m,
TrF2m/F2(α)=TrF2h/F2(TrF2m/F2h(α)).
Lemma 2.5 Let h≥1, and let P(X)=X2+bX+c∈F2h[X], where b=0. Then P(X) splits over F2h if and only if
TrF2h/F2(b2c)=0.
If this trace equals 1, then P(X) is irreducible over F2h, and its roots belong to F22h. Each root α satisfies
TrF22h/F2h(α)=α2h+α=b.
Proof. Substituting X=bZ into P(X)=0 gives Z2+Z=c/b2. The F2-linear map z↦z2+z on F2h has kernel {0,1} and image of cardinality 2h−1. Since TrF2h/F2(z2+z)=0, its image equals the kernel of the absolute trace map. This proves the splitting criterion. The roots are distinct since P′(X)=b=0. If P(X) is irreducible, its roots in F22h are α and α2h, giving α+α2h=b.
3 Codeword Structure and Minimum Distances of Binary Goppa Codes
Throughout this section, let m≥1, and let G(X)∈F2m[X] be monic and squarefree of degree r≥1. Let L⊆{α∈F2m:G(α)=0}. We assume that Γ2(L,G) is nonzero whenever its minimum distance is considered. We characterize binary Goppa codewords by locator polynomials and give necessary and sufficient conditions for Γ2(L,G) to have minimum distance 2r+1 or 2r+2.
Proposition 3.1 Let S⊆L be nonempty, and define F(X)=∏α∈S(X−α). Then S is the support of a codeword in Γ2(L,G) if and only if G(X)2∣F′(X). The codeword has weight ∣S∣=degF(X).
Proof. By (4), the binary vector with support S belongs to Γ2(L,G) if and only if
F(X)F′(X)≡0(modG(X)).
Since gcd(F(X),G(X))=1, this is equivalent to G(X)∣F′(X). As F′(X) is a square polynomial over F2m and G(X) is squarefree, G(X)∣F′(X) if and only if G(X)2∣F′(X).
Since F(X) is squarefree, F′(X)=0. Proposition 3.1 gives 2r≤degF′(X)≤degF(X)−1 for every nonzero codeword. Hence d(Γ2(L,G))≥2r+1. The proposition also gives a bijection between nonzero codewords and monic divisors F(X) of ∏α∈L(X−α) satisfying G(X)2∣F′(X).
Theorem 3.1 The minimum distance of Γ2(L,G) is 2r+1 if and only if there exist pairwise distinct elements αi1,…,αi2r+1∈L such that
where F(X)=∏ℓ=12r+1(X−αiℓ). Equivalently, there exists a monic polynomial F(X)∈F2m[X] of degree 2r+1 with distinct roots in L such that F′(X)=G(X)2.
Proof. Suppose that d(Γ2(L,G))=2r+1, and let F(X) be the monic locator polynomial of a codeword of weight 2r+1. By Proposition 3.1, G(X)2∣F′(X). Since F(X) is monic and squarefree of degree 2r+1, its derivative is monic of degree 2r. Hence F′(X)=G(X)2, which implies (7).
Conversely, suppose that (7) holds. Let λ=G(αi2r+1)2/F′(αi2r+1). Then G(αij)2=λF′(αij) for all 1≤j≤2r+1. Since G(X)2−λF′(X) has degree at most 2r and vanishes at 2r+1 distinct points, G(X)2=λF′(X). Comparing leading coefficients gives λ=1. Proposition 3.1 now yields d(Γ2(L,G))=2r+1.
Corollary 3.1 The minimum distance of Γ2(L,G) is 2r+1 if and only if there exists u(X)∈F2m[X] with degu(X)≤r such that
XG(X)2+u(X)2∣α∈L∏(X−α).(8)
For the full support L={α∈F2m:G(α)=0}, this condition is equivalent to XG(X)2+u(X)2∣X2m−X.
Proof. Every polynomial F(X) satisfying F′(X)=G(X)2 can be written uniquely as F(X)=XG(X)2+u(X)2. Since G(X) is monic of degree r, the polynomial F(X) is monic of degree 2r+1 if and only if degu(X)≤r.
For the full support, Lemma 2.3 implies that F(X)∣X2m−X if and only if F(X) has distinct roots in F2m. Since F′(X)=G(X)2, the squarefreeness of F(X) implies gcd(F(X),G(X))=1. All roots of F(X) therefore belong to L. Conversely, F(X)∣∏α∈L(X−α) implies F(X)∣X2m−X.
Theorem 3.1 also provides a method for constructing binary Goppa codes attaining the designed distance. Let F(X)∈F2m[X] be monic of degree 2r+1 and split into distinct linear factors over F2m. If F′(X)=G(X)2 for a squarefree polynomial G(X), then d(Γ2(L,G))=2r+1 for every support L containing all roots of F(X).
Remark 3.1 The constructions in [14, Theorems 3.2 and 3.5] and [15, Theorem 3.1] satisfy the locator criterion in Theorem 3.1. In each construction, the selected 2r+1 support elements define a monic locator polynomial F(X) satisfying G(X)∣F′(X). Since G(X) is squarefree, Proposition 3.1 gives G(X)2∣F′(X). Comparing degrees and leading coefficients gives F′(X)=G(X)2.
In [14, Theorem 3.2], G(X)=f(Xt), where t is odd and f(X) is monic and squarefree of degree s. The monic auxiliary polynomial P(X) has degree 2s and satisfies f(X)∣P(X)+XP′(X). Since P(X)+XP′(X) is a square polynomial, it equals f(X)2. Thus F(X)=XP(Xt) satisfies F′(X)=P(Xt)+XtP′(Xt)=G(X)2. This includes G(X)=X2t+Xt+1 and G(X)=X3t+Xt+1 in [14, Propositions 3.3 and 3.4].
In [14, Theorem 3.5], G(X) is the monic normalization of A(X)h(ϕ(X)). Writing Q(Y)=∏j=1N(Y−uj) and denoting the leading coefficient of ϕ(X) by a, the monic locator is F(X)=a−NQ(ϕ(X)). The conditions h(Y)∣Q′(Y) and A(X)∣ϕ′(X) give G(X)∣F′(X). This includes G(X)=X4+cX in [14, Theorem 3.8].
In [15, Theorem 3.1], G(X)=X(2β+1)t+1. For the elements x1,…,x2β+1 specified there, the locator is F(X)=XQ(Xt), where Q(Y)=∏j=12β+1(Y−xjt)(Y−xj−t). The equations satisfied by xj imply G(X)∣F′(X). Comparing degrees and leading coefficients gives F′(X)=G(X)2. This includes the families with G(X)=X3t+1 in [15, Corollaries 4.2, 4.4, and 4.6].
Remark 3.2 Primitive narrow-sense BCH codes are special cases of Goppa codes with G(X)=Xt and L=Fqm∗ [17, Ch. 12, Sec. 3]. Zheng's F2-good zero-sets contain 0, which is excluded from the BCH codeword support [23]. For binary Goppa codes, the root set S of a locator polynomial F(X) is itself the codeword support and may contain 0. When ∣S∣=2r+1, the condition F′(X)=G(X)2 gives a codeword of weight 2r+1, provided G(X)=F′(X) is squarefree. If 0∈/S and F(X)=XG(X)2+u(X)2, then S∪{0} is an F2-good zero-set if and only if u(X) is a nonzero constant. Thus the two criteria are related but not equivalent.
We next characterize the binary Goppa codes with the minimum distance 2r+2.
Theorem 3.2 The minimum distance of Γ2(L,G) is 2r+2 if and only if both of the following conditions hold:
(i) There is no u(X)∈F2m[X] with degu(X)≤r such that XG(X)2+u(X)2∣∏α∈L(X−α).
(ii) There exist a monic divisor F(X) of ∏α∈L(X−α) of degree 2r+2 and λ∈F2m∗ such that F′(X)=λG(X)2.
Condition (ii) is equivalent to the existence of λ∈F2m∗ and a monic polynomial u(X)∈F2m[X] of degree r+1 such that
λXG(X)2+u(X)2∣α∈L∏(X−α).(9)
If every codeword of Γ2(L,G) has even weight, condition (ii) alone is equivalent to d(Γ2(L,G))=2r+2.
Proof. By Corollary 3.1, condition (i) is equivalent to the absence of codewords of weight 2r+1.
Let F(X) be a monic divisor of ∏α∈L(X−α) of degree 2r+2. By Proposition 3.1, F(X) is the locator polynomial of a codeword if and only if G(X)2∣F′(X). Since F(X) is squarefree of even degree, F′(X)=0 and degF′(X)≤2r. Consequently, G(X)2∣F′(X) if and only if F′(X)=λG(X)2 for some λ∈F2m∗. Since d(Γ2(L,G))≥2r+1, conditions (i) and (ii) together are equivalent to d(Γ2(L,G))=2r+2.
The identity F′(X)=λG(X)2 holds if and only if F(X)=λXG(X)2+u(X)2 for a unique polynomial u(X)∈F2m[X]. Since degF(X)=2r+2 and F(X) is monic, u(X) is monic of degree r+1. If every codeword of Γ2(L,G) has even weight, condition (i) holds automatically.
The trace description in Lemma 2.1 characterizes binary Goppa codes whose codewords all have even weight.
Proposition 3.2 Every codeword of Γ2(L,G) has even weight if and only if there exists u(X)∈F2m[X] with degu(X)<r such that
TrF2m/F2(G(α)u(α))=1,α∈L.(10)
Proof. Every codeword of Γ2(L,G) has even weight if and only if 1∈Γ2(L,G)⊥. By Lemma 2.1, this is equivalent to (10).
4 Constructions of Binary Goppa Codes with Minimum Distance 2r+1
By Corollary 3.1, the construction of binary Goppa codes with minimum distance 2r+1 reduces to finding a monic polynomial F(X)∈F2m[X] of degree 2r+1 such that F(X)∣X2m−X and F′(X)=G(X)2, where G(X) is monic and squarefree. We consider root deletion, products of split polynomials, and multiplication by two linear factors. For each Goppa polynomial G(X), let L={α∈F2m:G(α)=0}.
4.1 Constructions from Root Deletion
We first construct Goppa polynomials by deleting roots from completely split polynomials with nonzero constant derivative.
Theorem 4.1 Let m≥1, and let B(X)∈F2m[X] be monic of degree r+1, where r≥1. Let λ∈F2m∗. Suppose that B′(X)=0 and that
H(X)=λX+B(X)2
splits over F2m. For every root α of H(X), define
G(X)=X−αB(X)−B(α).
Then G(X) is monic of degree r. For at least 2r+2−⌊r/2⌋ roots α, the polynomial G(X) is squarefree and d(Γ2(L,G))=2r+1. Distinct roots give distinct Goppa polynomials.
Proof. Since H′(X)=λ=0, the polynomial H(X) has 2r+2 distinct roots in F2m. Fix a root α. Then B(α)2=λα, and
F(X)=X−αH(X)=λ+(X−α)G(X)2.
Thus F(X) is monic of degree 2r+1, splits into distinct linear factors over F2m, and satisfies F′(X)=G(X)2. Since λ=0, we have gcd(F(X),G(X))=1, so all roots of F(X) belong to L. If G(X) is squarefree, Theorem 3.1 gives d(Γ2(L,G))=2r+1.
Suppose that G(X) has a multiple root β in an algebraic closure of F2m. From B(X)−B(α)=(X−α)G(X), we obtain B(β)=B(α) and B′(β)=0. Since H(α)=0, we have
α=λ−1B(β)2.
Hence each root β of B′(X) corresponds to at most one root α for which G(X) is not squarefree. As B′(X) is a nonzero square polynomial of degree at most r, it has at most ⌊r/2⌋ distinct roots. Therefore, at least 2r+2−⌊r/2⌋ deletions give squarefree Goppa polynomials.
It remains to show that these polynomials are distinct. Suppose that two roots α=γ give the same polynomial G(X). Then
B(X)−B(α)=(X−α)G(X),B(X)−B(γ)=(X−γ)G(X),
which implies (α−γ)G(X)=B(α)−B(γ). This contradicts degG(X)=r≥1.
Example 4.1 We give two examples of Theorem 4.1 with odd and even Goppa degrees.
(i) Let m=5, B(X)=X6+X5+X3+X2+X, and λ=1. Then H(X)=X+B(X)2 splits completely over F32. Deleting the root a=0 gives G(X)=X5+X4+X2+X+1. The resulting Goppa code has parameters [27, 2, 11]2.
(ii) Let m=8, B(X)=X7+X4+X+1, and λ=1. Choose ω∈F4 satisfying ω2+ω+1=0. The polynomial H(X)=X+B(X)2 splits completely over F256. Deleting the root a=ω gives G(X)=X6+ωX5+ω2X4+1. The resulting Goppa code has parameters [255, 207, 13]2.
If B′(X) is a nonzero constant, every root deletion is successful. We next consider B(X)=XW(X)2, for which B′(X)=W(X)2 and H(X)=X(XW(X)4+1).
Proposition 4.1 Let m≥1, and let W(X)∈F2m[X] be monic of degree t≥1. Suppose that
P(X)=XW(X)4+1
splits over F2m. For every a∈F2m satisfying P(a2)=0, the polynomial
G(X)=X−a2XW(X)2+a
is monic and squarefree of degree 2t, and d(Γ2(L,G))=4t+1. This construction gives exactly 4t+1 distinct Goppa polynomials.
Proof. Let B(X)=XW(X)2 and H(X)=XP(X)=X+B(X)2. Since H′(X)=1, the polynomial H(X) has 4t+2 distinct roots in F2m. Deleting the root α=0 gives B(X)/X=W(X)2, which is not squarefree.
Let a∈F2m satisfy P(a2)=0. Since P(0)=1, we have a=0. The equality H(a2)=0 gives B(a2)2=a2, so B(a2)=a. Hence
G(X)=X−a2B(X)−B(a2).
Since B(a2)=a, we have G(X)=(XW(X)2+a)/(X−a2). The numerator has derivative W(X)2. Since a=0, we have gcd(XW(X)2+a,W(X)2)=1. Thus the numerator is squarefree, and so is G(X).
Moreover,
F(X)=X−a2H(X)=1+(X−a2)G(X)2
has 4t+1 distinct roots in F2m and satisfies F′(X)=G(X)2. Since gcd(F(X),G(X))=1, all roots of F(X) belong to L. Theorem 3.1 gives d(Γ2(L,G))=4t+1.
Finally, P(X) has 4t+1 distinct roots, and the map a↦a2 is a bijection on F2m. Thus there are exactly 4t+1 admissible values of a. By Theorem 4.1, they give distinct Goppa polynomials.
Example 4.2 Let m=6 and W(X)=X2. Since 9∣26−1, the polynomial P(X)=X9+1 splits over F64. Taking a=1 in Proposition 4.1 gives
G(X)=X+1X5+1=X4+X3+X2+X+1.
The resulting Goppa code has parameters [64,40,9]2.
4.2 Constructions from Products of Split Polynomials
We next construct locator polynomials as products of split polynomials with disjoint root sets. Consider F(X)=(X2h+X+c2)P(X), where P(X) splits over F2h.
Theorem 4.2 Let m≥1 and h≥2 with 2h∣m, and let 1≤s<2h−1. Let P(X)∈F2h[X] be monic and squarefree of degree 2s+1 and split over F2h. Write
P(X)=A(X)2+XB(X)2,
where A(X),B(X)∈F2h[X], and suppose that A′(X) and B′(X) are not both zero. Then at least 2h−s values of c∈F2h∗ give a monic squarefree polynomial
G(X)=A(X)+(X2h−1+c)B(X)
of degree r=2h−1+s such that d(Γ2(L,G))=2r+1=2h+2s+1. Distinct such values of c give distinct Goppa polynomials.
Proof. Since P(X) is monic of degree 2s+1, the polynomial B(X) is monic of degree s, and degA(X)≤s. Moreover, P′(X)=B(X)2 and P(X) is squarefree, so gcd(A(X),B(X))=1.
For c∈F2h∗, let
F(X)=(X2h+X+c2)P(X).
The relative trace map x↦x2h+x from F22h onto F2h has kernel F2h. Hence X2h+X+c2 has 2h distinct roots in F22h, none of which lies in F2h. Since P(X) is squarefree and splits over F2h, the polynomial F(X) is monic and squarefree of degree 2h+2s+1 and splits over F2m. We have
We next determine the values of c for which G(X) is squarefree. Let
D(X)=A′(X)B(X)+A(X)B′(X).
If D(X)=0, then gcd(A(X),B(X))=1 implies B(X)∣B′(X). Hence B′(X)=0, and consequently A′(X)=0, contrary to the assumption. Thus D(X)=0. Since D′(X)=0 and degD(X)≤2s−1, the polynomial D(X) is a nonzero square and has at most s−1 distinct roots.
Suppose that G(X) has a multiple root β in an algebraic closure of F2m. Since gcd(A(X),B(X))=1, we have B(β)=0. The equations G(β)=G′(β)=0 give
D(β)=0,c=B(β)A(β)+β2h−1.
Thus each root of D(X) determines at most one value of c for which G(X) has a multiple root. At most s - 1 of the 2h−1 nonzero values of c are unsuccessful. Therefore, at least 2h−s values give squarefree Goppa polynomials.
For each such value, F(X) is squarefree and F′(X)=G(X)2, so F(X) and G(X) are coprime. Every root of F(X) therefore belongs to L. Theorem 3.1 gives d(Γ2(L,G))=2h+2s+1. Since B(X)=0, distinct values of c give distinct Goppa polynomials.
The assumption on A′(X) and B′(X) holds automatically when s is odd, since B′(X)=0. It cannot be omitted in general. For example, over F16, take P(X)=X5+1=1+X(X2)2. Then G(X)=X10+cX2+1 satisfies G′(X)=0 for every c∈F16∗.
Corollary 4.1 Let m≥1 and h≥2 with 2h∣m. For every integer r satisfying 2h−1<r<2h, there exist at least 3⋅2h−1−r distinct monic squarefree polynomials G(X)∈F2h[X] of degree r such that d(Γ2(L,G))=2r+1.
Proof. Let s=r−2h−1, so 1≤s<2h−1. Choose S⊆F2h with ∣S∣=2s+1, and write
P(X)=α∈S∏(X−α)=A(X)2+XB(X)2.
Then P(X) is monic and squarefree and splits over F2h. The polynomial B(X) is monic of degree s, and gcd(A(X),B(X))=1.
We show that S can be chosen so that B′(X)=0. If s is odd, this follows from degB(X)=s. Suppose that s is even. We may choose S so that the coefficient of X2s−1 in P(X) is nonzero. Indeed, if this coefficient is zero, at most one α∈S satisfies
γ∈S\{α}∑γ=0.
Choose α∈S for which this sum is nonzero. Since 2s+1<2h, there exists β∈F2h∖S. Replacing α by β changes the coefficient of X2s−1 by
(α+β)γ∈S\{α}∑γ=0.
For the resulting polynomial P(X), the coefficient of Xs−1 in B(X) is nonzero. Since s−1 is odd, we have B′(X)=0.
By Theorem 4.2, the constructed P(X) gives at least 2h−s=3⋅2h−1−r distinct monic squarefree Goppa polynomials of degree r, each defining a binary Goppa code with minimum distance 2r+1.
For every integer r≥3 that is not a power of two, taking h=⌈log2r⌉ gives 2h−1<r<2h. Corollary 4.1 therefore applies whenever 2h∣m.
4.3 Constructions by Adjoining Two Roots
We finally construct new locator polynomials by adjoining two roots. Let F(X) have 2r+1 distinct roots in F2m, and consider
F(X)=(X+ξ2)(X+η2)F(X),
where ξ2 and η2 are distinct and lie outside the root set of F(X).
Theorem 4.3 Let m≥1 and r≥1, and let F(X)∈F2m[X] be monic of degree 2r+1 such that F(X)∣X2m−X. Write
F(X)=XG(X)2+u(X)2,
where G(X) is monic of degree r and degu(X)≤r. The polynomial G(X) need not be squarefree. If 2m≥3r+3, then there exists ξ∈F2m with F(ξ2)=0 such that at least 2m−3r−2 values of η∈F2m satisfying η=ξ and F(η2)=0 give distinct monic squarefree polynomials
G(X)=(X+ξη)G(X)+(ξ+η)u(X)(11)
of degree r+1. For each such polynomial, let L={α∈F2m:G(α)=0}. Then d(Γ2(L,G))=2r+3.
Proof. Since F(X)∣X2m−X, the polynomial F(X) has 2r+1 distinct roots in F2m. Also, F′(X)=G(X)2 and F(X) is squarefree, so gcd(G(X),u(X))=1.
We first choose ξ such that F(ξ2)=0 and ξ differs from the coefficient of Xr in u(X). Since x↦x2 is a bijection on F2m, there are exactly 2m−2r−1 values of ξ satisfying F(ξ2)=0. The assumption 2m≥3r+3 ensures that such a choice is possible.
Let
A(X)=XG(X)+ξu(X),B(X)=ξG(X)+u(X).
Then A(X) is monic of degree r+1, while B(X) has degree r by the choice of ξ. We show that gcd(A(X),B(X))=1. Since gcd(G(X),u(X))=1, we have gcd(G(X),B(X))=1. Moreover,
A(X)+ξB(X)=(X+ξ2)G(X).
Thus every common root of A(X) and B(X) must equal ξ2. But B(ξ2)2=F(ξ2)=0, so A(X) and B(X) are relatively prime.
We next determine the values of η for which G(X)=A(X)+ηB(X) is squarefree. Define
D(X)=A′(X)B(X)+A(X)B′(X).
The coefficient of X2r in D(X) equals the leading coefficient of B(X), which is nonzero. Hence degD(X)=2r. Since D′(X)=0, the polynomial D(X) is a nonzero square and has at most r distinct roots.
Suppose that G(X) has a multiple root β in an algebraic closure of F2m. Since gcd(A(X),B(X))=1, we have B(β)=0. From G(β)=G′(β)=0, we obtain
D(β)=0,η=B(β)A(β).
Thus each root of D(X) determines at most one value of η for which G(X) has a multiple root. Among the 2m−2r−2 values satisfying η=ξ and F(η2)=0, at most r are unsuccessful. Therefore, at least 2m−3r−2 values give squarefree polynomials. Each G(X) is monic of degree r+1, and distinct values of η give distinct polynomials since B(X)=0.
For each such η, let
F(X)=(X+ξ2)(X+η2)F(X).
The conditions on ξ and η imply that F(X)∣X2m−X and degF(X)=2r+3. Moreover,
Since F(X) is squarefree, gcd(F(X),G(X))=1. Hence all roots of F(X) belong to L, and Theorem 3.1 gives d(Γ2(L,G))=2r+3.
Remark 4.1 Since F(X)∣X2m−X and degF(X)=2(r+1)+1, the construction can be repeated whenever 2m≥3r+6. This gives squarefree Goppa polynomials of every degree from r+1 to ⌊2m/3⌋ over F2m, with nested root sets of their locator polynomials.
Corollary 4.2 Let m≥1 and 2≤r≤⌊2m/3⌋. There exist at least 2m−3r+1 distinct monic squarefree polynomials G(X)∈F2m[X] of degree r such that, for L={α∈F2m:G(α)=0}, the binary Goppa code Γ2(L,G) has minimum distance 2r+1.
Proof. Choose S⊆F2m with ∣S∣=2r−1, and let F(X)=∏α∈S(X−α). Then F(X) is monic of degree 2r−1 and satisfies F(X)∣X2m−X. Since 2m≥3r, Theorem 4.3, with r−1 in place of r, gives at least 2m−3(r−1)−2=2m−3r+1 distinct monic squarefree Goppa polynomials of degree r, each defining a binary Goppa code with minimum distance 2r+1.
Example 4.3 Let θ∈F64 be a primitive element satisfying θ6+θ+1=0. Let
F(X)=(X7+1)(X2+X+1),G(X)=X4+X3+1,u(X)=X4+X+1.
Then F(X)=XG(X)2+u(X)2 and F(X)∣X64−X. The code Γ2(F64,G) has parameters [64, 40, 9]2. Let ξ=θ and η=θ+1. We have ξ=η and F(ξ2)F(η2)=0. Equation (11) gives
We have gcd(G(X),G′(X))=1, and the only root of G(X) in F64 is θ46. Let L=F64∖{θ46}. The code Γ2(L,G) has parameters [63, 33, 11] 2.
We next apply the construction to the polynomials P(X)=XW(X)4+1 in Proposition 4.1.
Corollary 4.3 Let m≥1, and let W(X)∈F2m[X] be monic of degree t≥1. Suppose that P(X)=XW(X)4+1 is squarefree and splits over F2m. For every η∈F2m∗ satisfying P(η2)=0, let
G(X)=XW(X)2+η
and L={α∈F2m:G(α)=0}. Then G(X) is monic and squarefree of degree 2t+1, and d(Γ2(L,G))=4t+3. This construction gives exactly 2m−4t−2 distinct Goppa polynomials.
Proof. Since P′(X)=W(X)4 and gcd(P(X),W(X))=1, the polynomial P(X) is square-free. Let
F(X)=X(X+η2)P(X).
Since P(0)=1, η=0, and P(η2)=0, the polynomial F(X) is monic of degree 4t+3, is squarefree, and splits over F2m. Hence F(X)∣X2m−X. Moreover,
F′(X)=η2P(X)+X(X+η2)W(X)4=X2W(X)4+η2=G(X)2.
Since G′(X)=W(X)2 and G(X)=η=0 at every root of W(X), we have gcd(G(X),G′(X))=1. Thus G(X) is squarefree. Also, gcd(F(X),G(X))=1, so all roots of F(X) belong to L. Theorem 3.1 gives d(Γ2(L,G))=4t+3.
Finally, P(X) has 4t+1 distinct roots in F2m. Since x↦x2 is a bijection on F2m, exactly 4t+1 nonzero values of η satisfy P(η2)=0. Therefore, exactly 2m−4t−2 values of η∈F2m∗ satisfy P(η2)=0, and they give distinct Goppa polynomials.
5 Explicit Infinite Families of Binary Goppa Codes with Minimum Distance 2r+1
In this section, we apply the constructions in Section 4 to obtain explicit infinite families of binary Goppa codes with minimum distance 2r+1. Throughout this section, let L={α∈F2m:G(α)=0} for each Goppa polynomial G(X).
5.1 Families from Root Deletion
We first apply Theorem 4.1 to subspace polynomials.
Proposition 5.1 Let 2≤s≤m, and let V be an s-dimensional F2-subspace of F2m. Write
H(X)=v∈V∏(X−v)=j=0∑scjX2j.
If c1=0, then
G(X)=j=1∑scj1/2X2j−1−1
is monic and squarefree of degree 2s−1−1, and d(Γ2(L,G))=2s−1.
Proof. By Lemma 2.4, the polynomial H(X) has 2s distinct roots in F2m and satisfies H′(X)=c0=0. Let
B(X)=j=1∑scj1/2X2j−1.
Then H(X)=c0X+B(X)2 and B′(X)=c11/2=0. Since B′(X) is a nonzero constant, every root of H(X) can be deleted by Theorem 4.1. Deleting the root 0 yields G(X)=B(X)/X, which is monic and squarefree of degree 2s−1−1. Theorem 4.1 also gives d(Γ2(L,G))=2s−1.
Applying Proposition 5.1 to absolute and relative trace polynomials gives the following two families.
Proposition 5.2 Let m≥1 and h≥3 with h∣m. Then the polynomial G(X)=∑j=0h−2X2j−1 is monic and squarefree of degree 2h−2−1, and d(Γ2(L,G))=2h−1−1.
Proof. The polynomial H(X)=∑j=0h−1X2j is the trace polynomial of F2h over F2. Its roots form the (h−1)-dimensional F2-subspace {x∈F2h:TrF2h/F2(x)=0}, which is contained in F2m since h∣m. The coefficient of X2 in H(X) is 1. The conclusion follows from Proposition 5.1 with s=h−1.
Proposition 5.3 Let m≥1 and h≥2 with 2h∣m. For every b∈F2h∗, the polynomial G(X)=X2h−1+bX2h−1−1+1 is monic and squarefree of degree 2h−1, and d(Γ2(L,G))=2h+1−1.
Proof. The relative trace map x↦x2h+x from F22h onto F2h has kernel F2h. Since b=0, the polynomial
H(X)=(X2h+X)(X2h+X+b2)
Table 2: Short binary Goppa codes from subspace and trace polynomials
m
s
G(X)
Parameters
Reference
4
—
X3+X+1
[16,4,7]2
Prop. 5.2
6
3
X3+θ23X+θ17
[64,46,7]2
Prop. 5.1
6
4
X7+θ13X3+θ61X+θ31
[63,21,15]2
Prop. 5.1
8
3
X3+θ15X+θ197
[253,229,7]2
Prop. 5.1
8
4
X7+θ118X3+θ44X+θ51
[255,199,15]2
Prop. 5.1
8
5
X15+θ242X7+θ182X3+θ13X+θ212
[255,135,31]2
Prop. 5.1
6
—
X7+X3+1
[64,22,15]2
Prop. 5.3
has 2h+1 distinct roots in F22h. Moreover,
H(X)=X2h+1+b2X2h+X2+b2X.
Thus H(X) is the subspace polynomial of an (h+1)-dimensional F2-subspace of F2m. Its coefficient of X2 is 1, so Proposition 5.1 applies with s=h+1.
Example 5.1 Let m=8, h=4, and let ω∈F4 satisfy ω2+ω+1=0. In Proposition 5.3, choose b=ω. Deleting the root 0 gives G0(X)=X15+ωX7+1. Since H(X+1)=H(X), deleting the root 1 gives
G(X)=G0(X+1)=j=8∑15Xj+ω2j=1∑7Xj+ω.
The binary Goppa code Γ2(L,G) has parameters [256,136,31]2.
Example 5.2 Table 2 gives short codes from Propositions 5.1–5.3. For m=6 and m=8, let F2m=F2(θ), where θ satisfies θ6+θ+1=0 and θ8+θ4+θ3+θ2+1=0, respectively. For the subspace constructions, choose V=⟨1,θ,…,θs−1⟩F2. The absolute and relative trace constructions use h=4 and (h,b)=(3,1), respectively.
We next apply Proposition 4.1 to three polynomials of the form P(X)=XW(X)4+1. The splitting results for cases (ii) and (iii) follow from Zheng [23, proof of Theorem 9].
Proposition 5.4 Let m≥1 and h≥2. Consider the following polynomials W(X) and conditions on m:
(i) W(X)=X2h−2+1, where 3h∣m;
(ii) W(X)=X22h−2+X22h−2−2h−2, where 5h∣m;
(iii) W(X)=X23h−2+X23h−2−2h−2+X23h−2−22h−2, where 8h∣m.
For every root a∈F2m of XW(X)4+1, the polynomial
G(X)=X−a2XW(X)2+a
is monic and squarefree of degree 2deg W, and d(Γ2(L,G))=4degW+1. In each case, there are exactly 4deg W + 1 distinct Goppa polynomials.
Proof. Let P(X)=XW(X)4+1. In case (i), we have P(X)=X2h+1+X+1. If β is a root of P(X), then β∈/{0,1} and β2h=(β+1)/β. Raising this identity successively to the 2h-th power gives
β22h=β+11,β23h=β.
Thus every root of P(X) lies in F23h, so P(X) splits over F23h.
In cases (ii) and (iii), Zheng [23, proof of Theorem 9] proved that P(X) splits over F25h and F28h, respectively. Hence P(X) splits over F2m in all three cases. Since W(X)∈F2[X], every root a of P(X) satisfies P(a2)=P(a)2=0. Proposition 4.1 therefore applies and gives the minimum distances and exact counts.
Example 5.3 Let ω∈F4 satisfy ω2+ω+1=0. We give one example for each family in Proposition 5.4.
(i) Let h=2, m=6, and a=ω. Then G(X)=X2+ω2X+ω2 has no roots in F64. The binary Goppa code Γ2(F64,G) has parameters [64, 52, 5]2.
(ii) Let h=2, m=10, and a=ω. Then G(X)=X8+ω2X7+ω2X6+ωX5+X4+ω2X3+ωX2+X+ω2. The polynomial G(X) has no roots in F1024. The binary Goppa code Γ2(F1024,G) has parameters [1024, 944, 17]2.
(iii) Let h=2, m=16, and a=1. Then G(X)=X32+X31+∑j=024Xj has exactly two roots ω and ω2 in F216. The binary Goppa code Γ2(L,G), where L=F216∖{ω,ω2}, has parameters [65534, 65022, 65]2.
5.2 Families from Split Polynomials
We first apply Theorem 4.2 to a polynomial of degree five.
Proposition 5.5 Let h≥3 and 2h∣m. Choose z∈F2h such that b=z2+z∈/{0,1}. Then
G(X)=X2h−1+2+(1+b)X2h−1+1+b2X2h−1+1+bbX2+1+bb4
is monic and squarefree of degree 2h−1+2, and d(Γ2(L,G))=2h+5.
Table 3: Binary Goppa codes from split polynomials with odd degree over F64
degG(X)
G(X)
Parameters
5
X5+ζX4+ζX+ζ
[63,33,11]2
6
X6+(ζ2+ζ+1)X5+ζX4+(ζ2+1)X2+ζ2+ζ
[64,28,13]2
7
X7+ζX6+ζ2X5+ζ3X4+ζ5X3+ζ6X2+X+ζ3
[64,22,15]2
Proof. Since b=z2+z∈/{0,1}, the elements 0,1,z2,z2+1,b2 are distinct. Thus
P(X)=X(X+1)(X+z2)(X+z2+1)(X+b2)
is monic and squarefree of degree five and splits over F2h. Direct calculation gives P(X)=A(X)2+XB(X)2, where
A(X)=bX2+b2X,B(X)=X2+(1+b)X+b2.
Since B′(X)=1+b=0, the conditions of Theorem 4.2 hold.
Choose c=b2/(1+b). Then A(X)+(X2h−1+c)B(X) equals the stated polynomial G(X). Moreover,
G′(X)=(1+b)X2h−1,G(0)=1+bb4=0.
Hence gcd(G(X),G′(X))=1, so G(X) is squarefree.
Let F(X)=(X2h+X+c2)P(X). Since c=0, the polynomial F(X) is squarefree and splits over F2m. By the identity in the proof of Theorem 4.2, we have F′(X)=G(X)2. Therefore, Theorem 3.1 gives d(Γ2(L,G))=2h+5.
Example 5.4 Table 3 gives examples of Corollary 4.1 for h=3 and m=6. Let ζ∈F8 satisfy ζ3+ζ+1=0, where ζ3+ζ+1=0. For Goppa degrees 5, 6, 7, choose the root sets of P(X) to be {0,1,ζ2}, {0,1,ζ,ζ2,ζ6}, and F8∖{ζ}, respectively, with c=1,ζ3,1.
We next construct a family of four-term Goppa polynomials using a polynomial with six distinct roots over F16.
Proposition 5.6 Let m≥1, and let v≥1 be odd with 15v∣2m−1. Choose ω∈F4 satisfying ω2+ω+1=0. For each c∈{ω,ω2}, the polynomial
G(X)=X3v+cX2v+cXv+1
is monic and squarefree of degree 3v, and d(Γ2(L,G))=6v+1.
Proof. Since c2+c+1=0, the polynomial R(X)=(X2+X+1)3+c2X2(X+1)2 factors as
R(X)=(X2+X+c2)(X2+cX+c)(X2+cX+1).(12)
Table 4: Parameters of binary Goppa codes with G(X)=X3v+ωX2v+ωXv+1
m
v
G(X)
Parameters
4
1
X3+ωX2+ωX+1
[13,2,7]2
8
17
X51+ωX34+ωX17+1
[205,2,103]2
8
1
X3+ωX2+ωX+1
[253,229,7]2
Each quadratic factor splits over F16. Moreover,
R′(X)=(X2+X+1)2,R(X)≡c2(modX2+X+1).
Hence R(X) is squarefree and has six distinct nonzero roots in F16.
Since 15v∣2m−1, every element of F16∗ has exactly v distinct v-th roots in F2m. Thus
F(X)=XR(Xv)(13)
is monic and squarefree of degree 6v+1 and splits over F2m. As v is odd,
F′(X)=R(Xv)+XvR′(Xv)=(X3v+cX2v+cXv+1)2=G(X)2.
We next show that G(X) is squarefree. Since G(0)=1 and G′(X)=Xv−1(X2v+c), any common root β of G(X) and G′(X) must satisfy β=0 and β2v=c. But then G(β)=c2+1=0, a contradiction. Therefore gcd(G(X),G′(X))=1.
Since F(X) is squarefree and F′(X)=G(X)2, we have gcd(F(X),G(X))=1. All roots of F(X) therefore belong to L, and Theorem 3.1 gives d(Γ2(L,G))=6v+1.
Proposition 5.6 is also an instance of [14, Theorem 3.2], with f(X)=X3+cX2+cX+1, t=v, and the auxiliary polynomial R(X) in (12). The factorization gives an explicit splitting condition 15v∣2m−1.
Example 5.5 Table 4 gives examples for Proposition 5.6 with c=ω, where ω2+ω+1=0.
5.3 Families from Adjoining Roots
Applying Corollary 4.3 to the polynomials in Proposition 5.4 gives three further families with Goppa degrees increased by one.
Proposition 5.7 Let m≥1, h≥2, and η∈F2m∗. Consider the following polynomials:
(i) If 3h∣m, let
G(X)=X2h−1+1+X+η.
(ii) If 5h∣m, let
G(X)=X22h−1+1+X22h−1−2h−1+1+η.
(iii) If 8h∣m, let
G(X)=X23h−1+1+X23h−1−2h−1+1+X23h−1−22h−1+1+η.
If G(η2)=0, then G(X) is monic and squarefree, and d(Γ2(L,G))=2r+1, where r=degG(X). In each case, exactly 2m−2r values of η satisfy this condition, giving distinct Goppa polynomials.
Proof. In each case, let W(X) be the corresponding polynomial in Proposition 5.4. Then P(X)=XW(X)4+1 splits over F2m and G(X)=XW(X)2+η. Moreover,
G(η2)2=η2P(η2).
Since η=0, the condition G(η2)=0 is equivalent to P(η2)=0. By Corollary 4.3, the polynomial G(X) is squarefree and d(Γ2(L,G))=2r+1. The number of admissible values of η is 2m−4degW−2=2m−2r. Distinct values give distinct polynomials G(X).
Example 5.6 We give three examples of Proposition 5.7.
(i) Let h=3, m=9, and η=1. Then G(X)=X5+X+1, and the binary Goppa code Γ2(L,G) has parameters [509, 464, 11]2.
(ii) Let h=2, m=10, and η=1. Then G(X)=X9+X7+1, and Γ2(L,G) has parameters [1019, 929, 19]2.
(iii) Let h=2, m=16, and choose ω∈F4 satisfying ω2+ω+1=0. For η=ω, the polynomial G(X)=X33+X31+X25+ω has no roots in F216. Hence Γ2(F216,G) has parameters [65536, 65008, 67]2.
Finally, we give successive applications of Theorem 4.3 over a fixed finite field.
Example 5.7 Let θ∈F32 satisfy θ5+θ2+1=0. Set F1(X)=X(X+1)(X+θ) and G1(X)=X+θ16, so that F1′(X)=G1(X)2. Starting from F1(X), we apply Theorem 4.3 four times, using the resulting locator polynomial at each step to construct the next. Table 5 lists the additional roots, Goppa polynomials, and code parameters. At every step, the locator polynomial satisfies F(X)∣X32−X and F′(X)=G(X)2, with G(X) squarefree.
Table 5: Binary Goppa codes over F32 from successive two-root extensions
degG(X)
New roots of F(X)
G(X)
Parameters
1
—
X+θ16
[31,26,3]2
2
θ2,θ5
X2+θ11X+θ4
[32,22,5]2
3
θ6,θ27
X3+θ24X2+θ17X+θ5
[31,16,7]2
4
θ4,θ10
X4+θ4X3+θ27X2+θ10X+θ12
[30,10,9]2
5
θ7,θ22
X5+θ25X4+θ15X3+θ14X2+θ8X+θ11
[31,6,11]2
6 Goppa Codes from Split Auxiliary Polynomials
Dong et al. [8] studied Goppa polynomials of the form
G(X)=U(X)H(X)+V(X)H′(X),(14)
where U(X),V(X)∈Fqm[X] and H(X)∈Fq[X] is monic and irreducible of degree degG(X)+1, with all its roots in the support L. We show that the irreducibility assumption can be replaced by requiring H(X) to have distinct roots in L. We then construct an explicit family of q-ary Goppa codes attaining the Goppa bound.
Theorem 6.1 Let Γq(L,G) be a q-ary Goppa code with degG(X)=r≥1. Suppose that H(X)∈Fqm[X] is monic of degree r+1, has distinct roots αi1,…,αir+1∈L, and satisfies (14) for some U(X),V(X)∈Fqm[X]. Then Γq(L,G) contains a codeword with support {i1,…,ir+1} if and only if
V(αir+1)V(αij)∈Fq∗,1≤j≤r.(15)
In this case, d(Γq(L,G))=r+1.
Proof. Since H(X) has distinct roots in L, we have H′(αij)=0 and G(αij)=0. Equation (14) gives
V(αij)=H′(αij)G(αij)=0,1≤j≤r+1.
The parity-check matrix restricted to these r+1 positions has rank r over Fqm. By Lemma 2.2, its unique null vector normalized by cir+1=1 has coordinates
cij=V(αir+1)V(αij),1≤j≤r.
Thus a q-ary codeword with the prescribed support exists precisely when (15) holds. The Goppa bound d(Γq(L,G))≥r+1 then gives equality.
For a fixed monic squarefree polynomial H(X) of degree r+1, the representation (14) exists for every polynomial G(X) of degree at most r. Indeed, since gcd(H(X),H′(X))=1, there is a unique polynomial V(X) of degree at most r satisfying V(X)H′(X)≡G(X)(modH(X)). The polynomial U(X)=(G(X)−V(X)H′(X))/H(X) then satisfies (14). Thus the condition in (15) determines whether the roots of H(X) support a codeword.
For binary Goppa codes with squarefree G(X), we use Γ2(L,G)=Γ2(L,G2) and consider
G(X)2=U(X)H(X)+V(X)H′(X),(16)
where U(X),V(X),H(X)∈F2m[X].
Corollary 6.1 Let Γ2(L,G) be a binary Goppa code, where G(X) is monic and squarefree of degree r≥1 and satisfies (16). Suppose that H(X) is monic of degree 2r+1 with distinct roots αi1,…,αi2r+1∈L. Then Γ2(L,G) contains a codeword with support {i1,…,i2r+1} if and only if
V(αi2r+1)V(αij)=1,1≤j≤2r.(17)
Equivalently, H′(X)=G(X)2. In this case, d(Γ2(L,G))=2r+1.
Proof. Applying Theorem 6.1 to Γ2(L,G2)=Γ2(L,G) gives (17), since F2∗={1}. By Proposition 3.1, the prescribed support defines a codeword if and only if G(X)2∣H′(X). Since both polynomials are monic of degree 2r, this is equivalent to H′(X)=G(X)2.
Corollary 6.1 recovers Theorem 3.1 in the auxiliary-polynomial form. When H′(X)=G(X)2, the representation with degV(X)<degH(X) has V(X)=1 and U(X)=0. For q>2, the values of V(X) at the roots of H(X) need only belong to a common coset of Fq∗.
We next use the norm map to construct an explicit family satisfying (15).
Proposition 6.1 Let q≥4 be a prime power, m≥2, and r=q−1qm−1. Choose a∈Fqm∗ with η=ar=1, and let ρ∈Fq∖{0,1}. Define
Then G(X) is monic and squarefree of degree r, and H(X) is monic and squarefree of degree r+1. Moreover, (14) holds for some U(X)∈Fqm[X]. For L={α∈Fqm:G(α)=0}, we have d(Γq(L,G))=r+1 and ∣L∣≥qm−q+3. This construction gives exactly (q−2)2r distinct Goppa polynomials.
Proof. The map a↦ar is the norm map from Fqm∗ onto Fq∗, with exactly r preimages of each nonzero element. Since η=1, the roots of H(X) are a and the r elements β∈Fqm∗ satisfying βr=1. Since ar=1, the r+1 roots of H(X) are distinct.
Table 6: Examples from Proposition 6.1
q
ρ
G(X)
Parameters
4
α5
X5+α11X4+α5
[16,6,6]4
5
2
X6+αX5+3
[24,12,7]5
5
4
X6+3αX5+1
[25,13,7]5
7
2
X8+αX7+5
[49,33,9]7
We first show that G(X) is squarefree. Since r=1+q+⋯+qm−1, differentiation gives G′(X)=Xr−1. As G(0)=−ρ=0, we have gcd(G(X),G′(X))=1.
Next, (18) gives
V(a)=ρ,V(β)=1−ρforβr=1.
Direct calculation also gives
H′(a)G(a)=ρ,H′(β)G(β)=1−ρforβr=1.
Hence G(X)−V(X)H′(X) vanishes at every root of H(X). Since H(X) is squarefree, it divides G(X)−V(X)H′(X), so (14) holds with U(X)=(G(X)−V(X)H′(X))/H(X). Both ρ and 1−ρ belong to Fq∗. Therefore, Theorem 6.1 gives d(Γq(L,G))=r+1.
We next bound the number of roots of G(X) in Fqm. Suppose that G(β)=0. Since G(0)=0, we have β=0, and
β(βr−ρ)=(1−ρ)aβr.(19)
Now βr∈Fq∗. Equation (19) implies βr=ρ. If βr=1, then β=a, contradicting ar=1. Thus βr has at most q−3 possible values. For each such value, (19) determines β uniquely. Hence G(X) has at most q−3 roots in Fqm, giving ∣L∣≥qm−q+3.
Finally, there are (q−2)r choices of a with ar=1 and q−2 choices of ρ. The constant coefficient of G(X) determines ρ, and its coefficient of Xr−1 then determines a. Thus all (q−2)2r Goppa polynomials are distinct.
Example 6.1 Table 6 gives examples of Proposition 6.1 with m=2 and a=α. For q=4,5,7, choose α satisfying α4+α+1=0 over F16, α2+α+2=0 over F25, and α2+α+3=0 over F49, respectively. In each case, L={β∈Fq2:G(β)=0}.
7 Binary Goppa Codes with Minimum Distance 2r+2
In this section, we construct binary Goppa codes with minimum distance 2r+2, where r=degG(X). By Theorem 3.2, it suffices to find an even-weight Goppa code and a monic polynomial F(X) of degree 2r+2 with distinct roots in its support such that F′(X)=λG(X)2 for some λ∈F2m∗.
Let G(X)∈F2m[X] be monic and squarefree of degree r≥1 with G(0)=0. For τ∈F2m∗, define
L={α∈F2m∗:G(α)=0,TrF2m/F2(ατ)=1}.(20)
The polynomial u(X)=τG(X)/X has degree r−1 and satisfies TrF2m/F2(u(α)/G(α))=1 for all α∈L. By Proposition 3.2, every codeword of Γ2(L,G) has even weight. Hence d(Γ2(L,G))≥2r+2 whenever the code is nonzero. The same holds for any subset of L.
The following lemma provides the roots needed for our construction.
Lemma 7.1 Let h≥1 and 2h∣m. The polynomial T(X)=X2h+X2h−1+1 has 2h distinct roots in F22h, each satisfying α−2h+α−1=1. Let τ∈F2m∗ satisfy γ=TrF2m/F22h(τ)∈F2h. Then, for every α∈F22h∗,
TrF2m/F2(ατ)=TrF2h/F2(γ(α−2h+α−1)).
Proof. The relative trace map y↦y2h+y from F22h onto F2h has kernel F2h. Hence y2h+y=1 has 2h distinct nonzero solutions. Substituting y=α−1 gives
α−2h+α−1=1,
which is equivalent to T(α)=0.
For α∈F22h∗, the transitivity of the trace map gives
We now construct a locator polynomial F(X)=T(X)Q(X), where Q(X) has four distinct roots satisfying α−2h+α−1=c=1.
Proposition 7.1 Let h≥3 and 2h∣m, and put r=2h−1+1. Choose c,e∈F2h such that c∈/{0,1}, c2+c+1=0, e2+(c+1)e+1=0, and TrF2h/F2(e/c2)=1. Let θ∈F2h satisfy θ2(c2+c+1)=1, and define
G(X)=Xr+Xr−1+θXr−2+(θ+1)X.(21)
Choose τ∈F2m∗ such that γ=TrF2m/F22h(τ)∈F2h and
TrF2h/F2(γ)=TrF2h/F2(γc)=1.
Then G(X) is monic and squarefree of degree r, and the support in (20) gives d(Γ2(L,G))=2r+2=2h+4.
Proof. We first show that G(X) is squarefree. Since c∈/{0,1} and θ2(c2+c+1)=1, we have θ=1. Direct calculation gives
G(X)+XG′(X)=Xr−1,G′(0)=θ+1=0.
Thus G(X) and G′(X) have no common root. Since G(0)=0, the support in (20) ensures that every codeword has even weight.
Next, let F(X)=T(X)Q(X), where
Q(X)=X4+c(c+1)X3+(c2+c+1)X2+1.
The equation e2+(c+1)e+1=0 gives
Y4Q(1/Y)=(Y2+cY+e)(Y2+cY+e+c+1).
By assumption,
TrF2h/F2(c2e)=TrF2h/F2(c2e+c+1)=1,
where the second equality follows from TrF2h/F2(1/c+1/c2)=0. By Lemma 2.5, both quadratic factors are irreducible over F2h and split over F22h. Their roots satisfy y2h+y=c. Since their constant terms differ by c+1=0, the factors have no common root.
Consequently, Q(X) has four distinct roots α∈F22h satisfying α−2h+α−1=c. By Lemma 7.1 and c=1, the polynomials T(X) and Q(X) have no common root. Thus F(X) has 2r+2 distinct roots in F22h.
Since F(X) is squarefree, we have gcd(F(X),G(X))=1.
We next verify that all roots of F(X) belong to L. For each such root α, we have α−2h+α−1∈{1,c}. By Lemma 7.1 and the conditions on γ,
TrF2m/F2(ατ)=TrF2h/F2(γ(α−2h+α−1))=1.
Hence all roots of F(X) lie in L, and Theorem 3.2 gives d(Γ2(L,G))=2r+2.
Since c∈/F2, the two trace conditions on γ are independent and have 2h−2 solutions in F2h. Each solution has 2m−2h preimages under TrF2m/F22h. Thus the required τ exists whenever c and e satisfy the assumptions of Proposition 7.1. We give two explicit families.
Proposition 7.2 Let h≥3 and 2h∣m, and put r=2h−1+1. Choose θ and τ∈F2m∗ as follows:
(i) Let h≡3(mod6), let θ∈F8 satisfy θ3+θ+1=0, and let TrF2m/F22h(τ)=θ6.
Table 7: Parameters of binary Goppa codes with minimum distance 2r+2
m
τ
G(X)
Parameters
6
θ6
X5+X4+θX3+(θ+1)X
[32,6,12]2
8
θ3
X9+X8+θX7+(θ+1)X
[128,56,20]2
8
θ
X9+X8+θX7+(θ+1)X
[128,58,20]2
(ii) Let h≡4(mod8), let θ∈F16 satisfy θ4+θ3+1=0, and let TrF2m/F22h(τ)=θ3.
Then G(X) in (21) is monic and squarefree of degree r, and the support in (20) gives d(Γ2(L,G))=2r+2=2h+4.
Proof. In (i), let c=θ, e=θ2, and γ=θ6. Since θ3+θ+1=0, we have
c2+c+1=θ5,θ2(c2+c+1)=1,
together with e2+(c+1)e+1=0 and e/c2=1. Moreover, γc=1 and
TrF8/F2(1)=TrF8/F2(θ6)=1.
Since h/3 is odd, the transitivity of the trace map shows that all three trace conditions in Proposition 7.1 are satisfied.
In (ii), let c=θ3, e=θ7, and γ=θ3. The equation θ4+θ3+1=0 gives
c2+c+1=θ13,θ2(c2+c+1)=1,
and e2+(c+1)e+1=0, e/c2=θ. Also, γc=θ6, and
TrF16/F2(θ)=TrF16/F2(θ3)=TrF16/F2(θ6)=1.
Since h/4 is odd, the required trace conditions follow by transitivity. Proposition 7.1 applies in both cases.
Remark 7.1 Further constructions are possible by deleting roots of T(X). Let Q(X) be a monic divisor of T(X), and let F(X)=T(X)/Q(X). If degF(X)=2r+2 and F′(X)=λG(X)2 for some λ∈F2m∗ and a monic squarefree polynomial G(X) of degree r with G(0)=0, then the roots of F(X) lie in the support (20) whenever TrF2h/F2(γ)=1. Theorem 3.2 then gives d(Γ2(L,G))=2r+2.
Example 7.1 Table 7 gives examples of Proposition 7.1 with h=m/2. For m=6, let θ∈F8 satisfy θ3+θ+1=0 and choose (c,e)=(θ,θ2). For m=8, let θ∈F16 satisfy θ4+θ3+1=0 and choose (c,e)=(θ3,θ7). In each row, L is defined by (20) using the specified τ. The first two rows correspond to Proposition 7.2.
8 Summary and Concluding Remarks
In this paper, we investigated the minimum distances of binary Goppa codes defined by squarefree polynomials. Using codeword locator polynomials, we characterized codewords of weights 2r+1 and 2r+2. We developed three general constructions for binary Goppa codes attaining the designed distance 2r+1 and obtained explicit infinite families. In particular, our constructions cover every Goppa degree between consecutive powers of two and yield a quantitative existence bound for every degree 2≤r≤⌊2m/3⌋ over F2m. We also extended a construction of q-ary Goppa codes using split auxiliary polynomials and obtained binary Goppa codes with minimum distance exactly 2r+2.
The results provide general methods for constructing Goppa codes with determined minimum distances. Further problems include determining the number of minimum-weight codewords and investigating the combinatorial structure of their supports, particularly their intersection properties. It is also of interest to determine how many permutation-inequivalent codes arise from the constructions presented here.
References
[1] M. Bardet, R. Mora, and J.-P. Tillich, “Polynomial time key-recovery attack on high rate random alternant codes,” IEEE Trans. Inf. Theory, vol. 70, no. 6, pp. 4492–4511, Jun. 2024.
[2] S. V. Bezzateev and N. A. Shekhunova, “Subclass of binary Goppa codes with minimal distance equal to the design distance,” IEEE Trans. Inf. Theory, vol. 41, no. 2, pp. 554–555, Mar. 1995.
[3] S. V. Bezzateev and N. A. Shekhunova, “Chain of separable binary Goppa codes and their minimal distance,” IEEE Trans. Inf. Theory, vol. 54, no. 12, pp. 5773–5778, Dec. 2008.
[4] S. V. Bezzateev and N. A. Shekhunova, “Totally decomposed cumulative Goppa codes with improved estimations,” Des. Codes Cryptogr., vol. 87, no. 2–3, pp. 569–587, 2019.
[5] I. Byrne, N. Dodson, R. Lynch, E. Pabón-Cancel, and F. Piñero-González, “Improving the minimum distance bound of trace Goppa codes,” Des. Codes Cryptogr., vol. 91, no. 8, pp. 2649–2663, 2023.
[6] Y. Chen, H. Chen, C. Ding, and H. Lao, “On the minimum distances of some families of Goppa codes and BCH codes,” 2026, arXiv:2604.25354.
[7] P. Delsarte, “On subfield subcodes of modified Reed–Solomon codes,” IEEE Trans. Inf. Theory, vol. 21, no. 5, pp. 575–576, Sep. 1975.
[8] S. Dong, H. Chen, Y. Chen, Z. Xie, and C. Li, “A criterion to determine true minimum distances of Goppa codes,” 2026, arXiv:2607.23139.
[9] G.-L. Feng, “Generalization of lower bound on the minimum distance and upper bound on the number of parity check digits for Goppa codes,” Acta Electron. Sinica, vol. 11, no. 2, pp. 66–72, 1983.
[10] M. Finiasz, “Words of minimal weight and weight distribution of binary Goppa codes,” in Proc. IEEE Int. Symp. Inf. Theory (ISIT), Yokohama, Japan, 2003, p. 70.
[11] M. Finiasz, “Words of minimal weight and weight distribution in binary Goppa codes,” extended manuscript accompanying the ISIT 2003 paper. [Online]. Available: https://finiasz.net/research/2003/finiasz-isit03-extended.pdf. Accessed: Oct. 13, 2026.
[12] V. D. Goppa, “A new class of linear correcting codes,” Probl. Inf. Transm., vol. 6, no. 3, pp. 207–212, 1970.
[13] V. D. Goppa, “A rational representation of codes and (L,g)-codes,” Probl. Inf. Transm., vol. 7, no. 3, pp. 223–229, 1971.
[14] T. He, K. Li, and L. Qu, “Minimum distances of binary Goppa codes and constructions with prescribed alternating automorphism groups,” 2026, arXiv:2608.02436.
[15] T. He, K. Li, and L. Qu, “Some infinite families of binary Goppa codes with determined minimum distances,” Discrete Math., vol. 350, no. 1, Art. no. 115405, 2027.
[16] F. Levy-dit-Vehel and S. Litsyn, “Parameters of Goppa codes revisited,” IEEE Trans. Inf. Theory, vol. 43, no. 6, pp. 1811–1819, Nov. 1997.
[17] F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes. Amsterdam, The Netherlands: North-Holland, 1977.
[18] C. J. Moreno and O. Moreno, “Exponential sums and Goppa codes: II,” IEEE Trans. Inf. Theory, vol. 38, no. 4, pp. 1222–1229, Jul. 1992.
[19] N. J. Patterson, “The algebraic decoding of Goppa codes,” IEEE Trans. Inf. Theory, vol. 21, no. 2, pp. 203–207, Mar. 1975.
[20] Y. Sugiyama, M. Kasahara, S. Hirasawa, and T. Namekawa, “Further results on Goppa codes and their applications to constructing efficient binary codes,” IEEE Trans. Inf. Theory, vol. 22, no. 5, pp. 518–526, Sep. 1976.
[21] P. Véron, “Goppa codes and trace operator,” IEEE Trans. Inf. Theory, vol. 44, no. 1, pp. 290–294, Jan. 1998.
[22] D.-W. Yue and Q.-J. Ji, “On the lower bounds on minimum distance for Goppa codes and for alternant codes,” J. China Inst. Commun., vol. 12, no. 3, pp. 10–16, 1991.
[23] R. Zheng, “Minimum distances of primitive narrow-sense BCH codes via good zero-sets,” Sep. 2026, arXiv:2609.21994v2.