Manuscript Offprint
arXiv:2610.29224Cryptanalysis and Repair of "Decentralized Multi-authority ABE for NC from BDH"
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Xingwang Wang
Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai 200062, China
Abstract. We present a plaintext-recovery attack on the decentralized multi-authority attribute-based encryption construction of Datta, Komargodski, and Waters (Journal of Cryptology, 2023). The attack succeeds in the claimed static security model with one corrupt authority and two users whose individual attribute sets remain unauthorized even when combined with the corrupt authority's attribute. We trace the failure to an incorrect application of the matrix-normalization lemma for linear secret-sharing schemes originating with Rouselakis and Waters (FC, 2015): preservation of complete secret-share distributions is extended to ciphertext components containing coordinate-wise masks, whose joint distribution need not be preserved. These components allow a corrupt authority to expose masks that remove identity binding from other users' decryption shares. We repair the construction by replacing the coordinate-wise masks with independent full linear sharings of zero and prove static security under the decisional bilinear Diffie–Hellman assumption in the random oracle model. The repair retains the original matrix-width and row-labeling restrictions and leaves authority keys, user keys, decryption, and ciphertext size unchanged, at the cost of additional encryption randomness and finite-field arithmetic. We further give analogous attacks on both multi-authority attribute-based inner-product functional encryption constructions of Datta and Pal (PKC, 2023). The same modification preserves correctness and establishes matrix-substitution invariance for both variants. We prove static security for the repaired small-universe variant under asymmetric DBDH. For the large-universe variant, we identify a missing source-group encoding in the original reduction, formulate an augmented L-DBDH assumption, establish its generic bilinear group hardness, and give a complete static security reduction under this augmented assumption.
Keywords: Attribute-based encryption · Multi-authority encryption · Cryptanalysis · Linear secret sharing · Bilinear Diffie–Hellman
1 Introduction
Attribute-based encryption (ABE) associates decryption rights with attributes rather than with an explicit list of recipients [17,12,2]. A ciphertext-policy ABE
X. Wang
(CP-ABE) scheme encrypts under an access policy, and a user decrypts if its attributes satisfy that policy. Crucially, users who are individually unauthorized must not gain decryption capability by pooling their keys. Multi-authority ABE (MA-ABE), introduced by Chase [4], distributes attribute certification across different authorities. Lewko and Waters [14] developed decentralized MA-ABE, in which authorities generate their secret keys independently. Their user keys are tied to a common user identifier to prevent collusion across identities.
Linear secret-sharing schemes (LSSS) provide an efficient language for expressing access policies. A matrix M shares a secret z through , where the first coordinate of is z and its remaining coordinates are uniformly random. Authorized sets reconstruct the secret by a linear combination of their shares. Security arguments often change the basis of the sharing space to isolate rows controlled by corrupt authorities [16,6,7]. Applying such a transformation within an encryption proof requires examining how it affects all observable ciphertext components, rather than only the underlying secret shares.
From share invariance to an invalid ciphertext substitution. The matrix-normalization lemma originating with Rouselakis and Waters [16] permits a change of basis that preserves the joint distribution of complete LSSS shares while placing corrupt-authority rows in a form useful for simulation. Writing the transformed matrix as , the share-level guarantee follows by absorbing P into the sharing vector, where P is invertible and preserves its prescribed first coordinate. The security argument of Datta, Komargodski, and Waters [7] extends this guarantee to the entire challenge ciphertext. However, their ciphertext contains separately encoded terms , in addition to complete shares . Preserving the distribution of does not establish that of the coordinate-wise array . A change of basis can mix coordinates, whereas each scalar mask remains attached to a single coordinate. Consequently, the asserted equality of ciphertext distributions does not follow from the normalization lemma.
This application error is distinct from the earlier correction of the proof of the normalization lemma of Rouselakis and Waters [16]. Datta, Komargodski, and Waters [6] corrected a matrix-inversion argument in that proof and supplied a valid normalization transformation. Our analysis accepts the corrected share-level guarantee and shows that it does not justify the subsequent ciphertext-level substitution in their Journal of Cryptology construction.
From the proof gap to a plaintext-recovery attack. The main LSSS construction of Datta, Komargodski, and Waters [7] claims security under the decisional bilinear Diffie–Hellman (DBDH) assumption. Its ciphertext contains components of the form , together with . Here labels row , is an authority secret exponent, and is row randomness. A corrupt authority knows and can therefore remove the authority-dependent factor. Whenever , raising the remaining element to reveals without computing a discrete logarithm.
This observation yields a complete attack when the corrupt rows expose the coordinate masks needed by a set of colluding users. The adversary can then remove the identity-dependent terms from their decryption shares and combine the resulting shares across identities. We give an explicit three-row conjunction policy for which every queried identity remains unauthorized even when its attributes are combined with those of the corrupt authority. Nevertheless, one corrupt authority and two such users suffice to recover the challenge plaintext with probability one. The attack follows the original static commitment requirements and uses a matrix whose entries are only zero or one.
Our repair. For each hash coordinate , we replace by , where is sampled independently and uniformly subject to . The same vector is used across all rows for that coordinate. Authorized reconstruction cancels every such zero sharing, preserving the original decryption algorithm.
The modification also restores the distributional property required by the proof. Under an admissible change of basis, the sharing vector and all zero-sharing vectors can be transformed jointly while preserving their sampling distributions and independence. This gives equality of the complete ciphertext payloads under a suitable coupling, with the original policy retained in the ciphertext header. We then give a direct static DBDH reduction in the random oracle model. The repair preserves authority keys, user keys, decryption, and ciphertext size, at the cost of additional encryption randomness and finite-field arithmetic.
Extension to attribute-based inner-product functional encryption. The same issue arises in the small- and large-universe multi-authority attribute-based inner-product functional encryption (MA-ABIPFE) constructions of Datta and Pal [9]. Both retain coordinate-wise masking components, and their security arguments likewise extend share-level matrix normalization to the challenge ciphertext. We show that their additional functional-encryption components do not prevent the corresponding removal of identity-dependent masks. The attacks use unauthorized key queries and distinguish two one-dimensional challenge vectors; they do not request an authorized function key that separates the challenges.
Appendix A gives these attacks and the corresponding full zero-sharing modifications. We establish correctness and matrix-substitution invariance for both modifications and prove static security for the repaired small-universe construction. For the large-universe construction, we identify a separate auxiliary-component simulation gap in the original proof and close it under an explicitly augmented L-DBDH assumption. We give a generic bilinear group hardness argument for this new assumption and a direct static reduction for the modified scheme.
Contributions. Our contributions are as follows.
– We give an explicit plaintext-recovery attack against the target construction within its claimed static security model (Section 5). The attack uses a three-row LSSS policy, one corrupt authority, and two users whose attribute
X. Wang
sets remain unauthorized even when combined with the corrupt authority's attribute, and succeeds with probability one.
– We identify the invalid transition from share-level normalization to ciphertext-level distributional equivalence and give an explicit counterexample (Section 5.4). This application error is distinct from the previously corrected proof of the normalization lemma. Appendix B reconstructs the original security argument and isolates the failed implication.
– We replace coordinate-wise masks with independent full sharings of zero, prove correctness and joint payload invariance, and give a complete static DBDH reduction in the random oracle model (Sections 6 and 7). The reduction handles maliciously chosen corrupt-authority public keys and all committed key queries. Section 8 quantifies the additional randomness and field arithmetic.
– We extend the attack and zero-sharing modification to both multi-authority constructions of Datta and Pal [9] (Appendix A). We establish correctness and payload invariance for both modifications and prove static security for the small-universe variant. For the large-universe variant, we identify a separate simulation gap and close the reduction under augmented L-DBDH, whose generic bilinear group hardness we establish.
Scope and attribution. Our primary target is the construction in Section 4 and its security argument in Section 5 of the published Journal of Cryptology version of [7], under the static game in its Section 3.3. The attack uses a valid input to the explicit LSSS interface. Its applicability to a restricted policy compiler requires checking whether that compiler produces matrices satisfying the attack conditions; equivalence of access policies alone does not establish this. We do not analyze the separate fully adaptive construction of [8]. The main-body repair retains a fixed maximum matrix width and an injective row-labeling map, so each authority labels at most one row.
Organization. Section 2 reviews related work. Section 3 introduces the notation and static security model, and Section 4 recalls the target construction. Section 5 presents the attack and identifies the invalid matrix substitution. Sections 6 and 7 give the zero-sharing repair and its security proof. Section 8 analyzes its costs. Appendix A extends the analysis to the two MA-ABIPFE constructions and proves security of their modifications, using an augmented assumption for the large-universe variant. Appendix B reconstructs the original MA-ABE security argument.
Decentralized multi-authority ABE. Chase [4] introduced MA-ABE, and Lewko and Waters [14] developed decentralized MA-ABE. Rouselakis and Waters [16] obtained an efficient statically secure large-universe construction and introduced simulation techniques relevant to subsequent schemes. Datta, Komargodski, and Waters studied decentralized constructions from learning with errors (LWE) [6] and standard bilinear Diffie–Hellman (BDH) assumptions [7]. Their fully adaptive construction [8] additionally accommodates adaptive authority corruption and key queries. Waters, Wee, and Wu [19] construct MA-ABE without random oracles from evasive LWE. These works address different combinations of assumptions, policy classes, and corruption models.
Registered and multi-authority registered ABE. Hohenberger et al. [13] introduced registered ABE, in which users generate their own keys and register their public keys and attributes with a transparent key curator. The curator aggregates public keys and provides auxiliary decryption information without holding a master decryption secret. Zhu et al. [20] develop registered ABE via predicate encodings in prime-order bilinear groups, using dual-system techniques and arguments for handling malicious public keys. Garg et al. [11] reduce the common reference string (CRS) size and give a partitioning-based construction with static security whose CRS size is independent of the attribute-universe size. Lu, Waters, and Wu [15] extend the registered setting to multiple independent key curators, with a pairing-based construction for a bounded number of users and an obfuscation-based construction supporting an unbounded number. These models change who generates secret material and which public values may be adversarially chosen.
Coordinate-wise constructions and corruption. The DBDH-based CP-ABE construction in Section 6 of the full version of Waters [18] also contains coordinate-wise products of matrix entries and sharing randomness. Such a representation alone therefore does not identify the vulnerability studied here. In that construction, the attribute bases are generated by the trusted global setup, and the security experiment does not expose their discrete logarithms through authority corruption. Its selective-security proof embeds the committed challenge matrix into the public parameters. By contrast, the corrupt-authority interface in [7] exposes exponents that allow the adversary to remove authority-dependent ciphertext masks and obtain reusable coordinate-mask encodings. Our extraction attack exploits this additional information. It does not directly transfer to the single-authority construction merely because the two schemes use related algebraic components.
Matrix normalization and cryptanalysis. The full version of the LWE work of Datta, Komargodski, and Waters [6] corrects the original matrix-normalization proof of Rouselakis and Waters [16]. We use the resulting share-level guarantee
X. Wang
Table 1. Summary of attacks and repair guarantees.
| Property | DKW [7] | DP-SU [9] | DP-LU [9] |
|---|---|---|---|
| Original scheme | Broken | Broken | Broken |
| Repair correctness | Proved | Proved | Proved |
| Payload invariance | Proved | Proved | Proved |
| Static security | Proved | Proved | Proved |
| Assumption | DBDH | Asym. DBDH | Aug. -DBDH |
| Analysis | §5–7 | App. A | App. A |
DKW: the MA-ABE construction of Datta, Komargodski, and Waters; DP-SU/DP-LU: the small-/large-universe MA-ABIPFE constructions of Datta and Pal. Asym.: asymmetric. The attacks recover plaintexts for DKW and break indistinguishability for both DP variants. All remaining rows concern our modifications. Security is proved in the random oracle model under the stated static models and interface restrictions. Aug.: augmented with . The large-universe result uses this stronger assumption; see Appendix A.7.
and identify a separate application error: extending that guarantee to ciphertext components whose coordinate-wise masking distribution need not be preserved. Boyen's lattice ABE [3] provides another example of the distinction between a proof gap and an actual security failure; Agrawal et al. [1] give a polynomial-time attack against that construction. Our work supplies both an explicit attack on the pairing-based target and a modification of its masking randomness with a complete static-security proof.
Attribute-based inner-product functional encryption. Datta and Pal [9] construct MA-ABIPFE schemes combining decentralized access control with inner-product evaluation on vectors of unbounded length. Their small- and large-universe constructions rely on DBDH and its parameterized -DBDH variant, respectively; indexes the number of slots supplied by the latter assumption. Both contain coordinate-wise masking components to which our analysis extends. Appendix A gives admissible attacks, corresponding zero-sharing modifications, and a complete security proof for the repaired small-universe variant. The technical analysis uses the numbering of their full version [10]. For the large-universe variant, we close a separate auxiliary-component simulation gap under augmented -DBDH; this is a stronger assumption than the one stated in the source.
Summary of results. Table 1 summarizes our results for the three constructions. The attacks concern the original schemes; correctness, payload invariance, and security refer to our full zero-sharing modifications. For the large-universe MA-ABIPFE construction, the security reduction uses augmented -DBDH as defined in Appendix A.6.
3 Preliminaries and Security Model
3.1 Bilinear Groups and Linear Secret Sharing
Let be the security parameter. Let be prime, let and be cyclic groups of order , let generate , and let be a non-degenerate symmetric bilinear map. Write for the field with elements and set , a generator of . All exponents lie in . DBDH asks whether, given for independent uniform , the element is or an independent uniform element of . We use the difference-of-probabilities convention for DBDH distinguishing advantage.
Fix a polynomially bounded setup width . Write and use for uniform sampling. Bold vectors are columns unless transposed. For any matrix , let , , and denote row , entry , and the submatrix of rows indexed by , respectively. Write for the th standard basis vector of . Write for the invertible matrices.
An LSSS policy is , with a sharing matrix and an injective row-labeling map , where is the authority universe. Each authority controls one attribute. Smaller matrices are padded with zero columns to the fixed setup width . For , authorization means that . Reconstruction coefficients satisfy . An unauthorized set admits a vector satisfying and . Both statements follow by elementary linear algebra.
For a secret , define the zero-sharing subspace and the affine sharing space . A sharing of samples uniformly from ; a zero sharing samples a vector uniformly from .
3.2 Static Security
We use the batched static model of [7,16]. After receiving global parameters, an adversary commits to: a corrupt authority set and its public keys; a disjoint honest authority set ; key requests (id, ), where id is a user identifier and lists its requested authorities; all random oracle inputs; two distinct messages of equal encoding length; and a challenge policy labeled by . All requests for one identity are merged. No oracle responses are given before this commitment. For each queried identity, the rows labeled by must be unauthorized. We also require the corrupt rows alone to be unauthorized, including when the key-query set is empty.
The challenger returns honestly generated public keys for , all requested user keys, the committed random oracle responses, and an encryption of for a uniformly chosen challenge bit . The adversary outputs its guess , with advantage . Corrupt public keys may be chosen arbitrarily within their specified groups. The challenger need not know their discrete logarithms. Group membership and policy syntax are checked. The random oracle is , with an injective encoding of its input pair.
X. Wang
This is an indistinguishability under chosen-plaintext attack (IND-CPA) experiment; indistinguishability (IND) advantage below uses the same success-probability convention. This commitment timing is essential for the reduction below: an identity's hash values are programmed after its complete key-request set is known. The theorem does not extend to adaptive key requests by the same proof.
4 The Target Construction
We recall the DBDH construction in Section 4 of Datta, Komargodski, and Waters [7], together with its decryption calculation and the simulation in their Section 5.2. We use common notation for the construction, attack, and repair, and isolate the matrix-substitution step in the claimed proof. Throughout, d denotes their fixed maximum sharing width .
4.1 Algorithms and Correctness
Use the policy notation of Section 3, and let be the user-identifier space.
GlobalSetup(1^λ, d) → GP. On input the security parameter λ and sharing width d, generate prime-order bilinear groups (q, G, G_T, g, e) and set E = e(g, g). Return the global public parameters GP = (q, G, G_T, g, e, E, d). The global parameters specify the random oracle H : ID × {2, ..., d} → G. The message space is G_T.
AuthSetup(GP, u) → (PK_u, MSK_u). On input the global parameters and an authority identifier , sample independently and set the public-key components and for . Return the public key and master secret key . Honest authorities generate their keys independently.
KeyGen(GP, u, id, MSK_u) → SK_id,u. On input an authority identifier u, a user identifier id ∈ ID, and the corresponding master secret key MSK_u, return the user secret key
The key grants attribute u to identity id.
. On input a message , a policy , and the public key of every authority labeling a policy row, sample , and , all independently. For and , compute
Here and . Return the ciphertext
The policy header is ; the remaining components form the payload. Each scalar is shared across all rows.
Dec(GP, CT, id, S, ) or . On input a ciphertext CT, a user identifier id, an attribute set , and the corresponding user secret keys , parse the policy from CT and set . If , return the failure symbol . Otherwise find coefficients satisfying . For each , compute the row-decryption value
Return the decrypted message .
Correctness. For honestly generated keys and ciphertexts, substitution into (3) cancels the authority-dependent factors and gives
For a common identity id, reconstruction gives and for every . Thus all identity-dependent factors cancel, , and the returned message is . The attack below removes these identity-dependent factors before combining rows associated with different identities.
5 Cryptanalysis
5.1 Extracting Coordinate Masks
For a corrupt row i, the adversary may choose a correctly generated authority key and hence know every . It computes the residual coordinate-mask encoding
If , exponentiation by gives the reusable mask encoding . This is ordinary exponentiation by a known field element; it does not solve a discrete logarithm problem.
Suppose corrupt rows expose for every coordinate used in some set of available rows. For each such row with a key for identity , the adversary obtains the identity-independent share encoding by computing
X. Wang
Zero coefficients need no extracted mask. For a corrupt row, dividing by also gives . These shares have no remaining identity binding.
5.2 A Complete Three-Authority Attack
Let be three distinct authority identifiers. Consider the width-three matrix
This matrix realizes . All three rows reconstruct with coefficients ; no proper subset does. In particular, rows cannot cancel the third coordinate while retaining first coordinate one, and rows cannot cancel the second.
Step 0: choose the challenge and the corrupt authority. After receiving the global parameters, choose the policy in (7), corrupt authority A, and run authority setup locally to retain . Submit the resulting public key and request honest public keys for B and C. No malformed key or dishonest parameter generation is needed.
Step 1: commit to legal key and hash requests. Choose distinct identities , . Request only and , together with the hash values and for . Submit any distinct messages . All these choices are committed before receiving the replies. The effective sets for the two identities are and , respectively, because the corrupt authority can issue keys freely. Neither set satisfies the challenge policy.
Step 2: extract the common coordinate masks. Receive the requested keys, hash outputs, and challenge ciphertext. Compute and . Both coefficients in the corrupt row are one, so not even a field inversion is required in this example.
Step 3: remove identity binding from the honest rows. Evaluate and using the respective queried keys. Compute
Step 4: reconstruct and distinguish. Compute , and recover the plaintext candidate . Output zero if , and one otherwise. Distinct challenge messages make this decision unambiguous.
5.3 Admissibility, Success Probability, and Scope
Theorem 1. The target construction, when accepting arbitrary bounded-width LSSS matrices with injective labels, is not statically secure. For every width bound , there is a polynomial-time adversary with plaintext-recovery probability one and IND advantage 1/2.
Proof. The attack above is admissible and its identities and hash queries are committed before any responses. Equations (5)–(8) hold for every choice of encryption coins, including zero exponents. For , append zero columns to (7). The extra hash terms cancel in (4) and contribute no coordinate mask. The recovered plaintext determines exactly.
Running time. At width three, the attack uses two key requests, four identity-hash requests, two source-group exponentiations to extract the masks, and a constant number of pairings and target-group operations to obtain and combine the three unbound shares. Each operation has polynomial cost in the security parameter. Padding to a larger width only adds the corresponding hash terms to the public row calculation, so the running time remains polynomial. No exhaustive search, hash collision, discrete logarithm, or solution of a BDH instance is used.
Proposition 1 (A sufficient condition for mask extraction). Let be a challenge policy and let be its corrupt row indices. Define the set of coordinates exposed by these rows
Suppose the adversary commits to key sets such that and every are unauthorized. Assume there is a row set and coefficients satisfying . For every , suppose there is an identity with and
Then an adversary choosing honestly generated corrupt-authority keys can recover the challenge plaintext with probability one in polynomial time.
Proof. For each , choose a corrupt row with . Using its known authority exponent, compute
For each , use the queried key for to obtain
The support condition ensures that every remaining identity-dependent mask is removed. For , compute . Consequently, , and dividing by this product recovers the plaintext. All keys and required hash inputs can be committed before any responses, and the stated unauthorizedness conditions make these requests admissible. The calculation holds for every choice of encryption coins.
X. Wang
Generality and limits. Proposition 1 gives a sufficient condition, not a necessary characterization of insecurity. It already uses honestly generated corrupt-authority keys, so the attack also applies when the model permits maliciously formed keys. Its direct target is the matrix-level interface. Applying it to a restricted policy compiler additionally requires establishing that the compiler can output a matrix satisfying the stated conditions.
5.4 Why the Matrix Substitution Fails
Let
The matrix is invertible and satisfies . Thus and have the same distribution when their sharing vectors are uniform with the same first coordinate. Nevertheless, with fixed authority keys the original residual equals under , whereas it is always the identity under . Testing whether distinguishes the two payload distributions with probability gap .
A complete share is preserved by the coupling . A coordinate mask instead restricts its randomness to span , which a general secret-preserving basis change need not preserve. Thus share-level invariance does not establish ciphertext-level invariance. We address this failure by replacing coordinate-wise masks with full zero sharings, whose joint payload invariance is established in Lemma 1.
6 The Full Zero-Sharing Repair
6.1 Construction and Correctness
Global setup, authority setup, and key generation are exactly as in Section 4. To encrypt under , sample , for , and independently for every . Output the same policy and component layout, with
The index k selects a hash/key component; it no longer selects a single coordinate of the sharing matrix. A ciphertext row still contains one source-group element per such index. Decryption uses exactly the same formula as the target scheme.
Theorem 2 (Correctness). The repaired construction decrypts correctly for every authorized set of rows whose keys belong to one identity.
Proof. Substituting (10) and the unchanged key into the row expression cancels all terms and gives . Therefore
The last equality uses for each . Dividing by this product recovers .
6.2 Joint Payload Invariance
Lemma 1 (Joint payload invariance). Let , with satisfying . For fixed public keys, fixed , and fixed row labels, the repaired ciphertext payloads generated using and have identical distributions conditional on . The public policy header is kept equal to in this comparison.
Proof. Couple the randomness for and by , , and identical . The map is a bijection on and on . It preserves independent uniform sampling on the product . Moreover, and simultaneously for every . Every payload component is therefore equal under this coupling, including . Keys and hash values need no transformation. The conclusion holds for arbitrary fixed valid public-key group elements, without knowing their logarithms.
This is an internal simulation identity, not a claim that two different cleartext matrix headers are indistinguishable. The simulator outputs the originally committed matrix M while computing an equivalent payload through N.
6.3 Corrupt-Row Normalization
Lemma 2 (Corrupt-row normalization). Let be unauthorized, let , and put . One can efficiently find an invertible with such that satisfies for all and . Its corrupt-row span is exactly , and have the same authorized row subsets.
Proof. Let , of dimension . Unauthorizedness gives with first coordinate one. Choose as a basis of , and complete these to a basis of with . Taking these vectors as the columns of gives an invertible matrix with the required first row. Its first columns lie in , so the corrupt rows of vanish on these coordinates. Their rank remains , hence they span the entire trailing subspace. Finally, if and only if , by multiplication by or .
The normalization lemma is inherited from [16,6,7]; its basis-extension proof is included for completeness. Lemma 1 supplies the additional ciphertext-level guarantee.
X. Wang
7 Static Security of the Repair
Theorem 3. Fix a polynomially bounded width parameter . Under the DBDH assumption, the repaired construction is statically IND-CPA secure in the random oracle model defined in Section 3.2 for all LSSS challenge policies having at most columns and an injective row-labeling function , even when corrupt authorities choose arbitrary valid public keys.
Proof. Let be a static adversary with advantage in the game of Section 3.2. Let be the DBDH input. The reduction uses its group as the global parameters. After receiving the static commitments, it obtains from Lemma 2. All payload calculations below use , but the ciphertext header remains . Write and .
Honest public keys. For an honest authority appearing in the challenge, choose independent uniform and implicitly set
Publish and for , and otherwise. Injectivity of makes well-defined. Honest authorities absent from the challenge are generated normally, retaining their exponents. Corrupt public keys are used as supplied. Conditional on , all honest exponent tuples are independent uniform translations of fresh randomness.
Random oracle. For each identity with committed key set , put and choose satisfying , . Such a vector exists because is unauthorized for and hence also for by Lemma 2. Since and the rows of span , orthogonality forces for every . For an identity without key requests, take , which is orthogonal to all corrupt rows of .
For each identity and coordinate choose independent uniform and return
Maintain one table entry per input and use the same entry inside key generation. This also defines any hashes needed by requested keys but not explicitly requested as oracle outputs. Conditional on b and the committed request sets, these are independent uniform elements of G. Programming all coordinates of each identity together creates no distributional dependence because their values are independent.
Secret keys. For a queried honest authority absent from the challenge, compute the key normally using its known exponents and the programmed hash values. For in the challenge and , output
To verify this expression, expand the exponent of the desired key as
(14)
The coefficient of ab is , since and the trailing coordinates vanish. All remaining terms are computable as in (13). The logarithms in (14) are only notation for checking the identity; the reduction never evaluates them.
An initial challenge payload. Choose the challenge bit uniformly. Implicitly set and
All these masking vectors lie in Z. For a corrupt row , choose and compute
This is the correct payload for the implicit vectors because and for . No corrupt exponent is needed.
For every honest challenge row , implicitly set and output C_{1,i}^0 = e(g^c, g)^{\alpha_{\rho(i)}^'}, , and C_{3,i,k}^0 = (g^c)^{y_{\rho(i),k}^'}. Indeed,
For the second equality cancels against ; for neither term is embedded. Finally set . The inverse is required by the chosen sign .
X. Wang
Full re-randomization. Choose all offsets independently: , , and . Compute
(16)
This operation uses only known scalars and public group elements. It corresponds to adding the offsets to each initial random variable. Conditional on the DBDH exponents, the commitments, the public keys, the hash table, and the returned keys, the new , all , and all are jointly independent and uniform in their required spaces. In particular, the initially shared value among honest rows causes no residual correlation after independent are added.
Real and random cases. If , the payload in (16) is exactly a fresh repaired encryption under . Lemma 1 shows that this is also exactly the payload distribution of an encryption under the output header . The public keys, random oracle, and secret keys have already been shown to have their joint real distribution.
If is uniform in , every public-key, hash, key, and challenge component other than is independent of and . The value is a uniform one-time pad even conditional on all of those components. The adversary guesses with probability . The reduction outputs one precisely when . The absolute difference between its output probabilities in the two DBDH cases is therefore . There are no aborts or guessed identities.
Boundary cases. If , then and the trailing-coordinate constraints are vacuous. If , orthogonality forces . Every queried honest row in the challenge therefore has , so the ab term still vanishes; products indexed by are empty products. For , the only zero-sharing vector has the form , and hence . Thus the repaired and original masking distributions coincide at width two. This is consistent with Theorem 1, whose explicit attack requires .
8 Efficiency
Table 2 counts group elements excluding the policy description. Here counts target- and source-group elements. Both schemes use the same width and rows. For rows participating in decryption, a direct row-by-row evaluation uses pairings: numerator pairings and one denominator pairing per row. Both allow the same aggregation of numerator pairings for a common identity. Thus the repair introduces no additional group elements or pairing calls.
The extra randomness is field elements. The mask computations form the product of the last columns of with a dense random matrix. One can compute each scalar inner product first and then perform a single exponentiation by ; the repair does not require one group exponentiation.
Table 2. Exact size and randomness counts; arithmetic costs are naive dense bounds.
| Quantity | Original | Repaired |
|---|---|---|
| Authority public key | same | |
| Authority secret key | field elements | same |
| User key per authority | same | |
| Ciphertext | same | |
| Encryption random scalars | ||
| Mask exponent arithmetic | ||
| Direct decryption pairings |
per term in the inner product. Sparse policies can reduce the field-arithmetic cost.
Existing authority and user keys remain compatible with the repaired algorithms. This compatibility does not secure previously issued ciphertexts or retract information exposed by their earlier copies.
9 Conclusion
We give a plaintext-recovery attack against the target decentralized MA-ABE construction and identify the invalid extension of LSSS share invariance to coordinate-wise ciphertext masks. Independent full sharings of zero repair this masking distribution while preserving keys, decryption, and ciphertext size. A direct static DBDH reduction establishes security of the repaired construction in the random oracle model. Analogous attacks affect both MA-ABIPFE constructions of Datta and Pal considered in the appendix. The zero-sharing modification extends to both, with static security proofs under asymmetric DBDH for the small-universe variant and augmented L-DBDH for the large-universe variant. The latter assumption supplies a source-group encoding missing from the original reduction and admits the generic bilinear group analysis given in the appendix.
References
-
Agrawal, S., Biswas, R., Nishimaki, R., Xagawa, K., Xie, X., Yamada, S.: Cryptanalysis of Boyen's attribute-based encryption scheme in TCC 2013. Designs, Codes and Cryptography 90(10), 2301–2318 (2022). https://doi.org/10.1007/s10623-022-01076-6, https://eprint.iacr.org/2021/505
-
Bethencourt, J., Sahai, A., Waters, B.: Ciphertext-policy attribute-based encryption. In: IEEE Symposium on Security and Privacy. pp. 321–334. IEEE (2007). https://doi.org/10.1109/SP.2007.11
-
Boyen, X.: Attribute-based functional encryption on lattices. In: TCC 2013. LNCS, vol. 7785, pp. 122–142. Springer (2013). https://doi.org/10.1007/978-3-642-36594-2_8
-
Chase, M.: Multi-authority attribute based encryption. In: TCC 2007. LNCS, vol. 4392, pp. 515–534. Springer (2007). https://doi.org/10.1007/978-3-540-70936-7_28
X. Wang
-
Cini, V., Wee, H.: ABE for circuits with poly( )-sized keys from LWE. In: IEEE Symposium on Foundations of Computer Science (2023), https://eprint.iacr.org/2024/1780, full version: Cryptology ePrint Archive, Paper 2024/1780
-
Datta, P., Komargodski, I., Waters, B.: Decentralized multi-authority ABE for DNFs from LWE. In: EUROCRYPT 2021. LNCS, vol. 12696, pp. 177–209. Springer (2021). https://doi.org/10.1007/978-3-030-77870-5_7, https://eprint.iacr.org/2020/1386, full version: Cryptology ePrint Archive, Paper 2020/1386
-
Datta, P., Komargodski, I., Waters, B.: Decentralized multi-authority ABE for NC from BDH. Journal of Cryptology 36 (2023). https://doi.org/10.1007/s00145-023-09445-7, article 6
-
Datta, P., Komargodski, I., Waters, B.: Fully adaptive decentralized multi-authority ABE. Cryptology ePrint Archive, Paper 2022/1311 (2023), https://eprint.iacr.org/2022/1311, revised 15 February 2023; full version of EUROCRYPT 2023
-
Datta, P., Pal, T.: Decentralized multi-authority attribute-based inner-product FE: Large universe and unbounded. In: Public-Key Cryptography – PKC 2023, Part I. LNCS, vol. 13940, pp. 587–621. Springer (2023). https://doi.org/10.1007/978-3-031-31368-4_21
-
Datta, P., Pal, T.: Decentralized multi-authority attribute-based inner-product FE: Large universe and unbounded. Cryptology ePrint Archive, Paper 2023/565 (2023), https://eprint.iacr.org/2023/565, full version dated 20 April 2023; numbering used in our technical analysis
-
Garg, R., Lu, G., Waters, B., Wu, D.J.: Reducing the CRS size in registered ABE systems. In: Advances in Cryptology – CRYPTO 2024. Springer (2024), https://eprint.iacr.org/2024/749
-
Goyal, V., Pandey, O., Sahai, A., Waters, B.: Attribute-based encryption for fine-grained access control of encrypted data. In: ACM CCS 2006. pp. 89–98. ACM (2006). https://doi.org/10.1145/1180405.1180418
-
Hohenberger, S., Lu, G., Waters, B., Wu, D.J.: Registered attribute-based encryption. In: Advances in Cryptology – EUROCRYPT 2023, Part III. LNCS, vol. 14006, pp. 511–542. Springer (2023)
-
Lewko, A., Waters, B.: Decentralizing attribute-based encryption. In: EUROCRYPT 2011. LNCS, vol. 6632, pp. 568–588. Springer (2011). https://doi.org/10.1007/978-3-642-20465-4_31
-
Lu, G., Waters, B., Wu, D.J.: Multi-authority registered attribute-based encryption. In: Advances in Cryptology – EUROCRYPT 2025. Springer (2025), https://eprint.iacr.org/2025/1279
-
Rouselakis, Y., Waters, B.: Efficient statically-secure large-universe multi-authority attribute-based encryption. In: Financial Cryptography and Data Security. LNCS, vol. 8975, pp. 315–332. Springer (2015). https://doi.org/10.1007/978-3-662-47854-7_19, https://eprint.iacr.org/2015/016, full version: Cryptology ePrint Archive, Paper 2015/016
-
Sahai, A., Waters, B.: Fuzzy identity-based encryption. In: EUROCRYPT 2005. LNCS, vol. 3494, pp. 457–473. Springer (2005). https://doi.org/10.1007/11426639_27
-
Waters, B.: Ciphertext-policy attribute-based encryption: An expressive, efficient, and provably secure realization. In: Public Key Cryptography – PKC 2011. LNCS, vol. 6571, pp. 53–70. Springer (2011). https://doi.org/10.1007/978-3-642-19379-8_4, https://eprint.iacr.org/2008/290, the DBDH construction appears in Section 6 of the full version
-
Waters, B., Wee, H., Wu, D.J.: Multi-authority ABE from lattices without random oracles. In: Theory of Cryptography – TCC 2022, Part I. LNCS, vol. 13747, pp. 651–679. Springer (2022). https://doi.org/10.1007/978-3-031-22318-1_23, https://eprint.iacr.org/2022/1194
-
Zhu, Z., Zhang, K., Gong, J., Qian, H.: Registered ABE via predicate encodings. In: Advances in Cryptology – ASIACRYPT 2023. Springer (2023), https://eprint.iacr.org/2023/1383
A Extension to the MA-ABIPFE Constructions of Datta and Pal
This appendix analyzes the small- and large-universe constructions in Sections 5 and 6 of the 20 April 2023 full version of Datta and Pal [10]. We give attacks and zero-sharing modifications for both. We prove static security of the small-universe modification under asymmetric DBDH and of the large-universe modification under augmented L-DBDH. Appendix A.5 isolates the original simulation gap; Appendices A.6 and A.7 supply the augmented assumption and complete reduction. The source's single-authority construction is outside our scope.
A.1 Notation, Construction, and Game
A ciphertext encrypts a message vector under an access policy and a coordinate list . Attribute keys associated with the same identity, function vector , and matching coordinate list allow an authorized user to recover the inner product . Accordingly, authorized queries are admissible only when their inner products agree on the two challenge messages. In this appendix, denotes the message vector, while contains the sharing randomness. Use prime-order groups of order , generators , and an asymmetric pairing ; set . The sharing width is . Message and function vectors have a coordinate list of distinct increasing positive integers; abbreviate as . Each query uses its own list length . Indices range over , and unless stated otherwise. For independent random oracles into , write , , and , suppressing the current list in the first two abbreviations. Concatenations use unambiguous encodings.
Original small-universe construction. In the small-universe scheme, authority publishes , with independent uniform secret exponents for . Each authority controls the single attribute identified by . It issues the function key
X. Wang
For an injectively labeled policy , encryption samples independent uniform and scalars . Let be the first row of . Thus , , and . The payload is
(18)
The row-decryption value for a key of identity id and function u is
The ciphertext contains the header and the displayed payload. Each key is associated with its identity, attribute, function vector, and coordinate list. Decryption requires a common identity and function vector, matching coordinate lists, and an authorized attribute set; otherwise it returns . For reconstruction coefficients satisfying , the product equals . Dividing by this product yields . Efficiently recovering the numerical inner product requires an output range with efficiently computable discrete logarithms. Our attack uses only values zero and one.
Original large-universe construction. The large-universe variant has an attribute universe , an ownership map , and row labels , with ; labels need not be injective. Authority setup is unchanged, and each authority shares its exponents across its attributes. An additional independent random oracle maps tuples , with and , to .
For attribute , let denote the base expression in (17), using as the authority exponents and retaining as the input. Each key-generation call independently samples for and returns
The dependence on I and on the particular key-generation call is suppressed.
Encryption uses the same coins as the small-universe scheme. The components remain as in (18), while
The ciphertext header is . For row decryption, use (19) with denominator and multiply its numerator by . The auxiliary factors cancel, so reconstruction and the remaining decryption conditions are unchanged.
Here uses attribute , whereas authority exponents use . This follows the source's correctness calculation; its encryption listing inconsistently uses as the input. The attack below chooses matching attribute and authority identifiers and does not rely on this discrepancy.
Static MA-ABIPFE admissibility. After global setup, all corrupt public keys, honest authorities, hash inputs, key tuples (id, S, u, I), where S is the requested attribute set, and challenge vectors (v₀, v₁, I*) and policy are committed before replies. Here I* is the common coordinate list of the two challenge messages v₀, v₁ ∈ Fₐ | I* |. The challenger encrypts vβ for a uniform bit β, and the adversary guesses that bit; advantage is measured as in Section 3.2. The key tuples have distinct identities as stipulated in [10]. For each tuple with I = I*, either its attributes together with all corrupt attributes are unauthorized, or (v₀ - v₁) · u = 0. As a nontriviality condition, the attributes controlled by corrupt authorities alone must not satisfy the challenge policy. Honest user keys are the only secret information supplied by the challenger. The adversary generates corrupt keys itself and can retain their exponents. The attacks below meet these restrictions without using malformed keys.
A.2 An Admissible Attack on Both Variants
Take , , function vector , and challenge vectors , . Use the matrix in (7), corrupt , and request only the key for and the key for a different identity . Request all hashes used below. The sets and are unauthorized, so the queries are legal even though the two challenge inner products differ. Every choice is made before receiving any response. In the large-universe variant choose three attributes, each controlled by its correspondingly named authority.
Suppress the sole message-coordinate index, and write for . The corrupt first row exposes the mask encodings and , for ,
Expanding (19) for either queried key gives
Consequently the adversary computes
(21)
X. Wang
It recovers . Testing whether this equals the identity or determines exactly. No general discrete logarithm is computed.
In the large-universe case use its augmented row formula. The extra numerator factors equal and cancel the extra factors in the key denominator. The residual expression and every step of (20)–(21) are unchanged.
Proposition 2. Both multi-authority constructions in Sections 5 and 6 of [10], with their stated matrix-level interfaces, admit a polynomial-time static adversary with success probability one and distinguishing advantage 1/2. The attack uses one corrupt authority and two legal key-query identities.
Proof. Admissibility follows from the two unauthorized attribute sets. The displayed identities hold for all encryption coins and recover the binary challenge. Extra width is handled by padding zero columns. The large-universe claim follows from the explicit cancellation above, using one attribute per authority as a permitted special case.
A.3 Full Zero-Sharing Modification
We modify only the masking terms in and of the original constructions recalled in Appendix A.1. All other ciphertext components and the key-generation and decryption algorithms remain unchanged. Independently sample for every , , and for every . Replace only the two masking components by
Each vector is shared across rows for its fixed superscript, not resampled separately for each row. All other algorithms and components, including in the large-universe variant, stay unchanged subject to the explicit attribute-index convention above.
Proposition 3 (Correctness and payload invariance). Both modified constructions are correct for authorized keys of a common identity, function vector, and matching index set. For with invertible and , their payload laws are invariant under substitution of by , conditional on fixed auxiliary values and a fixed first row of , while retaining the original policy header.
Proof. Row decryption in either variant leaves
Reconstruction applies to every exponent, killing every zero sharing and retaining . For invariance, couple , , and , while using identical . These are bijections of their sampling spaces, preserve all independence and shared-vector relations, and make every payload component equal. The components do not depend on the sharing matrix. Equality under this distribution-preserving coupling establishes the claim.
The two families of masks use random field scalars originally and after modification. The other coins are unchanged. There are no additional ciphertext group elements or decryption pairing calls. Naive mask arithmetic increases from to field operations.
A.4 Static Security of the Small-Universe Modification
We give the reduction directly, rather than relying on the unmodified proof. For independent uniform , the asymmetric DBDH input is together with the group description, with either or independent uniform. This is the input used in Assumption 3.1 of [10].
Theorem 4. Under this asymmetric DBDH assumption, the small-universe modification is statically IND-CPA secure in the random oracle model specified above, for polynomially bounded sharing width and injective authority labels. An adversary with advantage gives a DBDH distinguisher with difference-of-probabilities advantage .
Proof. Let be the challenge-message difference vector, where . Identical challenge vectors give zero advantage and can be handled trivially. Assume they differ, and let be the challenge-row indices controlled by corrupt authorities. Normalize the corrupt rows using Lemma 2, obtaining and . All payload calculations use , but the output header remains .
Authority keys. For honest in the policy, let , and let for and zero otherwise. Choose fresh uniform offsets and implicitly set . Publish the required elements using . Authorities absent from the policy are generated honestly. Corrupt public keys are adopted as supplied; their exponents need not be known.
Oracle programming. For every relevant attribute and challenge index , set
with independent uniform offsets . All other inputs, including those with , receive independent known-exponent random elements. For an identity whose committed query has and whose attributes together with the corrupt attributes are unauthorized, choose with first coordinate one, zero trailing coordinates beyond , and orthogonal to all the
X. Wang
corresponding rows of . Set for . For an authorized query set, put for all . In both cases sample independent and program, at the query's function vector,
For queries with a different index set, and for other inputs, use independent known-exponent elements. Distinct queried identities ensure that these rules never assign conflicting values across key tuples, despite the absence of I in 's input. Every complete oracle input is recorded and answered consistently. Conditional on b, independent uniform offsets make all oracle values independent uniform elements with their real distribution.
Key responses. Consider a query with and an honest attribute in the policy. Define the known scalars (with for )
The exponent of the desired key has its only unavailable quadratic term
For an unauthorized query, the parenthesis equals . For an authorized query, by MA-ABIPFE admissibility. The key is therefore computable as
For a nonmatching index set, every hash used in the queried key has a known exponent, so suffices to compute the key. For an authority absent from the policy, its known secret exponents suffice even when the hashes are programmed. Each response is thus exactly the key determined by the simulated public keys and hash table.
Initial challenge. Implicitly choose
with zero vectors for . For an honest row set . Let . Its initial components are computable as
(24)
The term in cancels against ; the terms in , cancel against the zero-sharing inner products. For a corrupt row choose known uniform . All initial sharing terms vanish on this row, so compute its components directly from its supplied public key and the public hashes. Put for a uniform bit .
Re-randomization. Sample and each independently. Independently sample each vector and uniformly from . Let . Write . Multiply the initial components by
(25)
These multipliers use only known scalars and public group elements. The effective coins are jointly uniform in the modified scheme's product sampling space even conditional on the previously simulated view and the challenge exponents. Proposition 3 then converts the payload law for N to the law for the unchanged output header M.
Real and random targets. When , the complete view is exactly real. When for an independent uniform exponent , the only components that involve or are , whose exponent vector is . Even conditional on all other components and on the simulator's other coins, this is uniform along the same affine line for either bit, since . Thus the adversary's success probability is in the random case. Outputting one exactly when the adversary guesses yields the stated DBDH advantage.
A.5 Large-Universe Modification: The Original Simulation Gap
Propositions 2 and 3 apply to the large-universe interface, including multiple attributes per authority and repeated labels. However, they do not alone establish its repaired security under the source's L-DBDH assumption. We separate the key-cancellation calculation that carries over from a remaining ciphertext-computability issue.
Here is the number of indexed slots in the source's -DBDH instance; assign the challenge rows distinct slots, so . The symbols denote the hidden field exponents associated with those slots, not scalars known to the simulator. Expressions involving are read on the event for all used slots. Conditioning the source's uniform on nonzero values changes the distribution by at most . The offsets below are independently sampled from . Set is corrupt}, , and obtain by corrupt-row normalization. For an attribute , let .
Let and . The source reduction embeds
X. Wang
and programs . With the challenge-difference programming above, an unauthorized query can use initial for (and zero for ), where has first coordinate one and is orthogonal to the normalized rows labeled by the queried and corrupt attributes. The quadratic terms associated with other attributes cancel, leaving
For authorized admissible queries the factor is zero. Independent key re-randomization can restore the required distribution of . These observations explain why function-key cancellation is compatible with the proposed modification.
For the initial challenge the source instead uses . Our initial zero-sharing vectors still produce and preserve its intended diagonal cancellation. But the unchanged auxiliary component must also be computed. It equals
The off-diagonal product is available in the stated L-DBDH input. The first factor is not directly supplied: Assumption 3.2 of [10] supplies but does not list , nor an efficient source-group map that would produce it. Treating as a known scalar therefore does not by itself compute this factor in . Pairing can produce target-group encodings, which do not substitute for the required source-group element. Full zero-sharing re-randomization cannot repair an initial component that has not been computed.
This simulation gap is already present in the source reduction: the original challenge simulation uses the same unavailable source-group element. It is therefore not introduced by our full zero-sharing modification. The gap does not by itself imply that the modified construction is insecure or that no valid reduction exists.
We address this gap below by augmenting the input with . This is an explicit change of assumption: it does not retroactively validate the source proof. The next two subsections establish generic hardness of the augmented assumption and give a complete static reduction for the full zero-sharing modification.
A.6 An Augmented Assumption and Its Generic Hardness
We now supply the missing source-group encodings and give a direct reduction for the full zero-sharing modification. This changes the computational assumption, not the scheme. In particular, we do not derive the augmented assumption from the original L-DBDH assumption.
Augmented L-DBDH assumption. Let be asymmetric prime-order bilinear groups, with . Choose and independently . Define the following sets of formal exponents:
(27)
The public instance is , where desc includes the group description and generators. Augmented L-DBDH asserts computational indistinguishability of
Its distinguishing advantage is the absolute difference between the probabilities of outputting one in these experiments. The only new source-group family, relative to Assumption 3.2 of [10], is . Sampling the denominators in avoids undefined inputs; conditioning the source's sampling on this event costs at most in statistical distance.
Proposition 4 (Generic hardness of augmented L-DBDH). In the asymmetric generic bilinear group model with independent source-group encodings and no source-group conversion oracle, a generic algorithm making at most Q oracle operations has augmented L-DBDH advantage
In particular, the advantage is negligible when L, Q are polynomially bounded in the security parameter and q is exponentially large.
Proof. Work first in the Laurent polynomial ring . Formal source-group exponents lie in the linear spans of and ; target-group exponents, excluding the challenge, lie in
Neither source set contains a monomial involving other than itself. Thus a product of two listed source monomials could equal only by multiplying and . Neither set contains : its apparent substitutes have . Consequently no generating monomial of equals . Linear independence of distinct Laurent monomials gives . The same observation would also exclude if products of two monomials were included, as in the independence check in the source appendix.
Here is an explicit collision bound, which does not treat negative exponents as ordinary polynomials of constant degree. Put . Multiplying a
X. Wang
difference of source exponents by yields a polynomial of degree at most . Multiplying a difference of target exponents by yields one of degree at most , also when the target includes abc or an independent variable . These multiplications preserve zero tests on the sampling domain. For a nonzero such polynomial, the Schwartz-Zippel bound on independent variables sampled from or is at most . There are encodings, hence possible pairs whose evaluations could collide. Conditioned on no unintended collision, formal equality tests have the same outcomes in both challenge worlds: an expression with can vanish identically only if and , exactly as for . Coupling the random encodings therefore gives identical generic transcripts outside the collision event. A union bound in the two experiments proves the claim.
A.7 Static Security of the Large-Universe Modification
The construction is exactly the large-universe modification in Appendix A.3, with the attribute-indexed convention made explicit in Appendix A.1. We use the source's static security model as specified in Appendix A.1, retaining its distinct-identity and matching-index-set admissibility requirements.
Theorem 5. Under augmented L-DBDH, the modified large-universe construction is statically IND-CPA secure in the random oracle model of Appendix A.1, for polynomial sharing width and at most L challenge rows. Multiple attributes per authority and repeated attribute labels are allowed. An adversary of advantage yields an augmented L-DBDH distinguisher with difference-of-probabilities advantage .
Proof. The reduction receives and publishes the group description. Upon receiving the static commitments, put and . Equal challenge vectors have zero advantage. Otherwise normalize the corrupt rows to obtain and , as in Appendix A.4. Assign each challenge row a distinct instance slot. Throughout this proof the transmitted policy header is , while payload calculations use . Define
The vectors are truncated rows, not a replacement access matrix.
Authority keys and hash values. For every honest authority occurring in the policy, choose independent uniform offsets and set implicitly
Their public encodings use the supplied . Authorities outside the policy are generated honestly; corrupt public keys are used as supplied, without their discrete logarithms.
Use the programming from Appendix A.4, with indexed by attribute t rather than authority. In particular,
for a matching-index query. For an unauthorized query, choose with first coordinate one and orthogonal to every queried or corrupt row of ; such a vector exists by unauthorizedness. Since the corrupt rows span , this vector satisfies for . Put for . For an authorized admissible query put and , noting that . All offsets are independent uniform field elements. Nonmatching-index queries and other oracle inputs are treated as in the small-universe proof. Distinct committed identities avoid conflicting programming.
For every attribute of an honest policy authority and every , program
All other R inputs receive independent known-exponent random elements. Only polynomially many queried or used inputs need be instantiated. Record each full oracle input and reuse its value. Conditional on the instance exponents, all authority offsets and oracle offsets independently mask fixed shifts. Thus public keys and oracle values have their joint real distribution; this includes attributes absent from the policy but owned by a policy authority.
Matching-index key responses. Fix a queried attribute t of an honest policy authority , and abbreviate
Set initial auxiliary exponents for all , so the auxiliary key encodings are computable as . The base key augmented by has an unavailable quadratic term only of the form
For an unauthorized query every such row is orthogonal to ; truncation does not affect the inner product. For an authorized admissible query D = 0. This term therefore vanishes in either case. Explicitly the initial main key component is
(29)
X. Wang
The cancellation removes rows belonging to other attributes of the same authority through R, while orthogonality removes all occurrences of the queried attribute. It does not require injective labels.
For each individual key-generation call independently choose , multiply K_t^0_u by , and multiply by . The effective are jointly independent uniform scalars, even conditional on the instance and all public values.
For a nonmatching-index query to a policy authority, the hashes used in its base key have known exponents. Its authority encodings are computable from , so that key is computable directly with fresh uniform . For an authority outside the policy, known secret exponents suffice, including on matching-index queries with programmed hashes. These cases cover every honest key response; corrupt keys are generated by the adversary from its own information.
Initial challenge ciphertext. Choose a uniform bit and implicitly set
with zero initial masks for . For each honest row put and . For , define the computable elements
(30)
They encode and , respectively. Set
(31)
Indeed, the diagonal in the unexpanded expression for cancels with , leaving the displayed correction. The initial zero sharings cancel the diagonal in , . Every remaining cross term has . In , , and the augmented instance provides the previously missing first factor. The formulas also apply to , where and .
For corrupt rows choose known uniform . All initial sharing terms vanish because for . Compute directly using the supplied corrupt public keys and public hashes; set . This requires no corrupt secret exponent.
Restoring the joint distribution. Independently choose , every , and every . Apply the multipliers in (25), using the attribute-indexed in , and additionally multiply each auxiliary component by
All these operations use known scalars and public elements. Conditional on the instance and all preceding values, the effective encryption coins are jointly uniform on the modified scheme's product sampling space. In particular, each zero-sharing vector is shared across all rows for its fixed superscript, and its independent offset masks the fixed initial vector. Proposition 3 transfers the complete payload distribution from N to the unchanged header M; the auxiliary components are independent of the matrix substitution.
Distinguishing. For , the resulting view is exactly the real static experiment for the modified construction. For with independent uniform , every response other than is independent of and . Conditional on these other values and all other simulator coins, has exponent vector . The two bits induce the same affine-line distribution, since . The adversary consequently guesses with probability in the random-target experiment. Outputting one precisely when its guess equals gives distinguishing advantage .
Scope of the repaired result. Theorem 5 proves security of the full zero-sharing modification under augmented L-DBDH, not security of the attacked original construction and not security under the unaugmented assumption. The generic-group proposition supports the new assumption but is not a reduction from the old one or a guarantee for every concrete group family. Adding the missing encodings alone does not remove the original coordinate-mask attack. The bound L concerns challenge rows, not the size of the attribute universe.
B Reconstruction of the Original Security Argument
Theorem 5.1 of [7] claims static security of the original construction under DBDH in the random oracle model. We reconstruct the simulation, including its basis-change step, to separate the computable parts of the argument from the distributional claim that will fail. The algebra below uses a consistent sign convention for the message mask.
Step 1: normalize corrupt rows. Given a DBDH instance , the simulator receives the static commitments from Section 3.2. Put , , and . The LSSS normalization lemma, with the proof correction from [6], yields an equivalent matrix with for and ; its corrupt rows span the final coordinates. The ordinary share distribution for a fixed secret is preserved. The original argument then proceeds using on the premise that this preserves the adversary's view. Precisely this extension from shares to the full ciphertext will be examined in Section 5.4.
X. Wang
Step 2: generate honest public keys. For an honest authority in the challenge policy, sample fresh uniform and . Implicitly choose
The public key is computable as , and for , with otherwise. Authorities absent from the challenge are generated normally. Corrupt public keys are retained without extracting their logarithms. Each honest exponent is uniform because it contains an independent uniform offset.
Step 3: program identity hashes. For each identity with committed key set , suppress the identity subscript locally and choose a vector with orthogonal to the rows labeled by . Since the corrupt rows span the trailing subspace, for . Take independent uniform and set for , and for . The values are independent uniform group elements. An identity without relevant key queries can be handled using an arbitrary vector orthogonal to the corrupt rows with first coordinate one. Hash values are recorded and reused consistently.
Step 4: answer key queries. For a queried honest authority outside the policy, the simulator knows its secret exponents and computes (1) directly. For in the policy, expanding the desired exponent gives an unknown ab term with coefficient . Consequently the key can be computed as
Step 5: prepare a challenge with special coins. The simulator implicitly sets , for , and for . For an honest row it sets . The ciphertext components are then computable as
Indeed, the share cancels the term multiplied by , and cancels the embedded coordinate term. For a corrupt row, all such shares vanish by normalization. The simulator chooses itself and computes , , and directly from the supplied public key.
Choose and put . This is the encoding consistent with when . The printed proof in [7] uses with this negative sharing exponent. Correcting that sign does not address the matrix-distribution issue studied here; the attack applies to the actual encryption algorithm regardless of this proof-level sign choice.
Step 6: re-randomize within the chosen representation. Sample independent offsets , , and . Update the initial payload by
(35)
Adding these independent offsets makes the effective sharing vector, coordinate scalars, and row coins independent and uniform. Thus, after the sign correction, a real DBDH target produces a properly distributed encryption payload for N. A random target makes independent of the message bit.
The missing implication. These calculations would yield a reduction if the payload distribution for N were also the payload distribution required by the original challenge matrix M. But the real experiment fixes M, not a representation chosen later by the simulator. Ordinary LSSS share invariance does not imply invariance of the array . Section 5.4 exhibits a direct statistical distinction in these arrays, and the attack in the main text shows that the issue also leads to a complete break of the security game. We therefore retain the computable simulation strategy when repairing the scheme, while changing the masking distribution that prevented the basis substitution from being sound.