betaFeedback

WorksComputer Science

Cryptanalysis of a Class of Ideal Secret Sharing Schemes Based on the CRT for Polynomial Rings

Abstract

Based on the CRT for polynomial rings, Yang, Zhu, Fu and Xia (ISIT 2026) proposed a compartmented secret sharing scheme for the compartmented access structure with lower bounds, claiming it can be ideal. We exhibit three families of unauthorized subsets that reconstruct the secret. The scheme is therefore insecure, except for a degenerate choice of parameters in which the only authorized subset is the whole participant set. The flaw in the security analysis is that it does not take all published polynomials into account. Similar flaws appear in the same first author's hierarchical schemes (ISIT 2024, 2026).

In many ideal CSSSs for LCASs have been constructed from linear algebra [4], bivariate interpolation [5], polymatroid theory [6, 7], and coding theory [8]. However, some of these constructions have limitations. The construction of [4] requires checking the non-singularity of an exponential number of matrices. That of [5] is probabilistic and only statistically perfect. In contrast, the CRT-based construction over the integers [9] is non-ideal. Recently, Yang, Zhu, Fu and Xia [10] proposed an explicit CSSS for LCAS based on the CRT for polynomial rings. They claimed that it is perfect and can be made ideal by an appropriate choice of the moduli.

Introduction

In a secret sharing scheme (SSS) [1, 2], a dealer splits a secret into shares and distributes them among a set P\mathcal{P} of nn participants, in such a way that the authorized subsets of P\mathcal{P} can reconstruct the secret while the unauthorized ones cannot. The collection of all authorized subsets forms the access structure. An SSS is perfect if every unauthorized subset obtains no information about the secret, and ideal if it is perfect and has information rate one.

The first proposed secret sharing schemes [1, 2] have the (t,n)(t,n)-threshold access structure:

Γ={A⊂P:∣A∣≥t}.\Gamma= \{\mathcal{A} \subset\mathcal{P}: |\mathcal{A}| \ge t\}.

In such a scheme, all the participants play exactly the same role, and none of them is more privileged than another. Many applications, however, involve participants with different degree of trust. Compartmented access structures, introduced by Simmons [3], are suitable for this scenario. In a compartmented secret sharing scheme (CSSS), the participant set P\mathcal{P} is partitioned into compartments γ1,γ2,…,γq\gamma_1,\gamma_2,\ldots,\gamma_q, each equipped with a threshold tit_i, and a global threshold tt is imposed on P\mathcal{P}; the resulting compartmented access structure with lower bounds (LCAS) is

ΓL={A⊂P:∀1≤i≤q, ∣A∩γi∣≥ti and ∣A∣≥t}.\Gamma_L = \{\mathcal{A} \subset\mathcal{P}: \forall1 \le i \le q,\ |\mathcal{A} \cap\gamma_i| \ge t_i \text{ and } |\mathcal{A}| \ge t\}.

This work was supported in part by the National Natural Science Foundation of China (NSFC) Young Scientists Fund (Category C) under Grant No. 126011024, in part by Natural Science Research Project of Anhui Higher Education Institutions under Grants No. 2024AH051324 and No. 2025AHGXZK30056, and in part by Projects of Chaohu University under Grants No. KYQD-202220, No. 2024cxtd147 and No. hkt20250327.

J. Ding, H. Li and Y. Man are with School of Mathematics and Big Data, Chaohu University, Hefei, China (e-mail: [email protected], [email protected], [email protected]).

Z. Guo is with School of Mathematics and Statistics, Hefei University, Hefei, China (e-mail: [email protected]).

Our contributions. We point out that the scheme of [10] is insecure, and analyse the root cause of its insecurity. More precisely, we give the following contributions.

  1. We exhibit three families of unauthorized subsets that reconstruct the secret (Theorem 1). The scheme is therefore insecure, for every choice of the parameters except the degenerate one in which the only authorized subset is P\mathcal{P} itself (Corollary 1).

  1. We find that the flaw in the security analysis of [10] is its failure to take all the published polynomials into account. Similar flaws also appear in the hierarchical secret sharing schemes by the same first author [11, 12], whose security analysis omits the published polynomials in exactly the same way.

The rest of the paper is organised as follows. Section II introduces the basic notions of secret sharing and the CRT for polynomial rings. Section III reviews the scheme of [10]. Section IV presents the cryptanalysis, together with the root cause of the insecurity, and § 3 concludes the paper.

Preliminaries

Definition 1 (Secret sharing scheme). Let P={P1,P2,…,Pn}\mathcal{P} = \{P_1,P_2,\ldots,P_n\} denote the set of all participants. The secret space is denoted by S\mathcal{S}, while Sθ\mathcal{S}_\theta stands for the share space of the θ\theta-th participant. A secret sharing scheme of nn participants generally comprises two procedures: share distribution and secret reconstruction.

  1. Share Distribution Phase: For any secret drawn from S\mathcal{S} and a certain random input selected from R\mathcal{R}, the dealer invokes the share generation algorithm

SHAR⁡:S×R→S1×S2×⋯×Sn\operatorname{SHAR}: \mathcal{S} \times\mathcal{R} \to\mathcal{S}_1 \times\mathcal{S}_2 \times\cdots\times\mathcal{S}_n

to allocate shares among the participants in P\mathcal{P}.

  1. Secret Reconstruction Phase: Any authorized subset A⊆PA \subseteq\mathcal{P} is capable of reconstructing the secret through the secret reconstruction algorithm

RECO⁡:∏Pθ∈ASθ→S,\operatorname{RECO}: \prod_{P_\theta\in A} S_\theta\to S,

whereas any unauthorized subset is not.

All authorized subsets form a set called the access structure. In the sequel, each participant PθP_\theta is frequently identified with its index θ\theta. For a positive integer nn we write [n]={1,2,…,n}[n] = \{1,2,\ldots,n\}, and so that P=[n]\mathcal{P}=[n].

Definition 2 (Compartmented Secret Sharing Scheme, [7]). Let P={P1,P2,…,Pn}\mathcal{P}=\{P_1,P_2,\ldots,P_n\} be the set of all participants, partitioned by the dealer into qq disjoint compartments γ1,γ2,…,γq\gamma_1,\gamma_2,\ldots,\gamma_q, i.e.,

