scieee AI-readable full text Open interactive document viewer

Improved Bounds on the Threshold Gap in Ramp Secret Sharing

Cascudo, Ignacio,Skovsted Gundersen, Jaron,Ruano Benito, Diego

Abstract

Producción Científica

Full text

Improved Bounds on the Threshold Gap in Ramp Secret Sharing∗ Ignacio Cascudo† , Jaron Skovsted Gundersen‡ , and Diego Ruano§ Department of Mathematics, Aalborg University 1st March 2019 Abstract In this paper we consider linear secret sharing schemes over a finite field Fq, where the secret is a vector in F` qand each of the nshares is a single element of Fq. We obtain lower bounds on the so-called threshold gap gof such schemes, defined as the quantity r−twhere ris the smallest number such that any subset of rshares uniquely determines the secret and tis the largest number such that any subset of tshares provides no information about the secret. Our main result establishes a family of bounds which are tighter than previously known bounds for `≥2. Furthermore, we also provide bounds, in terms of nand q, on the partial reconstruction and privacy thresholds, a more fine-grained notion that considers the amount of information about the secret that can be contained in a set of shares of a given size. Finally, we compare our lower bounds with known upper bounds in the asymptotic setting. 1 Introduction Secret sharing, introduced independently by Blakley and Shamir [2, 28], is among the most useful primitives in cryptography. A secret sharing scheme allows to distribute the knowledge of a secret among nparticipants by sending each of them a piece of information (a share), in such a way that only certain prescribed subsets of these participants can reconstruct the secret from the joint information they have received. Secret sharing ∗This work is supported by the Danish Council for Independent Research, grant DFF-4002- 00367, the Spanish Ministry of Economy/FEDER: grants MTM2015-65764-C3-2-P, MTM2015-69138- REDT, and RYC-2016-20208 (AEI/FSE/UE), and Junta de CyL (Spain): grant VA166G18. Accepted in Transactions on Information Theory, https://ieeexplore.ieee.org/document/8654006. DOI 10.1109/TIT.2019.2902151. Copyright (c) 2017 IEEE. Personal use of this material is permitted. However, permission to use this material for any other purposes must be obtained from the IEEE by sending a request to pubs-p[email protected]. †Department of Mathematical Sciences, Aalborg University, Denmark. Email: [email protected] ‡Department of Mathematical Sciences, Aalborg University, Denmark. Email: [email protected] §IMUVA (Mathematics Research Institute), University of Valladolid, Spain and Department of Mathematical Sciences, Aalborg University, Denmark. Email: [email protected] 1 schemes are not only useful as a stand-alone primitive that can be used for secure distributed storage of information, but also play an important role as an element in more complex cryptographic tools, in areas such as threshold cryptography or secure multiparty computation. In the study of secret sharing schemes and its applications it is often interesting to determine the amount of information about the shared secret that can be derived from pooling together a certain fixed number of shares. We say that a secret sharing scheme has t-privacy if any set of tshares provides no additional information about the secret to what was known a priori. On the other hand, the secret sharing scheme has r-reconstruction if the knowledge of any set of rshares uniquely determines the secret. By abuse of notation, fix tto be the largest integer for which there is t-privacy and fix rto be the smallest integer for which there is r-reconstruction. Then obviously 0≤t<r≤n, and we define the threshold gap as g=r−t, which is thus a strictly positive integer. It is usually desirable for applications of secret sharing that the privacy and reconstruction thresholds are as close as possible and hence, that the threshold gap is small. Since this allows to optimize the compromise between security against an adversary who attempts to learn enough shares to gain information about the secret (for which we want to set tlarge), and resilience against losing a number of shares by corruption or other reasons (for which we want to set rsmall). Secret sharing schemes with threshold gap g= 1 are called threshold secret sharing schemes. Shamir’s secret sharing scheme (see Section 2 for its definition) is the most well-known example of a threshold secret sharing scheme: for any integers tand nwith 1≤t < n, one can construct a Shamir secret sharing scheme for nparticipants with t privacy and t+ 1 reconstruction. However, Shamir’s scheme presents some restrictions regarding the size of the secret and shares in terms of n: in first place, both the secret and each of the shares are elements of the same finite field, which means that each of the shares is as large as the secret; in second place, the finite field must have at least n+ 1 elements (remember nis the number of participants) and therefore each share must be at least log(n+ 1) bits long. Typically, in applications of secret sharing we would like the secret to be as large as possible while the shares are small, but it turns out that the two restrictions above are unavoidable for threshold secret sharing schemes, and more in general in secret sharing schemes with small threshold gap. Consider first the relation between the size of the shares and the size of the secret. It is well-known that in any threshold secret sharing scheme, each share must be at least the same size as the secret (this holds more generally for any perfect secret sharing scheme, i.e., any secret sharing scheme where every set of shares either has full information about the secret or no information about it). And, more generally, if every share is an element of a certain alphabet of size qand the secret is a-priori uniformly distributed in an alphabet of size M, then it necessarily holds that g≥logqM. (1) This is a well known bound that is included as a special case of more general results in [4, 19, 25, 26], which relate the size of the secret and shares to various properties of the access and adversary structures of the secret sharing scheme1. However, when the 1The access structure is defined as the family of sets of participants which can determine uniquely 2 only parameter about these structures we consider is the threshold gap, the bound in (1) is tight: it can be attained by a generalization of Shamir’s scheme frequently known as packed Shamir’s scheme, first proposed by Blakley and Meadows [3] (also defined in Section 2) where each share is in a finite field Fq, the secret is in F` qfor some `≥1and we have g=`. We point out that this secret sharing scheme requires that q≥n+`, which indicates that a large number of participants nwill also introduce a restriction for the threshold gap and the size of secrets and shares, as we will see next. First, we note that the size of the shares in a threshold scheme is restricted by the number of participants, as a series of results have shown. In first place, it is known that threshold secret sharing schemes where the secret and each share is in the same alphabet are equivalent to maximum distance separable (MDS) codes (MDS codes are those which attain the so-called Singleton bound, see for instance [23]). The length of these codes is upper bounded by the size of the alphabet over which they are defined. Exploiting this connection, one can already show that if 1≤t<n−1(and g= 1, since we are considering threshold schemes), then n < 2q−2(see [12], Theorem 11.113). But even in the more general case where we do not assume that the secret is in the same alphabet as the shares (for example even if the secret is just one bit), it was first noticed in the unpublished work [20] (see [7] for the statement and proof) that in any threshold scheme the average bitlength λ∗of the shares is Ω(log(n−t)). The result was later generalized in [7], where it was shown that for any secret sharing scheme where t≥1 (no individual participant obtains information about the secret) it necessarily holds that g≥n−t+ 1 2λ∗. If all shares belong to some alphabet of cardinality q, the bound can be rewritten as g≥n−t+ 1 q.(2) This bound hence establishes that, for certain values of tand n, there exist limitations on how small the threshold gap can be that depend solely on the size of the shares (and not on the secret). The bound was shown to be tight for t= 1 and t= 2 (the latter only in the case q= 2) in [27]. Later, [6] showed that if r≤n−1, the bound g≥r+ 1 q holds, which together with the bound in [7] implies g≥n+ 2 2q−1(3) as long as 1≤t<r≤n−1. This last bound had been shown earlier by [7] only in the case where the secret sharing scheme is Fq-linear. The two kinds of limitations that we have mentioned, represented by Equations (1) and (3) above are incomparable: the former depends on the relation between the sizes of the secret from the shares they hold while the adversary structure is the family of sets of participants which can obtain no information about the secret (beyond what they know a priori) from their shares. 3 the secret and shares, while the latter sets limitations on the relation between the size of the shares and the number of participants. Note that, even though the bound given in Equation (1) can be attained by the Blakley-Meadows construction, this requires that n<q, and therefore the bound is not necessarily tight when ngrows in relation to q(and in fact in general it cannot be attained, by virtue of Equation (3)). It is then natural to investigate what bounds one can get which depend on all these parameters simultaneously. In this regard, for Fq-linear schemes where the secret is in F` qwith `≥2 and each share is in Fq, [7] showed the bound g≥n+ 2 2q+ 1 +2q 2q+ 1(`−1) (4) which is tighter than the straightforward combination g≥max{`, n+2 2q−1}of Equations (1) and (3), when `is large enough. Another bound depending on both the share size and the relation between the size of the shares and the size of the secret can be deduced from [13]. In the language of all-or-nothing transforms they present a bound which in the setting of secret sharing implies g≥r q+ 1 −q−1 q r q`−1.(5) Here one should note that as `increases the bounds tends to g≥r q+ 1. So for large enough `the bound in (4) performs better than this bound.2 1.1 Contributions In this paper we focus on Fq-linear secret sharing schemes where secrets are in F` qand every share is in Fq. In Section 3, we improve the bound (4) given in [7]. More precisely our main result (Theorem 3.2) is a family of bounds given by g≥qm−1 qm+1 −1(n+ 2) + qm+1 −qm qm+1 −1(`−2m),(6) for m= 0,1, . . . , ` −1, and we show that for any `≥2, there is some mfor which this new bound is tighter than (4). We obtain these bounds by proving limitations on the so-called partial privacy and reconstruction thresholds. These are defined as follows: let ri, for i= 1, . . . , `, be the smallest number such that every set of shares of that size gives at least i q-bits of information about the secret and let ti, also for i= 1, . . . , `, be the largest integer such that every set of shares of that size learns less than i q-bits about the secret. We call tiand ri the partial privacy and reconstruction thresholds, respectively, and note that r`=rand t1=twhich means that g=r`−t1. 2We also remark the similarities with the bound from Theorem 4.4 stating that g≥r+1 q+q−1 qbi, where biis an non-negative integer. With bi≥1this bound is tighter than r q+ 1 and even for bi= 0 the bound in (5) can only be one unit larger and in order to be larger we require a large `. 4 Relative generalized Hamming weight (RGHW) was first studied in the context of wiretap channel of type II, see [22]. However, when representing a linear secret sharing scheme as a nested code pair, it is shown in [17, 21] that the RGHWs of the pair of nested codes used in the construction determine the partial thresholds. Combining this with the Griesmer bound on the RGHWs implies limitations for tiand riwhich eventually leads to the bounds in (6). We emphasize that the improvement over (4) comes from two sources. The main one is the fact that we use results on the application of Griesmer bounds directly to the RGHWs instead of using a shortening argument to bound rand tand then applying the Griesmer bound to the resulting code as in [7]. In addition, we set a parameter mthat determines how we bound each of the summands appearing in the Griesmer bound, while [7] simply set m= 1. This provides more flexibility, which for example is beneficial when proving asymptotic bounds (see Theorem 5.1). In Section 4 we prove some additional results on the relation between the partial privacy and reconstruction thresholds. We remark that this also imply bounds on the RGHWs and therefore might also be relevant in the context of wiretap channel of type II. In this section we follow more or less the same approach as in [7] but generalize some of their results on rand tto the partial thresholds. We derive that as long as t≥1, we necessarily have ri≥n q`−i+1 + 1 for all i∈ {1, . . . , `}. Note that for i=`we obtain r≥n q+ 1. This is a bound that was also shown in [7] and was used to prove the more general inequality (2). Moreover, we can also prove this bound under milder conditions, namely if tj≥jfor some j∈ {1, . . . , `}, then the same bound ri≥n q`−i+1 + 1 holds, but now for every i∈ {j, j + 1, . . . , `}. This leads to the following generalization of (3): g≥n+ 2 2q−1+q−1 2q−1(ai+bi), where ai=ti−t−i+1 ≥0and bi=r−r`−i+1 −i+1 ≥0are two quantities that capture how much the scheme deviates from the situation where t1=t, t2=t+1, . . . , t`=t+`−1 and r`=r,r`−1=r−1, . . . , r1=r−`+1, which occurs in the scheme of Blakley-Meadows (also known as packed Shamir), and which would correspond to ai= 0,bi= 0 for all i. At last in this section, we consider an example attaining this bound. There are several potential uses of partial reconstruction and privacy thresholds in cryptography. For example, the notion of functional secret sharing introduced in [1] considers a scenario where large enough sets of participants can recover certain functions of the secrets and hence the threshold rigives us some information about functional secret sharing schemes where the output of the functions of interest consist of i q-bits. On the other hand, considering a relaxed notion of privacy (the threshold ti) may be interesting in applications where secret sharing is combined with some other privacy amplification technique. For example with the goal of constructing a linear-time encodable secret 5 sharing scheme [11] combines an error correcting code (which can be seen as a secret sharing scheme where small sets of participants can obtain partial information about the secret) with a hash function that destroys this partial information, so that perfect privacy is obtained in the final construction. This combination of “imperfect” secret sharing and privacy amplification may be of interest in secure computation, too. Our bounds on ti and riwould set some limitations on those potential applications as well. Finally, we consider asymptotic secret sharing schemes in Section 5. We adopt the setting considered in [16], define an asymptotic threshold gap (in Equation (24)) and provide the asymptotic version of the previous bounds. At the end, we compare our bound with the asymptotic version of the bounds in [7] and investigate how sharp is our bound by comparing it with threshold gaps of secret sharing schemes constructed from algebraic geometric codes (in the case of large fields) and from random linear codes (for small fields). 2 Secret Sharing In this section, we recall some notions regarding secret sharing schemes and their relationship with linear codes. Let S0, S1, . . . , Snbe random variables taking values in the finite alphabets S0,S1,...,Sn. Then we call S= (S0, S1, . . . , Sn)a vector of random variables. In this paper, we let I={0,1, . . . , n}and I∗={1,2, . . . , n}for some n∈Nand for a subset A⊆ I we denote by SAthe vector (Si)i∈A. Notice that S=SI. With this notation we define a secret sharing scheme. Definition 2.1 (Secret Sharing Scheme): A secret sharing scheme Σis a vector of random variables S= (S0, S1, . . . , Sn)∈ S0×S1×···×Sn, such that Hq(S0) = logq|S0|, where Hqis the Shannon entropy with base q.3Further, we require that Hq(S0|SI∗) = 0. We call S0the secret and, for i∈ I∗, we call Sithe i’th share. The scheme has n participants, which we identify with the set I∗, and the i’th participant holds Si, for i= 1,2, . . . , n. The requirement that Hq(S0) = logq|S0|implies that the random variable S0is uniformly distributed in S0; while it is of course possible to consider secret sharing schemes with a different distribution on the secret space, it was shown in [5] that such scheme could be transformed into one where the distribution of secrets is uniform and with the same reconstruction and privacy thresholds (introduced below). Therefore, this assumption is without loss of generality for our purposes. 3Note that Hqis the Shannon entropy of base qand not the Rényi entropy of order q. 6 The other requirement, that Hq(S0|SI∗)=0, means that the secret is uniquely determined by the set of all the shares with probability 1. A secret sharing scheme is called linear if Sis uniformly distributed on some subspace V⊆ S0×S1×···×Snand if Siis a Fq-vector space for all i∈ I where Fqis the finite field with qelement. In this paper, we will focus on the schemes, where Siis one-dimensional for i∈ I∗and S0is `-dimensional. Without loss of generality we can assume that S0=F` q and Si=Fqfor the i∈ I∗. Linear secret sharing schemes are also characterized by the following property; consider two secrets s,t∈ S0=F` q. Let x∈Fn qbe a possible share vector for the secret s, i.e. P((S0,SI∗) = (s,x)) >0, and y∈Fn qa possible share vector for t. Thus, (s,x)∈V and (t,y)∈V. For a, b ∈Fq, we have (as+bt, ax+by)∈V, proving that P((S0,SI∗) = (as+bt, ax+by)) >0. Therefore, a linear combination of share vectors results in a share vector for the same linear combination of the corresponding secrets. This property makes linear secret sharing schemes very useful for secure multiparty computation and threshold cryptography. Well known examples of linear secret sharing schemes are Shamir’s secret sharing scheme and its generalization by Blakley and Meadows, described below. Assume that n+`≤q. Let α0,1, α0,2, . . . , α0,`, α1, α2, . . . , αn∈Fqbe pairwise-distinct. Fix an integer `−1≤k≤n−1and define the vector of random variables Sgiven by selecting a polynomial uniformly at random among the set of polynomials in Fq[X]of degree less than kand defining S0as the variable taking the value (f(α0,1), f(α0,2), . . . , f(α0,`)) ∈F` q and each of the Si’s as the variables taking values f(αi)∈Fq. Note that the condition n+`≤qcan be weakened to n≤qby using an element of an extension field as a single evaluation point for the secret, rather than the elements α0,1, α0,2, . . . , α0,`, as was done in for example [9]. Shamir’s scheme as defined in [28] is the version with `= 1 and α0,1= 0. Blakley and Meadows’ scheme is sometimes referred to as packed Shamir’s scheme. It is easy to verify that this scheme is linear. The following alternative definition of linear secret sharing schemes was given in [10]. For completion we show that the definitions are equivalent in Appendix A. Let C1, C2, and Lbe linear codes in Fn q, such that C1=L⊕C2. Further, let dim L= `,dim C2=k2,dim C1=k1=k2+`, and let {b1,b2,...,b`}be a basis of Land {b`+1,b`+2,...,bk1}be a basis of C2. We define a linear secret sharing scheme from the nested linear codes C2(C1in the following manner. Given the secret s∈F` q, choose k2 uniformly random elements in Fq, say a1, a2, . . . , ak2. Then the vector c=s1b1+s2b2+···+s`b`+a1b`+1 +a2b`+2 +···+ak2bk1∈C1 is called a share vector and the i’th share is defined to be the i’th entry of this vector c. One should notice that, setting the distribution of the secret to be uniform in F` q, this is indeed a secret sharing scheme according to our definition, since the set of all shares corresponds to a vector in C1=C2⊕Lwhich can be projected into a unique element in L. In secret sharing, we are interested in determining which subsets of participants are able to reconstruct the secret from their shares and which subsets are not. This leads to the definition of privacy and reconstructing sets. 7 Definition 2.2 (Privacy and Reconstructing set): Let Σbe a secret sharing scheme given by the vector of random variables Sand let A⊆ I∗. Then Ais a privacy set if Hq(S0|SA) = Hq(S0), and Ais a reconstructing set if Hq(S0|SA) = 0. As in Definition 2.1, Hq(S0|SA) = 0 implies that the secret is uniquely determined by the shares held by the participants in A. On the other hand, Hq(S0|SA) = Hq(S0)is equivalent to S0and SAbeing independent. Therefore, the participants in Ahave no information about the secret from their shares. Additionally, we can define the information held by the participants in Ausing the mutual information Iq(S0,SA) = Hq(S0)−Hq(S0|SA).(7) This quantity is measured in q-bits and lies between 0≤Iq(S0,SA)≤Hq(S0). It equals 0 exactly when Ais a privacy set and it equals Hq(S0)exactly when Ais a reconstructing set. One should notice that for linear secret sharing schemes with S0=F` qwe have Hq(S0) = `. Furthermore, it is shown in [21] that for such schemes the mutual information is given by Iq(S0,SA) = dim πA(C1)−dim πA(C2),(8) where πAis the projection πA:Fn q→F|A| qgiven by πA(c) = cA. Hence, we conclude that, in linear secret sharing, the information about the secret held by some set of participants, when expressed in q-bits, is always an integer between 0and `. Furthermore, we have for a subset A⊆ I∗and an element i∈ I∗\Athat Iq(S0,SA)≤Iq(S0,SA∪{i})≤Iq(S0,SA)+1. The set of all privacy sets is called the adversary structure of the scheme and is denoted by A(Σ). Similarly, the set of all reconstructing sets is called the access structure and is denoted by Γ(Σ). From these definitions we introduce some thresholds for the secret sharing schemes. Definition 2.3 (Privacy and Reconstruction Threshold): Let Σbe a secret sharing scheme with adversary structure A(Σ) and access structure Γ(Σ). The privacy threshold tfor the scheme Σis given by the maximal ssuch that {A⊆ I∗:|A|=s}⊆A(Σ). Similarly, the reconstruction threshold ris given by the minimal ssuch that {A⊆ I∗:|A|=s} ⊆ Γ(Σ). Definition 2.4 (Threshold gap): Let Σbe a secret sharing scheme, and let tand rbe the privacy and reconstruction threshold, respectively. Then g=r−t is the threshold gap. 8 By (7) it can be deduced that 0≤t<r≤n, and therefore the threshold gap gis always a positive integer. Secret sharing schemes with r=t+ 1, and therefore g= 1, are called threshold secret sharing schemes. As mentioned in the introduction it is often desirable to have a small g, but this will have the disadvantage that the shares are large compared to the secret, which means one has to consider this trade-off. In a secret sharing scheme with secrets larger than the shares, some subsets of participants will obtain partial information about the secret. This gives rise to defining the partial privacy and reconstruction thresholds in a similar manner that we defined tand r. Definition 2.5 (Partial Privacy and Reconstruction Thresholds): The i’th partial privacy threshold of a secret sharing scheme, ti, is given by ti= max{s| ∀A⊆ I∗,|A|=s, Iq(S0,SA)< i}. Similarly, the i’th partial reconstruction threshold, ri, is given by ri= min{s| ∀A⊆ I∗,|A|=s, Iq(S0,SA)≥i}. This means that tiis the maximal number such that all sets of tiparticipants do not obtain i q-bits of information. On the other hand, riis the minimal number such that all subsets of riparticipants can reconstruct i q-bits of information. Since the information in q-bits is always a nonnegative integer and the maximum information is `we have that t=t1and r=r`. We will denote the dual of a linear code Cby C⊥, the minimum distance by dmin(C), the support by supp(C) = {i:∃(c1, c2, . . . , cn)∈C, ci6= 0}, and the support weight by wS(C) = |supp(C)|. With these definitions, the i’th relative generalized Hamming weight (RGHW) is defined as Mi(C1, C2) = min{wS(D) : D⊆C1, D ∩C2={0},dim(D) = i}. We notice that the first RGHW is simply the minimum Hamming weight of C1\C2, which implies that dmin(C1)≤M1(C1, C2). For C2={0}we have dmin(C1) = M1(C1, C2). In [17, 21] it is shown that the RGHWs characterize the partial privacy and reconstruction thresholds. They showed that ti=Mi(C⊥ 2, C⊥ 1)−1 ri=n−M`−i+1(C1, C2)+1.(9) Further, it is shown in [22] that Mi(C1, C2)is strictly increasing with i, which implies that ti< ti+1 and ri< ri+1, for all i= 1,2. . . ` −1. In particular, (9) yields t=M1(C⊥ 2, C⊥ 1)−1 r=n−M1(C1, C2)+1 g=n−M1(C1, C2) + M1(C⊥ 2, C⊥ 1)+ 2, (10) 9 which implies that X r1∈C2X r2∈C2··· X r`−i+1∈C2 wS(V(r1,r2,...,r`−i+1)) = X r1∈C2X r2∈C2··· X r`−i+1∈C2 n X m=1 dim πm(V(r1,r2,...,r`−i+1)) = n X m=1 X r1∈C2X r2∈C2··· X r`−i+1∈C2 dim πm(V(r1,r2,...,r`−i+1)). In each term the dimension can either be zero or one. It is zero exactly when πm(rk) = −πm(vk) for all k= 1,2, . . . , ` −i+ 1. By the assumptions on vk, we have that πm(rk) = −πm(vk) for at least qk2−1of the elements rk∈C2for a specific m. Since this holds for all k= 1,2, . . . , ` −i+ 1, we have that πm(rk) = −πm(vk), for all k, at least q(`−i+1)(k2−1) times. Hence, n X m=1 X r1∈C2X r2∈C2··· X r`−i+1∈C2 dim πm(V(r1,r2,...,r`−i+1)) ≤ n X m=1 q(`−i+1)k2−q(`−i+1)(k2−1) =nq(`−i+1)k21−q−(`−i+1) Combining this inequality with (20) we obtain that q(`−i+1)k2(n−ri+ 1) ≤nq(`−i+1)k21−q−(`−i+1)⇔ ri≥n q`−i+1 + 1. We first define the notion of shortening a secret sharing scheme and prove some results on the shortened schemes parameters before we prove the bounds on the threshold gap. Let C2⊆C1define a secret sharing scheme and let A⊆ I∗. Now define ¯ A=I∗\A. Then the shortened secret sharing scheme is given by the code pair CA 2(CA 1, where CA i=π¯ A(ker πA(Ci)). Lemma 4.3: Let A⊆ I∗be a set of participants in the secret sharing scheme defined by C2(C1such that Iq(S0,SA) = m. Denote by `Athe dimension of LA, where LAis a code such that CA 1=LA⊕CA 2. Additionally, denote by tA iand rA ithe partial privacy and reconstruction thresholds of the shortened scheme CA 2(CA 1, and let nAbe the length of the shortened codes. Then nA=n−|A|, `A=`−m tA i≥ti+m−|A|, rA i≤ri+m−|A|, 16 for all i∈ {1,2, . . . , `A}. Proof: The result on nAfollows from the definition of π¯ A. For `Awe use Forney’s first duality lemma [14], stating that for a code C, dim C= dim πA(C) + dim CA. This leads to `A= dim CA 1−dim CA 2 =k1−dim πA(C1)−k2+ dim πA(C2) =`−m. Now let B⊆¯ Aand notice, that knowing |B|shares in the scheme CA 2(CA 1corresponds to knowing |B∪A|=|B|+|A|shares in the scheme C2(C1. However, for B=∅, we have Iq(S0,S∅)=0in the shortened scheme, while it gives Iq(S0,SA) = min the original scheme. So the information held by Bin the shortened scheme equals Iq(S0,SA∪B)−m in the original scheme. If |B|+|A| ≤ ti+m, the participants will know at most i+m−1q-bits in the scheme C2(C1. This corresponds to knowing at most i−1q-bits in the shortened scheme, and hence tA i≥ti+m−|A|, for i∈ {1,2, . . . , `A}. Similarly for rA i, if |B|+|A| ≥ ri+m, the participants in Bwill know at least i q-bits in the shortened scheme, showing that rA i≤ri+m−|A|. We will use the notation aiand bito describe the gaps between tiand t, and rand r`−i+1, respectively. Therefore, denote by ai=ti−t−i+ 1 bi=r−r`−i+1 −i+ 1.(21) Since t=t1,r=r`, we have that a1=b1= 0. Using that tiand riare strictly increasing with iwe have that ai≥0and bi≥0. Another way to interpret aiand biis to consider the ti’s and ri’s as a staircase. Two consecutive ti’s differ by at least one unit. The values aimeasure how different the sequence of tibehaves from the case where all these steps t0 i:= ti−ti−1are exactly 1 (this happens in the Blakley-Meadows’ scheme). Indeed ai−ai−1=ti−ti−1−1. So if all steps t0 iare 1, then all ai’s are 0, and in general ai=Pi j=2(t0 i−1), the sum of “all deviations from 1” up to step i. An analogous relation holds with with riand bi. This also implies that aiand biare non-decreasing with i, which is useful in the following theorem. Theorem 4.4: Let C2(C1define a secret sharing scheme. Fix some i∈ {1,2, . . . , `} and let aiand bibe as in (21). If ti≥i, then the threshold gap gsatisfies g≥n−t+ 1 q+q−1 qai.(22) 17 If r`−i+1 ≤n−i, then the threshold gap gsatisfies g≥r+ 1 q+q−1 qbi.(23) If both ti≥iand r`−i+1 ≤n−i, then the threshold gap gsatisfies g≥n+ 2 2q−1+q−1 2q−1(ai+bi). Proof: Choose Asuch that |A|=t−1 + ai. Hence, the shortened scheme given by CA 2(CA 1 has parameters nA=n−t+ 1 −ai,rA≤r−t+ 1 −ai, and tA i≥iby Lemma 4.3. By Theorem 4.2 and Lemma 4.3, the threshold gap now satisfies g=r−t≥rA+ai−1 ≥nA q+ai =n−t+ 1 −ai q+ai =n−t+ 1 q+q−1 qai. By (9) and (10) one has that the dual scheme has thresholds t⊥ i=n−r`−i+1 and r⊥ `−i+1 =n−ti. Therefore, the threshold gap of the dual scheme is the same as for the original and aiof the dual equals bi. We can use the bound in (22) on the dual scheme if it holds that t⊥ i≥i, but this is equivalent to the assumption r`−i+1 ≤n−i. Therefore, we obtain g≥n−t⊥+ 1 q+q−1 qbi=r+ 1 q+q−1 qbi. The last bound is obtained by summing the bounds in (22) and (23). 2g≥n−t+1+r+ 1 q+q−1 q(ai+bi) = n+g+ 2 q+q−1 q(ai+bi)⇔ g≥n+ 2 2q−1+q−1 2q−1(ai+bi). The bounds in [7], stating that g≥n−t+ 1 q, g ≥r+ 1 q, g ≥BCCX(1)(n, q), if t≥1and r≤n−1, are a particular case of this theorem. In the following example we will consider a scheme attaining the bounds in Theorem 4.2. We will also note in which cases, for this particular example, the bounds from Theorem 4.4 are sharp. Similar examples of codes attaining the bound g≥n−t+1 qcan be found in [27]. 18 Example 4.5: Let vT 1,vT 2,...,vT q`be all possible vectors in F` q, and define the code C1 from the (`+ 1) ×q`generator matrix G=v1v2··· vq` 1 1 ··· 1 where C2is generated by the last all-one row. Then clearly Iq(S0, Sj) = 1 −1 = 0 by (8) for all 1≤j≤n, meaning that t≥1. In fact ti=ifor all iin this example. This comes from the fact that the canonical basis vectors and the all zero vector lie in F` q. The set of participants corresponding to these vectors is a set with cardinality `+ 1, which can reconstruct all ` q-bits. Therefore, t`≤`, and from this we conclude ti=i. Hence, we will show that the bounds in Theorem 4.2 are sharp for this secret sharing scheme, that is ri=n q`−i+1 + 1 = q` q`−i+1 + 1 = qi−1+ 1. We consider a set of participants Aknowing i−1q-bits, and derive that |A| ≤ qi−1, which means that qi−1+1 participants will know at least i q-bits, and hence ri≤qi−1+1. Combining this with Theorem 4.2 yields ri=qi−1+ 1. Thus, assume that Aknows i−1q-bits and assume for contradiction that |A|> qi−1. First notice that by (8), we have dim πA(C1) = i−1 + dim πA(C2) = i On the other hand, we can determine the dimension of πA(C1)in another way by considering the generator matrix. Let A={j1, j2, . . . , jk}, where k > qi−1. Denote by GA=vj1vj2··· vjk 1 1 ··· 1 and G0 A=vj1vj2··· vjk. The rank of GAequals dim πA(C1). Clearly, rank(G0 A)≤rank(GA), but since |A|> qi−1, we obtain rank(G0 A) = i. This means that we have ilinearly independent columns, and without loss of generality we denote these by vj1,vj2,...,vji. Hence, all the columns in G0 Amust be of the form a1vj1+a2vj2+···+aivji, for some ak∈Fq. However, since rank(G0 A) = rank(GA)one has that Pi k=1 ak= 1. Therefore, |A| ≤ qi−1, contradicting the assumption on A. From this we conclude that ri=qi−1+ 1, showing that the bound in Theorem 4.2 is sharp for this example. The threshold gap in this example can also be determined; g=r−t=q`−1+ 1 −1 = q`−1. Now considering the bounds in Theorem 4.4 we show that some of these bounds are attained in this case as well. Since ti=i, we have that ai= 0 for all iin Theorem 4.4. Thus, n−t+ 1 q=q`−1+1 q=q`−1=g, 19 which shows that the inequality in (22) is sharp. We consider the inequality in (23) as well, and since biis non-decreasing we determine b`in order to make the bound as good as possible. b`=r−r1−`+ 1 = q`−1+ 1 −2−`+ 1 = q`−1−`. Hence, the bound states g≥r+ 1 q+q−1 qb`=q`−1+ 2 q+q−1 qq`−1−` =q`−1−`+2 + ` q. Note that there is no contradiction with g=q`−1, since the bound does not hold for `= 1 and q= 2. When `= 1 we require, in order to use the bound, that r≤n−1, but n= 21= 2 and r= 21−1+ 1 = 2 in this case. For this bound to be sharp `=2+` q, which implies `(q−1) = 2. Therefore, this bound is attained in the case where `= 2 and q= 2. The same would then hold for the last bound in Theorem 4.4, since this bound is obtained by summing the two previous bounds. J 5 Asymptotic Comparisons In this section we analyse the asymptotic behaviour of the bounds presented in Theorem 3.2 when the number of players ngrows, and the size of the secret `grows as a linear function of n. We assume the setting considered in [16]; let {Σj}∞ j=1 denote an infinite family of Fq-linear secret sharing schemes with increasing number of participants njand where Σj has secrets in F`j q, so that {`j}∞ j=1 is a monotonely increasing sequence such that lim j→∞ `j nj =L, for some L∈Rwith 0<L<1. To simplify, we assume that if we denote k1(j), k2(j)the dimensions of the codes C1and C2in any nested code pair representation of {Σj}, then k1(j) njconverges to some R1∈R and k2(j) njconverges to some R2∈R. Clearly, L=R1−R2since `j=k1(j)−k2(j). Denote the privacy threshold and reconstruction threshold of Σjby t(Σj)and r(Σj) respectively. Furthermore, we define Ω(1) = lim inf j→∞ t(Σj) nj and Ω(2) = lim sup j→∞ r(Σj) nj . Additionally, we denote the threshold gap of Σjby g(Σj)and define Ω(3) = lim sup j→∞ g(Σj) nj .(24) 20 Figure 1: Illustration of Ω(3). The solid lines illustrate t(Σj) njand r(Σj) nj, both as a function of j, and the black vertical dashed line illustrates g(Σj) njfor a specific j. Note that Ω(3) does not necessarily equal Ω(2) −Ω(1). Indeed, in general we have Ω(3) = lim sup j→∞ r(Σj) nj−t(Σj) nj≤lim sup j→∞ r(Σj) nj−lim inf j→∞ t(Σj) nj = Ω(2) −Ω(1).(25) but equality may not hold as the example illustrated in Figure 1 shows. The lower dashed line illustrates Ω(1) and the top dashed line Ω(2). As we can see in the figure, the difference between Ω(2) and Ω(1) is larger than the actual threshold gap, which is the black vertical dashed line. We now present the asymptotic version of the bound g≥BGr(m)(n, q, `)together with bounds on Ω(1) and Ω(2). Theorem 5.1: Let {Σj}be a family of secret sharing schemes over Fqas above. We have Ω(1) ≤q−1 qR2, Ω(2) ≥1 q+q−1 qR1, Ω(3) ≥1 q+q−1 qL. (26) 21 Proof: We have by Theorem 3.2 that t(Σj) nj≤qmj+1 −qmj qmj+1 −1k2(j) nj +mj nj +1 nj−1 nj , r(Σj) nj≥qmj−1 qmj+1 −1+qmj+1 −qmj qmj+1 −1k1(j) nj−mj nj−1 nj+1 nj , g(Σj) nj≥qmj−1 qmj+1 −11 + 2 nj+qmj+1 −qmj qmj+1 −1`j nj−2mj nj (27) where mjis any choice of mfor Σjin Theorem 3.2, i.e. mj∈ {0, . . . , `j−1}. In particular we can choose mjas a function of njsuch that mj=o(nj)but still limj→∞ mj= ∞, for example mj= min{`j−1,blog njc} (where L > 0implies that for large enough j, we simply have mj=blog njc). Letting jtend to infinity in (27) with such selection of mj, we obtain the claimed result. It is not difficult to see that the bound Ω(3) ≥1 q+q−1 qL that we just derived is strictly tighter than the asymptotic versions of the bounds g≥`, BCCX(1)(n, q), and BCCX(2)(n, q, `), which are respectively Ω(3) ≥L, Ω(3) ≥1 2q−1,Ω(3) ≥1 2q+ 1 +2q 2q+ 1L, for any qand any 0<L<1. We show these four bounds on Ω(3) in Figure 2 for the case q= 2. In the rest of this section, we collect known results on upper bounds for Ω(3), and compare them with the lower bounds we have obtained. We will consider algebraic geometric codes and random codes. As far as the authors know, secret sharing schemes from algebraic geometric codes yield the smallest values of Ω(3) when the finite field Fqis sufficiently large, while random codes give smaller Ω(3) for small q. An algebraic geometric evaluation code is defined from an algebraic function field F, a divisor Gof F(which determines a space of functions to be evaluated) and a set of rational places in F(as evaluation points), the latter usually represented by a divisor D. We remit the reader to [29] for details. Secret sharing schemes defined from algebraic geometric codes where first considered in [8]. We here use the construction from [10], defined by a nested code pair where both codes are algebraic geometric codes defined using the same function field Fand the set of all rational places as evaluation points, but different divisors G1,G2. Such secret sharing schemes then satisfy t≥k2−G and r≤k1+G, where Gis the genus of the function field, and k1, k2are as always the dimensions of the two linear codes. Moreover, the length of these codes (and hence the number of shares n) is the number of rational places of the function field. Consider now an optimal tower of function fields {Fj}∞ j=1, i.e. limj→∞ Nj Gj=A(q) where Nj,Gjare respectively the number of rational places and genus in Fjand A(q)is 22 Figure 2: Comparison of asymptotic bounds on the threshold gap for q= 2. the so-called Ihara’s constant and Gjis the genus. Applying the construction described above gives a family of secret sharing schemes such that Ω(1) ≥R2−1 A(q), Ω(2) ≤R1+1 A(q), see [16]. By (25) this implies Ω(3) ≤L+2 A(q).(28) While Ihara’s constant A(q)has not been determined for every q, we sum up some known facts next. First A(q)>0for all q, and in fact A(q)≥clog(q)for some constant c, see for instance [24]. On the other hand, A(q)≤√q−1, see [30]. If qis a perfect square, it was shown in [18] that A(q) = √q−1. Furthermore, Garcia and Stichtenoth gave a explicit construction [15] of an optimal tower of function fields in this case. Consequently, for small values of q, the bound in (28) is trivial since A(q)≤2. For large enough q, however, we have A(q)>2(for example for qsquare with q≥16). We observe the following, in relation with the lower bounds: the difference between the upper bound (28) and the lower bound from Theorem 5.1 is 2 A(q)−1 q(1 −L). Note that the term 1 q(1 −L)is precisely what the bound in Theorem 5.1 has gained with respect to the lower bound Ω(3) ≥L. However this factor is overshadowed by the 23 considerably larger factor 2/A(q). It is an interesting open question to bring these bounds together, by either proving stronger lower bounds or improving the known constructions. For small finite fields, the bounds in (28) are trivial and the best upper bounds are achieved by inifinite families of secret sharing schemes based on random codes. We follow the results from [10]. The following result is a consequence of the fact that random codes are on the Gilbert-Varshamov bound. Proposition 5.2: Let Cbe a random variable with the uniform distribution taking values in the set of all [n, k]linear codes over Fq, and let 0< d, d⊥<(1 −1 q)nbe integers. For a realization of C = Cwe then have P(dmin(C)< d)≤qk+n(Hq(d n)−1) P(dmin(C⊥)< d⊥)≤qnHq(d⊥ n)−k, where Hq(x) = xlogq(q−1)−xlogq(x)−(1 −x) logq(1 −x)is the q-ary entropy function. The q-ary entropy function Hqis strictly increasing and therefore injective in the interval [0,1−1 q](we define Hq(0) = 0 as usual) and there its image is the interval [0,1]. We can therefore define the inverse H−1 q: [0,1] →[0,1−1 q]. With this definition in mind, we can choose d n=H−1 q(1 −k n−ε0)and d⊥ n=H−1 q(k n−ε0)for some ε0>0and both probabilities above become lower than or equal to q−ε0n. A linear code C1can be chosen uniformly at random from all [n, k1]linear codes by rejection sampling of the elements biin its basis. The subcode C2(C1generated by the last k2basis elements is then also uniformly random among all [n, k2]linear codes. Combining Proposition 5.2 and the comment below with the inequalities in (11), we obtain Pr n<1−H−1 q1−k1 n−ε0+1 n≥1−q−ε0n Pt n> H−1 qk2 n−ε0−1 n≥1−q−ε0n, (29) For any fixed ε0>0the probabilities in (29) are larger than 0, and hence by the probabilistic method we conclude that there exists an infinite family of secret sharing schemes with Ω(3) ≤1−H−1 q(1 −R1−ε0)−H−1 q(R2−ε0). For a fixed L=R1−R2, the smallest value of the right-hand side is attained by setting R1close to 1(and hence R2close to 1−L) or, symmetrically, setting R2close to 0(and R1=L). In that case, the inequality becomes Ω(3) ≤1−H−1 q(1 −L) + ε, for any ε > 0. In Figure 3, we compare this upper bound, in the case q= 2, with our lower bound from equation (26). 24 Figure 3: Comparison of asymptotic lower and upper bounds (when R1= 1) on the threshold gap for q= 2. At last, we make the following remark on the asymptotic behaviors of the partial privacy and reconstruction thresholds, which is one of the main focus in the work [16]. There the authors define Λ(1)(δ1) = sup lim inf j→∞ tm1(j) nj {m1(j)}∞ j=1,1≤m1(j)≤`j,lim j→∞ m1(j) nj =δ1L, Λ(2)(δ2) = inf lim sup j→∞ r`j−m2(j)+1 nj {m2(j)}∞ j=1,1≤m2(j)≤`j,lim j→∞ m2(j) nj =δ2L. That is, asymptotically, no fraction less than Λ(1)(δ1)of the participants holds more than a fraction of δ1of the secret. Similarly, Λ(2)(δ2)ensures that asymptotically a fraction of Λ(2)(δ2)of the participants will be able to reconstruct a fraction of 1−δ2of the secret. In [16] the gap between the limitations on Λ(1)(δ1)and Λ(2)(δ2)and what is possible to achieve is almost closed. The limitations considered there are derived from (12), i.e., Λ(1)(δ1)≤R2+δ1L, Λ(2)(δ2)≥R1−δ2L. (30) We can obtain the same bounds from Theorem 3.2 by setting m= 0. However, contrary to what happens in the proof of Theorem 5.1, choosing mas a small fraction of `will not improve this bound in this case. 25