P=⋃i=1qγi,andγi∩γj=∅ for all 1≤i<j≤q.\mathcal{P}=\bigcup_{i=1}^{q}\gamma_i,\quad\text{and}\quad\gamma_i\cap\gamma_j=\varnothing\text{ for all }1\leq i<j\leq q.

Denote by ∣⋅∣|\cdot| the cardinality of a set. Let t1,t2,…,tq,tt_1,t_2,\ldots,t_q,t be positive integers such that

ti≤∣γi∣=ni(1≤i≤q),and∑i=1qti≤t≤n.t_i\leq|\gamma_i|=n_i(1\leq i\leq q),\quad\text{and}\quad\sum_{i=1}^{q}t_i\leq t\leq n.

The compartmented access structure with lower bounds (LCAS) is

ΓL={A⊆P:∀1≤i≤q, ∣A∩γi∣≥ti and ∣A∣≥t}.\Gamma_L=\{A\subseteq\mathcal{P}:\forall1\leq i\leq q,\ |A\cap\gamma_i|\geq t_i\text{ and }|A|\geq t\}.

A Compartmented Secret Sharing Scheme (CSSS) for the LCAS with perfect security is a secret sharing scheme satisfying the following correctness and privacy requirements.

  1. Correctness. The secret can be reconstructed from any authorized subset A∈ΓLA\in\Gamma_L.

  1. Privacy. No information about the secret can be obtained from any subset B∉ΓLB\notin\Gamma_L.

Throughout this paper we assume q≥2q\geq2, the case q=1q=1 reducing to a threshold access structure.

Lemma 1 (CRT for polynomial rings, [10]). Let pp be a prime, Fp\mathbb{F}_p the finite field with pp elements, and Fp[x]\mathbb{F}_p[x] the univariate polynomial ring over Fp\mathbb{F}_p. Let m1(x),m2(x),…,mk(x)∈Fp[x]m_1(x),m_2(x),\ldots,m_k(x)\in\mathbb{F}_p[x] be pairwise coprime, let M(x)=∏i=1kmi(x)M(x)=\prod_{i=1}^{k}m_i(x), Mi(x)=M(x)/mi(x)M_i(x)=M(x)/m_i(x), and λi(x)≡Mi−1(x)(modmi(x))\lambda_i(x)\equiv M_i^{-1}(x)\pmod{m_i(x)}. Then, for any f1(x),f2(x),…,fk(x)∈Fp[x]f_1(x),f_2(x),\ldots,f_k(x)\in\mathbb{F}_p[x], the system of congruences f(x)≡fi(x)(modmi(x))f(x)\equiv f_i(x)\pmod{m_i(x)}, i∈[k]i\in[k], has the solution

f(x)≡∑i=1kλi(x)Mi(x)fi(x)(modM(x)).f(x)\equiv\sum_{i=1}^{k}\lambda_i(x)M_i(x)f_i(x)\pmod{M(x)}.

If deg⁡(f(x))<deg⁡(M(x))\deg(f(x))<\deg(M(x)), then the solution is unique, and we denote it by

f(x)=∑i=1kλi(x)Mi(x)fi(x) mod M(x).f(x)=\sum_{i=1}^{k}\lambda_i(x)M_i(x)f_i(x)\bmod M(x).

Review of the Scheme of Yang et al.

Let P={P1,P2,…,Pn}\mathcal{P}=\{P_1,P_2,\ldots,P_n\} be the set of all participants and let it be partitioned into q≥2q\geq2 disjoint compartments γ1,γ2,…,γq\gamma_1,\gamma_2,\ldots,\gamma_q, where ∣γi∣=ni|\gamma_i|=n_i for i∈[q]i\in[q]. Set Nj=∑i=1jniN_j=\sum_{i=1}^{j}n_i and N0=0N_0=0, so that Nq=nN_q=n. The compartment thresholds satisfy 0<ti≤ni0<t_i\leq n_i for all i∈[q]i\in[q], and the global threshold satisfies ∑i=1qti≤t≤n\sum_{i=1}^{q}t_i\leq t\leq n. The access structure is

ΓL={A⊆P:∀1≤i≤q, ∣A∩γi∣≥ti and ∣A∣≥t}.\Gamma_L=\{A\subseteq\mathcal{P}:\forall1\leq i\leq q,\ |A\cap\gamma_i|\geq t_i\text{ and }|A|\geq t\}.

For u∈[q]u\in[q] and v∈[nu]v\in[n_u], the vv-th participant of γu\gamma_u is denoted by Pu,vP_{u,v}, which coincides with PθP_\theta for θ=Nu−1+v\theta=N_{u-1}+v. The scheme of [10] consists of the share distribution phase and the secret reconstruction phase.

  1. Share Distribution Phase.

Step 1. The dealer DD chooses a prime pp and an integer d0≥1d_0\geq1, and sets m0(x)=xd0∈Fp[x]m_0(x)=x^{d_0}\in\mathbb{F}_p[x].

Step 2. DD chooses pairwise coprime polynomials mθ(x)∈Fp[x]m_\theta(x)\in\mathbb{F}_p[x], θ∈[n]\theta\in[n], and assigns mθ(x)=mu,v(x)m_\theta(x)=m_{u,v}(x) to Pθ=Pu,vP_\theta=P_{u,v} with θ=Nu−1+v\theta=N_{u-1}+v. Denote by dθ=deg⁡(mθ(x))d_\theta=\deg(m_\theta(x)) and du,v=deg⁡(mu,v(x))d_{u,v}=\deg(m_{u,v}(x)), then these polynomials satisfy

(i) m0(x)m_0(x) and mθ(x)m_\theta(x) are coprime for all θ∈[n]\theta\in[n];

(ii) d0≤d1≤d2≤⋯≤dnd_0\leq d_1\leq d_2\leq\cdots\leq d_n, that is, d0≤d1,1≤⋯≤d1,n1≤d2,1≤⋯≤dq,nqd_0\leq d_{1,1}\leq\cdots\leq d_{1,n_1}\leq d_{2,1}\leq\cdots\leq d_{q,n_q};

(iii) d0+∑θ(i)=n−ti+2ndθ(i)≤∑θ(i)=1tidθ(i)d_0+\sum_{\theta(i)=n-t_i+2}^{n}d_{\theta(i)}\leq\sum_{\theta(i)=1}^{t_i}d_{\theta(i)} for all i∈[q]i\in[q];

(iv) d0+∑θ=n−t+2ndθ≤∑θ=1tdθd_0+\sum_{\theta=n-t+2}^{n}d_\theta\leq\sum_{\theta=1}^{t}d_\theta.

Step 3. DD publishes m0(x)m_0(x) and mθ(x)m_\theta(x) for θ∈[n]\theta\in[n].

Step 4. DD chooses the secret s(x)s(x) uniformly at random from S={g(x)∈Fp[x]:deg⁡(g(x))<d0}S=\{g(x)\in\mathbb{F}_p[x]:\deg(g(x))<d_0\}.

Step 5. DD chooses qq piece polynomials s1(x),…,sq(x)s_1(x),\ldots,s_q(x) independently and uniformly from SS, and sets sq+1(x)=(s(x)−s1(x)−⋯−sq(x)) mod m0(x)s_{q+1}(x)=(s(x)-s_1(x)-\cdots-s_q(x))\bmod m_0(x).

Step 6. For each u∈[q]u\in[q], DD chooses αu′(x)\alpha'_u(x) uniformly from Gu′={g(x)∈Fp[x]:deg⁡(g(x))<(∑θ(u)=1tudθ(u)−d0)}G'_u=\{g(x)\in\mathbb{F}_p[x]:\deg(g(x))<(\sum_{\theta(u)=1}^{t_u}d_{\theta(u)}-d_0)\} and forms the compartment secret polynomial

su′(x)=su(x)+αu′(x)xd0.s'_u(x)=s_u(x)+\alpha'_u(x)x^{d_0}.

Step 7. DD chooses αq+1′(x)\alpha'_{q+1}(x) uniformly from Gq+1′={g(x)∈Fp[x]:deg⁡(g(x))<(∑θ=1tdθ−d0)}G'_{q+1}=\{g(x)\in\mathbb{F}_p[x]:\deg(g(x))<(\sum_{\theta=1}^{t}d_\theta-d_0)\} and forms the global secret polynomial

sq+1′(x)=sq+1(x)+αq+1′(x)xd0.s'_{q+1}(x)=s_{q+1}(x)+\alpha'_{q+1}(x)x^{d_0}.

Step 8. Each participant Pθ=Pu,vP_\theta=P_{u,v} receives the share

su,v(x)=su′(x) mod mu,v(x),s_{u,v}(x)=s'_u(x)\bmod m_{u,v}(x),

and DD publishes

ωu,v(x)=(sq+1′(x)−su,v(x)) mod mu,v(x).\omega_{u,v}(x)=(s'_{q+1}(x)-s_{u,v}(x))\bmod m_{u,v}(x).
  1. Secret Reconstruction Phase. Let A∈ΓLA\in\Gamma_L and A(i)=A∩γiA^{(i)}=A\cap\gamma_i. For each i∈[q]i\in[q] the participants of A(i)A^{(i)} pool their private shares and reconstruct

si′(x)=∑θ(i)∈A(i)λθ(i)(x)Mθ(i)(x)cθ(i)(x) mod MA(i)(x),(1)s'_i(x)=\sum_{\theta(i)\in A^{(i)}}\lambda_{\theta(i)}(x)M_{\theta(i)}(x)c_{\theta(i)}(x)\bmod M_{A^{(i)}}(x), \tag*{(1)}

where cθ(i)(x)=su,v(x),mθ(i)(x)=mu,v(x)c_{\theta^{(i)}}(x)=s_{u,v}(x),m_{\theta^{(i)}}(x)=m_{u,v}(x) for θ(i)=Nu−1+v\theta^{(i)}=N_{u-1}+v, and MA(i)(x)=∏θ(i)∈A(i)mθ(i)(x)M_{A^{(i)}}(x)=\prod_{\theta^{(i)}\in A^{(i)}}m_{\theta^{(i)}}(x), Mθ(i)(x)=MA(i)(x)/mθ(i)(x)M_{\theta^{(i)}}(x)=M_{A^{(i)}}(x)/m_{\theta^{(i)}}(x), λθ(i)(x)≡Mθ(i)−1(x)(modmθ(i)(x))\lambda_{\theta^{(i)}}(x)\equiv M_{\theta^{(i)}}^{-1}(x)\pmod{m_{\theta^{(i)}}(x)}.

Next, the participants of AA pool their private shares and public shares to reconstruct

sq+1′(x)=∑θ∈Aλθ(x)Mθ(x)cθ(x)(modMA(x)).s'_{q+1}(x)=\sum_{\theta\in A}\lambda_\theta(x)M_\theta(x)c_\theta(x)\pmod{M_A(x)}.

where cθ(x)=ωu,v+su,v(x),mθ(x)=mu,v(x)c_\theta(x)=\omega_{u,v}+s_{u,v}(x),m_\theta(x)=m_{u,v}(x) for θ=Nu−1+v\theta=N_{u-1}+v, and MA(x)=∏θ∈Amθ(x)M_A(x)=\prod_{\theta\in A}m_\theta(x), Mθ(x)=MA(x)/mθ(x)M_\theta(x)=M_A(x)/m_\theta(x), λθ(x)≡Mθ−1(x)(modmθ(x))\lambda_\theta(x)\equiv M_\theta^{-1}(x)\pmod{m_\theta(x)}.

Finally, si(x)=si′(x)(modm0(x))s_i(x)=s'_i(x)\pmod{m_0(x)} for i∈[q+1]i\in[q+1], and s(x)=(s1(x)+⋯+sq(x)+sq+1(x))(modm0(x))s(x)=(s_1(x)+\cdots+s_q(x)+s_{q+1}(x))\pmod{m_0(x)}.

Cryptanalysis

Subsection IV-A points out that the scheme of [10] has a security flaw: some unauthorized subsets are able to reconstruct the secret. Subsection IV-B discusses the flaw in the security analysis of [10].

Unauthorized subsets that reconstruct the secret

For X⊆[n]\mathcal{X}\subseteq[n] we write MX(x)=∏θ∈Xmθ(x)M_{\mathcal{X}}(x)=\prod_{\theta\in\mathcal{X}}m_\theta(x) and DX=∑θ∈Xdθ=deg⁡(MX(x))D_{\mathcal{X}}=\sum_{\theta\in\mathcal{X}}d_\theta=\deg(M_{\mathcal{X}}(x)). Denote by

Tu=∑θ=1tudθ(u∈[q]),T=∑θ=1tdθ.T_u=\sum_{\theta=1}^{t_u}d_\theta\quad(u\in[q]),\qquad T=\sum_{\theta=1}^{t}d_\theta.

For B⊆[n]B\subseteq[n], we let B∖γu={θ:θ∈B and θ∉γu}B\setminus\gamma_u=\{\theta:\theta\in B\text{ and }\theta\notin\gamma_u\}. Next, we present basic properties of the scheme of [10] in Lemmas 2 and 3. Based on these properties, we give attacks on their scheme in Theorem 1. We then show in Corollary 1 when these attacks apply to unauthorized subsets.

Lemma 2. Let X⊆[n]\mathcal{X}\subseteq[n], u∈[q]u\in[q] and let kk be a positive integer. Then the following properties hold in the scheme of [10].

(i) deg⁡(su′(x))<Tu\deg(s'_u(x))<T_u and deg⁡(sq+1′(x))<T\deg(s'_{q+1}(x))<T.

(ii) DX≥∑θ=1kdθD_{\mathcal{X}}\geq\sum_{\theta=1}^{k}d_\theta if ∣X∣≥k|\mathcal{X}|\geq k.

(iii) T≥TuT\geq T_u.

(iv) Dγu≥TuD_{\gamma_u}\geq T_u.

(v) s(x)=(∑u=1qsu′(x)+sq+1′(x))(modm0(x))s(x)=\left(\sum_{u=1}^{q}s'_u(x)+s'_{q+1}(x)\right)\pmod{m_0(x)}.

Proof. (i) Recall that su′(x)=su(x)+αu′(x)xd0s'_u(x)=s_u(x)+\alpha'_u(x)x^{d_0} (u∈[q]u\in[q]) and sq+1′(x)=sq+1(x)+αq+1′(x)xd0s'_{q+1}(x)=s_{q+1}(x)+\alpha'_{q+1}(x)x^{d_0}, where su(x)∈S={g(x)∈Fp[x]:deg⁡(g(x))<d0}s_u(x)\in S=\{g(x)\in\mathbb{F}_p[x]:\deg(g(x))<d_0\}, αu′(x)∈Gu′={g(x)∈Fp[x]:deg⁡(g(x))<(∑θ∈γudθ)−d0=Tu−d0}\alpha'_u(x)\in G'_u=\{g(x)\in\mathbb{F}_p[x]:\deg(g(x))<(\sum_{\theta\in\gamma_u}d_\theta)-d_0=T_u-d_0\} for u∈[q]u\in[q], sq+1(x)=(s(x)−s1(x)−⋯−sq(x))(modm0(x))s_{q+1}(x)=(s(x)-s_1(x)-\cdots-s_q(x))\pmod{m_0(x)}, and αq+1′(x)∈Gq+1′={g(x)∈Fp[x]:deg⁡(g(x))<(∑θ=1tdθ)−d0=T−d0}\alpha'_{q+1}(x)\in G'_{q+1}=\{g(x)\in\mathbb{F}_p[x]:\deg(g(x))<(\sum_{\theta=1}^{t}d_\theta)-d_0=T-d_0\}. Consequently, deg⁡(su′(x))≤deg⁡(αu′(x))+d0<∑θ∈γudθ=Tu\deg(s'_u(x))\leq\deg(\alpha'_u(x))+d_0<\sum_{\theta\in\gamma_u}d_\theta=T_u for u∈[q]u\in[q], and deg⁡(sq+1′(x))≤deg⁡(αq+1′(x))+d0<∑θ=1tdθ=T\deg(s'_{q+1}(x))\leq\deg(\alpha'_{q+1}(x))+d_0<\sum_{\theta=1}^{t}d_\theta=T.

(ii) Since d1≤d2≤⋯≤dnd_1\leq d_2\leq\cdots\leq d_n, every X⊆[n]\mathcal{X}\subseteq[n] satisfies DX≥∑θ=1∣X∣dθD_{\mathcal{X}}\geq\sum_{\theta=1}^{|\mathcal{X}|}d_\theta. Therefore, DX≥∑θ=1kdθD_{\mathcal{X}}\geq\sum_{\theta=1}^{k}d_\theta if ∣X∣≥k|\mathcal{X}|\geq k.

(iii) Since t≥∑i=1qti≥tut\geq\sum_{i=1}^{q}t_i\geq t_u for u∈[q]u\in[q], then

T=∑θ=1tdθ≥∑θ=1tudθ=Tu.T=\sum_{\theta=1}^{t}d_\theta\geq\sum_{\theta=1}^{t_u}d_\theta=T_u.

(iv) Since ∣γu∣=nu≥tu|\gamma_u|=n_u\geq t_u, then Dγu≥TuD_{\gamma_u}\geq T_u by the above item (ii).

(v) Recall that m0(x)=xd0m_0(x)=x^{d_0}, su(x)=su′(x)(modm0(x))s_u(x)=s'_u(x)\pmod{m_0(x)} and sq+1(x)=(s(x)−∑u=1qsu(x))(modm0(x))s_{q+1}(x)=(s(x)-\sum_{u=1}^{q}s_u(x))\pmod{m_0(x)}. Therefore,

s(x)=(∑u=1qsu(x)+sq+1(x))(modm0(x))=(∑u=1qsu′(x)+sq+1′(x))(modm0(x)).\begin{aligned} s(x)=\left(\sum_{u=1}^{q}s_u(x)+s_{q+1}(x)\right)\pmod{m_0(x)} \\ &=\left(\sum_{u=1}^{q}s'_u(x)+s'_{q+1}(x)\right)\pmod{m_0(x)}. \end{aligned}

Lemma 3. Denote by gu(x)=sq+1′(x)−su′(x)g_u(x)=s'_{q+1}(x)-s'_u(x) for u∈[q]u\in[q], then the following properties hold in the scheme of [10].

(i) deg⁡(gu(x))<T\deg(g_u(x))<T and gu(x)≡ωu,v(x)(modmu,v(x))g_u(x)\equiv\omega_{u,v}(x)\pmod{m_{u,v}(x)} for v∈[nu]v\in[n_u].

(ii) Every participant Pθ=Pu,vP_\theta=P_{u,v} can compute

cθ(x)=(su,v(x)+ωu,v(x))(modmθ(x))=sq+1′(x)(modmθ(x)).c_\theta(x)=(s_{u,v}(x)+\omega_{u,v}(x))\pmod{m_\theta(x)} =s'_{q+1}(x)\pmod{m_\theta(x)}.

(iii) If nu≥tn_u\geq t for some u∈[q]u\in[q], then gu(x)g_u(x) is computable from the public polynomials alone.

(iv) If sq+1′(x)s'_{q+1}(x) is known, then every compartment secret polynomial su′(x)s'_u(x), and hence the secret s(x)s(x), is reconstructed from the public polynomials and sq+1′(x)s'_{q+1}(x).

Proof. (i) According to Lemma 2 item (i) and item (iii), we have deg⁡(su′(x))<Tu\deg(s'_u(x))<T_u, deg⁡(sq+1′(x))<T\deg(s'_{q+1}(x))<T, and T≥TuT\geq T_u. Consequently, deg⁡(gu(x))<T\deg(g_u(x))<T. Recall that su,v(x)=su′(x)(modmu,v(x))s_{u,v}(x)=s'_{u}(x)\pmod{m_{u,v}(x)} for v∈[nu]v\in[n_u], hence

ωu,v(x)=(sq+1′(x)−su,v(x))(modmu,v(x))=(sq+1′(x)−su′(x))(modmu,v(x))=gu(x)(modmu,v(x)).\begin{aligned} \omega_{u,v}(x)=(s'_{q+1}(x)-s_{u,v}(x))\pmod{m_{u,v}(x)} \\ &=(s'_{q+1}(x)-s'_u(x))\pmod{m_{u,v}(x)} \\ &=g_u(x)\pmod{m_{u,v}(x)}. \end{aligned}

Namely, gu(x)≡ωu,v(x)(modmu,v(x))g_u(x)\equiv\omega_{u,v}(x)\pmod{m_{u,v}(x)} for v∈[nu]v\in[n_u].

(ii) Since su,v(x)≡su′(x)(modmu,v(x))s_{u,v}(x)\equiv s'_u(x)\pmod{m_{u,v}(x)} for v∈[nu]v\in[n_u], then by the above item (i) we have

cθ(x)=(su,v(x)+ωu,v(x))(modmθ(x))=(su′(x)+gu(x))(modmθ(x))=sq+1′(x)(modmθ(x)).\begin{aligned} c_\theta(x)=(s_{u,v}(x)+\omega_{u,v}(x))\pmod{m_\theta(x)} \\ &=(s'_u(x)+g_u(x))\pmod{m_\theta(x)} \\ &=s'_{q+1}(x)\pmod{m_\theta(x)}. \end{aligned}

(iii) If nu≥tn_u\geq t for some u∈[q]u\in[q], then Dγu≥∑θ=1tdθ=TD_{\gamma_u}\geq\sum_{\theta=1}^{t}d_\theta=T by Lemma 2 item (ii). According to the above item (i), we have deg⁡(gu(x))<T≤Dγu\deg(g_u(x))<T\leq D_{\gamma_u} and gu(x)≡ωu,v(x)(modmu,v(x))g_u(x)\equiv\omega_{u,v}(x)\pmod{m_{u,v}(x)} for v∈[nu]v\in[n_u]. Therefore, gu(x)g_u(x) is computable from the public polynomials alone by Lemma 1.

(iv) From the above item (i) we have gu(x)≡ωu,v(x)(modmu,v(x))g_u(x)\equiv\omega_{u,v}(x)\pmod{m_{u,v}(x)} for v∈[nu]v\in[n_u]. This shows that

su′(x)≡(sq+1′(x)−ωu,v(x))(modmu,v(x))for v∈[nu].s'_u(x)\equiv(s'_{q+1}(x)-\omega_{u,v}(x))\pmod{m_{u,v}(x)}\quad\text{for }v\in[n_u].

By Lemma 2 item (i) and item (iv), it holds that deg⁡(su′(x))<Tu≤Dγu\deg(s'_u(x))<T_u\leq D_{\gamma_u}. Therefore, compartment secret polynomials su′(x)s'_u(x), u∈[q]u\in[q] are recovered by Lemma 1 if sq+1′(x)s'_{q+1}(x) is known. Consequently, the secret s(x)s(x) is reconstructed by Lemma 2 item (v). Lemma 3 item (iv) shows that the q+1q+1 polynomials s1′(x),…,sq+1′(x)s'_1(x),\ldots,s'_{q+1}(x) are not independent, and the secret is a public function of the polynomial sq+1′(x)s'_{q+1}(x).

Theorem 1. In the scheme of [10], the participants in B\mathcal{B} can reconstruct the secret s(x)s(x) if one of the following conditions holds, where B⊆[n]\mathcal{B}\subseteq[n] and B(u)=B∩γu\mathcal{B}^{(u)}=\mathcal{B}\cap\gamma_u for u∈[q]u\in[q].

(i) ∣B∣≥t|\mathcal{B}|\geq t;

(ii) ∣B(u)∣≥tu|\mathcal{B}^{(u)}|\geq t_u and ∣B∖γu∣+nu≥t|\mathcal{B}\setminus\gamma_u|+n_u\geq t for some u∈[q]u\in[q];

(iii) nu≥tn_u\geq t and ∣B∣≥tu|\mathcal{B}|\geq t_u for some u∈[q]u\in[q].

Note that every B∈ΓL\mathcal{B}\in\Gamma_L satisfies the conditions (i) and (ii), whereas each of the three conditions may also be satisfied by some unauthorized subset B∉ΓL\mathcal{B}\notin\Gamma_L (see Corollary 1). Such an unauthorized subset can reconstruct the secret, although Yang, Zhu, Fu and Xia [10] claim that no unauthorized subset obtains any information about the secret.

Proof. Recall that gu(x)=sq+1′(x)−su′(x)g_u(x)=s'_{q+1}(x)-s'_u(x) and let cθ(x)c_\theta(x) be as in Lemma 3 item (ii). According to Lemma 3 item (iv), it suffices to prove that the global secret polynomial sq+1′(x)s'_{q+1}(x) can be recovered from any one of the conditions.

Case (i). By Lemma 3 item (ii), the participants in B\mathcal{B} establish the system of congruences

sq+1′(x)≡cθ(x)(modmθ(x)),θ∈B.s'_{q+1}(x)\equiv c_\theta(x)\pmod{m_\theta(x)},\quad\theta\in\mathcal{B}.

Since ∣B∣≥t|\mathcal{B}|\geq t, from Lemma 2 item (i) and item (ii), we have

deg⁡(sq+1′(x))<T=∑θ=1tdθ≤DB.\deg(s'_{q+1}(x))<T=\sum_{\theta=1}^{t}d_\theta\leq D_{\mathcal{B}}.

Therefore, sq+1′(x)s'_{q+1}(x) is recovered by Lemma 1.

Case (ii). For a given u∈[q]u\in[q], the participants in B(u)\mathcal{B}^{(u)} establish the system of congruences

su′(x)≡su,v(x)(modmu,v(x))for Pu,v∈B(u).s'_{u}(x)\equiv s_{u,v}(x)\pmod{m_{u,v}(x)}\quad\text{for }P_{u,v}\in\mathcal{B}^{(u)}.

Since ∣B(u)∣≥tu|\mathcal{B}^{(u)}|\geq t_u, from Lemma 2 item (i) and item (ii), we have

deg⁡(su′(x))<Tu=∑θ=1tudθ≤DB(u).\deg(s'_u(x))<T_u=\sum_{\theta=1}^{t_u}d_\theta\leq D_{\mathcal{B}^{(u)}}.

Therefore, su′(x)s'_u(x) is recovered by Lemma 1. Based on this, the set B\mathcal{B} can determine gu(x)≡ωu,v(x)(modmu,v(x))g_u(x)\equiv\omega_{u,v}(x)\pmod{m_{u,v}(x)} (v∈[nu]v\in[n_u]) and gu(x)≡(cθ(x)−su′(x))(modmθ(x))g_u(x)\equiv(c_\theta(x)-s'_u(x))\pmod{m_\theta(x)} (θ∈B∖γu\theta\in\mathcal{B}\setminus\gamma_u), where the first family of congruences is publicly known by Lemma 3 item (i), and the second family uses cθ(x)c_\theta(x), θ∈B∖γu\theta\in\mathcal{B}\setminus\gamma_u in Lemma 3 item (ii) and the recovered su′(x)s'_u(x). Since γu\gamma_u and B∖γu\mathcal{B}\setminus\gamma_u are disjoint and ∣B∖γu∣+nu≥t|\mathcal{B}\setminus\gamma_u|+n_u\geq t, these nu+∣B∖γu∣n_u+|\mathcal{B}\setminus\gamma_u| pairwise coprime moduli have total degree, by Lemma 2 item (ii),

Dγu+DB∖γu≥∑θ=1tdθ=T>deg⁡(gu(x)).D_{\gamma_u}+D_{\mathcal{B}\setminus\gamma_u}\geq\sum_{\theta=1}^{t}d_\theta=T>\deg(g_u(x)).

Consequently, the polynomial gu(x)g_u(x) is recovered by Lemma 1, and hence sq+1′(x)=su′(x)+gu(x)s'_{q+1}(x)=s'_u(x)+g_u(x).

Case (iii). Since nu≥tn_u\geq t for some u∈[q]u\in[q], the polynomial gu(x)g_u(x) is publicly known by Lemma 3 item (iii). Recall that gu(x)=sq+1′(x)−su′(x)g_u(x)=s'_{q+1}(x)-s'_u(x). Hence every θ∈B\theta\in\mathcal{B}, of whatever compartment, produces a residue of su′(x)s'_u(x) by Lemma 3 item (ii), namely

su′(x)≡(sq+1′(x)−gu(x))(modmθ(x))≡(cθ(x)−gu(x))(modmθ(x)),θ∈B.\begin{aligned} s'_u(x)\equiv(s'_{q+1}(x)-g_u(x))\pmod{m_\theta(x)} \\ &\equiv(c_\theta(x)-g_u(x))\pmod{m_\theta(x)},\quad\theta\in\mathcal{B}. \end{aligned}

Since ∣B∣≥tu|\mathcal{B}|\geq t_u, we have deg⁡(su′(x))<Tu≤DB\deg(s'_u(x))<T_u\leq D_{\mathcal{B}} by Lemma 2 item (i) and (ii). Therefore, the polynomial su′(x)s'_u(x) is recovered, and hence sq+1′(x)=su′(x)+gu(x)s'_{q+1}(x)=s'_u(x)+g_u(x).

Finally, let B∈ΓL\mathcal{B}\in\Gamma_L. Then ∣B∣≥t|\mathcal{B}|\geq t, so the condition (i) holds. Moreover, for every u∈[q]u\in[q], ∣B(u)∣≥tu|\mathcal{B}^{(u)}|\geq t_u together with

∣B∖γu∣+nu≥∣B∖γu∣+∣B(u)∣=∣B∣≥t|\mathcal{B}\setminus\gamma_u|+n_u\geq|\mathcal{B}\setminus\gamma_u|+|\mathcal{B}^{(u)}|=|\mathcal{B}|\geq t

shows that the condition (ii) holds as well. □

Corollary 1. Each of the three conditions of Theorem 1 is satisfied by some unauthorized subset, in the following sense.

(i) If n−nu+tu−1≥tn-n_u+t_u-1\geq t for some u∈[q]u\in[q], then the subset consisting of all the participants outside γu\gamma_u together with tu−1t_u-1 participants of γu\gamma_u is unauthorized and satisfies Theorem 1 item (i).

(ii) If tu<nut_u<n_u for some u∈[q]u\in[q], then the subset consisting of tut_u participants of γu\gamma_u together with max⁡{0,t−nu}\max\{0,t-n_u\} participants outside γu\gamma_u is unauthorized and satisfies Theorem 1 item (ii).

(iii) If nu≥tn_u\geq t for some u∈[q]u\in[q], then any subset consisting of tut_u participants of γu\gamma_u is unauthorized and satisfies Theorem 1 item (iii).

Consequently, the scheme of [10] is insecure unless tu=nut_u=n_u for all u∈[q]u\in[q], in which case t=nt=n and ΓL={P}\Gamma_L=\{\mathcal{P}\}.

Proof. Denote the subsets constructed in items (i)–(iii) by B1,B2\mathcal{B}_1,\mathcal{B}_2 and B3\mathcal{B}_3, respectively.

(i) Since ∣B1∣=(n−nu)+(tu−1)≥t|\mathcal{B}_1|=(n-n_u)+(t_u-1)\geq t, Theorem 1 item (i) holds, while ∣B1∩γu∣=tu−1<tu|\mathcal{B}_1\cap\gamma_u|=t_u-1<t_u shows that B1∉ΓL\mathcal{B}_1\notin\Gamma_L.

(ii) Since t≤nt\leq n, we have 0≤max⁡{0,t−nu}≤n−nu0\leq\max\{0,t-n_u\}\leq n-n_u, which ensures that the subset B2\mathcal{B}_2 is well defined. Since ∣B2∩γu∣=∣B2(u)∣=tu|\mathcal{B}_2\cap\gamma_u|=|\mathcal{B}_2^{(u)}|=t_u and ∣B2∖γu∣+nu=max⁡{0,t−nu}+nu≥t|\mathcal{B}_2\setminus\gamma_u|+n_u=\max\{0,t-n_u\}+n_u\geq t, Theorem 1 item (ii) holds. Now we show that B2∉ΓL\mathcal{B}_2\notin\Gamma_L. If nu≥tn_u\geq t, then B2⊆γu\mathcal{B}_2\subseteq\gamma_u, and ∣B2∩γw∣=0<tw|\mathcal{B}_2\cap\gamma_w|=0<t_w for any w≠uw\neq u (such a ww exists since q≥2q\geq2). If nu<tn_u<t, then ∣B2∣=tu+t−nu<t|\mathcal{B}_2|=t_u+t-n_u<t because tu<nut_u<n_u. In both cases B2∉ΓL\mathcal{B}_2\notin\Gamma_L.

(iii) Since nu≥tn_u\geq t for some u∈[q]u\in[q] and ∣B3∣=tu|\mathcal{B}_3|=t_u, Theorem 1 item (iii) holds. Moreover, B3⊆γu\mathcal{B}_3\subseteq\gamma_u, which implies that ∣B3∩γw∣=0<tw|\mathcal{B}_3\cap\gamma_w|=0<t_w for any w≠uw\neq u (such a ww exists since q≥2q\geq2), so B3∉ΓL\mathcal{B}_3\notin\Gamma_L.

Finally, assume that the scheme is secure. By the above item (ii), tu=nut_u=n_u for all u∈[q]u\in[q]. Hence ∑u=1qtu=∑u=1qnu=n\sum_{u=1}^{q}t_u=\sum_{u=1}^{q}n_u=n, and ∑u=1qtu≤t≤n\sum_{u=1}^{q}t_u\leq t\leq n implies t=nt=n. Since every authorized subset A\mathcal{A} satisfies ∣A∩γu∣≥tu=nu|\mathcal{A}\cap\gamma_u|\geq t_u=n_u for all u∈[q]u\in[q], it follows that A⊇γu\mathcal{A}\supseteq\gamma_u for all u∈[q]u\in[q]. Therefore ΓL={P}\Gamma_L=\{\mathcal{P}\}. □

Remark 1. Theorem 1 item (i) shows that the compartment thresholds play no roles at all: any tt participants reconstruct the secret, so the family of sets that can reconstruct the secret contains {B⊆P:∣B∣≥t}\{\mathcal{B}\subseteq\mathcal{P}:|\mathcal{B}|\geq t\}, and the scheme realises at most a (t,n)(t,n)-threshold access structure. Theorem 1 item (iii) is more damaging still: as soon as one compartment satisfies nu≥tn_u\geq t, any tut_u participants reconstruct the secret, and the

scheme realises at most the (tu,n)(t_u,n)-threshold access structure. Since tut_u may be as small as 1, the scheme may be broken by a single participant.

The flaw in the security analysis

In the perfectness argument of [10] (Lemmas III.1, III.2 and Theorem III.3 therein), for an unauthorized subset A1\mathcal{A}_1 with ∣A1∩γi∣<ti|\mathcal{A}_1 \cap\gamma_i| < t_i for some i∈[q]i \in[q], or with ∣A1∣<t|\mathcal{A}_1| < t, the following sets are introduced:

Gi={g(x):deg⁡(g(x))<Ti, g(x)≡cθi(x)(modmθi(x))\mathcal{G}_i=\{g(x):\deg(g(x))<T_i,\ g(x)\equiv c_{\theta_i}(x)\pmod{m_{\theta_i}(x)}
for Pθi∈A1(i)=A1∩γi of ∣A1(i)∣<ti}\text{for }P_{\theta_i}\in\mathcal{A}^{(i)}_1=\mathcal{A}_1\cap\gamma_i\text{ of }|\mathcal{A}^{(i)}_1|<t_i\}

and

G={g(x):deg⁡(g(x))<T, g(x)≡cθ(x)(modmθ(x))\mathcal{G}=\{g(x):\deg(g(x))<T,\ g(x)\equiv c_{\theta}(x)\pmod{m_{\theta}(x)}
for Pθ∈A1 of ∣A1∣<t}.\text{for }P_{\theta}\in\mathcal{A}_1\text{ of }|\mathcal{A}_1|<t\}.

The participants in A1\mathcal{A}_1 choose a polynomial s~i′(x)\tilde{s}'_i(x) randomly from Gi\mathcal{G}_i for some i∈[q]i\in[q], or a polynomial s~′(x)\tilde{s}'(x) randomly from G\mathcal{G}, and then compute s~i′(x) mod m0(x)\tilde{s}'_i(x)\bmod m_0(x) or s~′(x) mod m0(x)\tilde{s}'(x)\bmod m_0(x) to obtain the secret. Yang et al. conclude that, from the adversary’s point of view, the secret is uniformly distributed on S\mathcal{S}.

Note that the congruences defining Gi\mathcal{G}_i involve only the shares of A1\mathcal{A}_1; the published polynomials ωθ(x)\omega_{\theta}(x), θ∈[n]\theta\in[n], do not appear. The congruences defining G\mathcal{G} involve only the shares of A1\mathcal{A}_1 and the partial published polynomials ωθ(x)\omega_{\theta}(x), θ∈A1\theta\in\mathcal{A}_1. However, by any reasonable definition of perfectness for a scheme with public data, the published polynomials are part of the adversary’s view. Therefore, the fact that the sets Gi\mathcal{G}_i and G\mathcal{G} do not involve all the published polynomials is the flaw in the security analysis of [10].

Remark 2. Similar flaws also appear in the hierarchical secret sharing schemes of the same first author [11, 12], whose security analysis omits the published polynomials in exactly the same way.

Conclusion

We have shown that the compartmented secret sharing scheme of Yang, Zhu, Fu and Xia [10] is not perfect, and therefore not ideal. The scheme is insecure for every choice of the parameters except the trivial one in which the only authorized subset is P\mathcal{P} itself. Similar flaws also appear in the hierarchical secret sharing schemes of the same first author [11, 12]. It therefore remains an open problem to design an ideal CRT-based CSSS for LCASs and an ideal CRT-based hierarchical secret sharing scheme.

Jian Ding received the MS degree in applied mathematics from Hefei University of Technology, China in 2010, and the PhD degree in Cyberspace Security from Fujian Normal University, China in 2022. He is currently a Professor at School of Mathematics and Big Data, Chaohu University, China. His research interests are in cryptography and network security, especially in secret sharing and its applications.

Zhiyuan Guo is currently a graduate student at School of Mathematics and Statistics, Hefei University, China. His research interests are in cryptography and network security, especially in secret sharing and its applications.

Hongju Li received the MS degree in statistics from Guilin University of Technology, China in 2010. She is currently a Associate Professor at School of Mathematics and Big Data, Chaohu University, China. Her research interests are in algebraic coding and cryptography.

Yuying Man received the MS degree in mathematics from South Central Minzu University, China in 2022, and the PhD degree in Mathematics from Hubei University, China in 2025. She is currently an Assistant Lecturer at School of Mathematics and Big Data, Chaohu University, China. Her research interests are in cryptography, especially in cryptographic functions.

References

  1. [1]A. Shamir, “How to share a secret,” Commun. ACM, vol. 22, no. 11, pp. 612–613, 1979.
  2. [2]G. R. Blakley, “Safeguarding Cryptographic keys,” in 1979 International Workshop on Managing Requirements Knowledge (MARK), New York, NY, USA, 1979, pp. 313–318.
  3. [3]G. J. Simmons, “How to (really) share a secret,” in Advances in Cryptology — CRYPTO’88, LNCS 403, pp. 390–448, Springer, 1990.DOI
  4. [4]E. F. Brickell, “Some ideal secret sharing schemes,” J. Combin. Math. Combin. Comput., vol. 9, pp. 105–113, 1989.
  5. [5]T. Tassa and N. Dyn, “Multiparty secret sharing by bivariate interpolation,” J. Cryptology, vol. 22, no. 2, pp. 227–258, 2009.
  6. [6]O. Farràs, J. Martí-Farré and C. Padró, “Ideal multiparty secret sharing schemes,” J. Cryptology, vol. 25, pp. 434–463, 2012.
  7. [7]Q. Chen, C. Tang and Z. Lin, “Efficient explicit constructions of multipartite secret sharing schemes,” IEEE Trans. Inf. Theory, vol. 68, no. 1, pp. 601–631, 2022.
  8. [8]Q. Chen, C. Tang and Z. Lin, “Compartmented secret sharing schemes and locally repairable codes,” IEEE Trans. Commun., vol. 68, no. 10, pp. 5976–5987, 2020.DOI
  9. [9]F. L. Țiplea and C. Drăgan, “Asymptotically ideal Chinese remainder theorem-based secret sharing schemes for multilevel and compartmented access structures,” IET Inf. Secur., vol. 15, no. 4, pp. 282–296, 2021.DOI
  10. [10]J. Yang, H. Zhu, F.-W. Fu and S.-T. Xia, “A new compartmented secret sharing scheme based on the CRT for polynomial rings,” in 2026 IEEE International Symposium on Information Theory (ISIT), Guangzhou, China, pp. 1–6, IEEE, 2026.DOI
  11. [11]J. Yang, S.-T. Xia, X. Wang, J. Yuan, and F.-W. Fu, “A perfect ideal hierarchical secret sharing scheme based on the CRT for Polynomial Rings,” in 2024 IEEE International Symposium on Information Theory (ISIT), Athens, Greece, pp.321–326, IEEE, 2024.DOI
  12. [12]J. Yang, H. Zhu, F.-W. Fu, and S.-T. Xia, “A New Hierarchical Secret Sharing Scheme Based on The CRT for Polynomial Rings,” in 2026 IEEE International Symposium on Information Theory (ISIT), Guangzhou, China, 2026, pp. 1-6.DOI

Paper details

vlnc:W_yw2atrys
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents