Hierarchical identity-based encryption
A hierarchical identity-based encryption (HIBE) scheme extends IBE (HIBE ⇒ IBE) by organizing identities into a tree: an entity at depth holds an identity vector where is the root domain and each subsequent component refines the identity. Any node can delegate a decryption key to any of its children without involvement of the root KGC. HIBE models real-world key delegation in organizations and DNS-style identity hierarchies.
Syntax
An HIBE scheme is a tuple of efficient algorithms with respect to alphabet , message space , and ciphertext space , defined for every polynomially bounded maximum depth , which takes as input. Identity vectors are tuples with and each ; denotes their set:
- is a randomized algorithm that outputs public parameters (including the depth bound ) and master secret key ,
- is a (possibly randomized) algorithm that takes and an identity vector of any depth, outputting a secret key ,
- is a (possibly randomized) algorithm that takes a key for and a child identity component , outputting a key for the extended identity ,
- is a randomized algorithm that takes , an identity vector , and , outputting ,
- is a deterministic algorithm that takes a secret key and ciphertext, outputting or .
Correctness requires that a ciphertext for be decrypted by , whether is output by or obtained by a sequence of calls from the key of an ancestor of ; a key for a proper prefix of decrypts only after delegating down to . Note: keys derived via are typically less efficient (larger) than those from ; in many constructions key size grows by group elements per delegation level.
The alphabet contains , as the identity space of an IBE scheme does. With a constant-size alphabet and constant depth there are only constantly many identity vectors, and one PKE key pair per vector, published together, meets the notion — standard. For every , the message space contains two distinct messages of the same length, which an efficient algorithm outputs given the public parameters; otherwise no efficient adversary need be able to submit , and IND-HIBE-CPA is vacuous — standard.
Properties
Correctness
An HIBE scheme is -correct at depth if for all , , and ,
over and the randomness of and , and the same bound holds when the key for is obtained instead by a sequence of calls from a key that outputs for a prefix of . It is -correct if for every polynomially bounded it is -correct at depth for some negligible , which may depend on . When at every depth, is perfectly correct.
As an object, HIBE denotes a -correct, IND-HIBE-CPA-secure scheme; each security notion below denotes a -correct scheme with that security, except constant-depth selective security, which asks for correctness and security at constant depths only.
IND-HIBE-CPA Security
The adaptive IND-HIBE-CPA game is similar to IBE but with a stronger admissibility constraint: since any key for a prefix () can be used to delegate down to , the adversary may not extract any ancestor (prefix) of the challenge identity, including itself. An admissible adversary also outputs and with , since otherwise ciphertext length may reveal ; the selective games below have the same admissibility conditions.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{hibe\text{-}cpa}}_{\HIBE,d,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\pp, \msk) \gets \Setup(1^\secpar, d)$; $b \getsr \bits$
\State $\calO_{\mathrm{ext}}(\vec{\mathit{id}}) := \Extract(\msk, \vec{\mathit{id}})$
\State $(\vec{\mathit{id}}^*, m_0, m_1, \stA) \gets \calA^{\calO_{\mathrm{ext}}}(1^\secpar, \pp)$
\Comment{$\calA$ may not query $\calO_{\mathrm{ext}}(\vec{\mathit{id}})$ for $\vec{\mathit{id}}$ a prefix of $\vec{\mathit{id}}^*$; $m_0, m_1 \in \calM$, $|m_0| = |m_1|$}
\State $c^* \gets \Enc(\pp, \vec{\mathit{id}}^*, m_b)$
\State $b' \gets \calA^{\calO_{\mathrm{ext}}}(c^*, \stA)$
\Comment{$\calA$ may not query $\calO_{\mathrm{ext}}(\vec{\mathit{id}})$ for $\vec{\mathit{id}}$ a prefix of $\vec{\mathit{id}}^*$}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
An HIBE scheme is IND-HIBE-CPA-secure if for every polynomially bounded and all efficient admissible ,
is negligible. The prefix constraint is necessary because is publicly computable from an ancestor key.
IND-sHIBE-CPA Security (Selective)
In the selective variant, the adversary commits to the challenge identity before runs.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{shibe\text{-}cpa}}_{\HIBE,d,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\vec{\mathit{id}}^*, \stA) \gets \calA(1^\secpar, d)$
\Comment{$\calA$ commits to $\vec{\mathit{id}}^* \in \Sigma^{\le d}$ before seeing $\pp$}
\State $(\pp, \msk) \gets \Setup(1^\secpar, d)$; $b \getsr \bits$
\State $\calO_{\mathrm{ext}}(\vec{\mathit{id}}) := \Extract(\msk, \vec{\mathit{id}})$
\State $(m_0, m_1, \stA) \gets \calA^{\calO_{\mathrm{ext}}}(\pp, \stA)$
\Comment{$\calA$ may not query $\calO_{\mathrm{ext}}(\vec{\mathit{id}})$ for $\vec{\mathit{id}}$ a prefix of $\vec{\mathit{id}}^*$; $m_0, m_1 \in \calM$, $|m_0| = |m_1|$}
\State $c^* \gets \Enc(\pp, \vec{\mathit{id}}^*, m_b)$
\State $b' \gets \calA^{\calO_{\mathrm{ext}}}(c^*, \stA)$
\Comment{$\calA$ may not query $\calO_{\mathrm{ext}}(\vec{\mathit{id}})$ for $\vec{\mathit{id}}$ a prefix of $\vec{\mathit{id}}^*$}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
An HIBE scheme is IND-sHIBE-CPA-secure if for every polynomially bounded and all efficient admissible ,
is negligible. When is superpolynomial, selective security of a scheme does not imply its adaptive security (No fixed-construction reduction from IND-sHIBE-CPA Security (Selective) to IND-HIBE-CPA Security), and guessing recovers adaptive security only at a loss factor of (Sub-exponentially selective HIBE ⇒ adaptive HIBE) — folklore. For HIBE schemes with a checkability property on keys and ciphertexts, any simple black-box reduction proving adaptive security from a non-interactive assumption loses a factor exponential in — LW14. An adaptively secure HIBE can be built from any selectively secure IBE (IND-sID-CPA Security (Selective) ⇒ HIBE) — GKR25.
Sub-exponential IND-sHIBE-CPA Security
An HIBE scheme is sub-exponentially IND-sHIBE-CPA-secure if there is a constant such that for every polynomially bounded and all sufficiently large , every admissible selective adversary of size at most against has .
Constant-depth selective security
An HIBE scheme is IND-sHIBE-CPA-secure at constant depth if for every constant it is -correct at depth for a negligible , and for all efficient admissible selective against , is negligible. Every constant is a polynomially bounded depth, so IND-sHIBE-CPA security implies it (Selectively secure HIBE ⇒ constant-depth selectively secure HIBE) — folklore.
Variations
Anonymous HIBE
A ciphertext hides the identity vector it was encrypted to: given two identity vectors of the same length and a message, no efficient adversary can tell to which vector the challenge ciphertext was encrypted, even with keys for every identity vector that is a prefix of neither. ABC+05 propose anonymous HIBE as an extension of anonymous IBE. The game is the hierarchical analogue of ANO-ID-CPA.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{ano\text{-}hibe\text{-}cpa}}_{\HIBE,d,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\pp, \msk) \gets \Setup(1^\secpar, d)$; $b \getsr \bits$
\State $\calO_{\mathrm{ext}}(\vec{\mathit{id}}) := \Extract(\msk, \vec{\mathit{id}})$
\State $(\vec{\mathit{id}}_0, \vec{\mathit{id}}_1, m, \stA) \gets \calA^{\calO_{\mathrm{ext}}}(1^\secpar, \pp)$
\Comment{$\calA$ may not query $\calO_{\mathrm{ext}}$ on a prefix of $\vec{\mathit{id}}_0$ or of $\vec{\mathit{id}}_1$; $|\vec{\mathit{id}}_0| = |\vec{\mathit{id}}_1|$, $m \in \calM$}
\State $c^* \gets \Enc(\pp, \vec{\mathit{id}}_b, m)$
\State $b' \gets \calA^{\calO_{\mathrm{ext}}}(c^*, \stA)$
\Comment{$\calA$ may not query $\calO_{\mathrm{ext}}$ on a prefix of $\vec{\mathit{id}}_0$ or of $\vec{\mathit{id}}_1$}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
An HIBE scheme is ANO-HIBE-CPA-secure if for every polynomially bounded and all efficient admissible ,
is negligible. The prefix restriction is necessary because a key for a prefix of delegates to , which test-decrypts . As an object, anonymous HIBE denotes a -correct scheme that is both IND-HIBE-CPA-secure and ANO-HIBE-CPA-secure (Anonymous HIBE ⇒ HIBE).
Binary tree encryption
A binary tree encryption (BTE) scheme of depth has as its nodes the strings , the root being the empty string ; every key is derived from the root key, and there is no extraction algorithm — CHK03. It is a tuple of efficient algorithms with message space :
- , a randomized algorithm outputting a public key and the key of the root,
- , a randomized algorithm which, for , takes the key of and outputs the keys of both children of (CHK03 call it Der),
- , a randomized algorithm encrypting for a node ,
- , a deterministic algorithm outputting or .
A BTE scheme is correct if with probability for all output by , all nodes , all keys obtained from by applications of , and all — CHK03.
Selective-node security
The adversary names a target node before runs. It then receives , the keys of the siblings of the nodes on the path from the root to , including the sibling of , and, if , the keys of and , all derived from by along that path; it names two messages and receives an encryption of one of them for — CHK03. Writing for the prefix of length and , the sibling of is . An admissible submits with .
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{sn\text{-}cpa}}_{\mathsf{BTE},\ell,\calA}(\secpar)$}
\begin{algorithmic}
\State $(w^*, \stA) \gets \calA(1^\secpar, \ell)$; $k := |w^*|$; $b \getsr \bits$
\State $(\pk, \sk_\epsilon) \gets \KeyGen(1^\secpar, \ell)$
\For{$i = 0, \ldots, \min(k, \ell - 1)$}
\State $(\sk_{w^*_{\le i} 0}, \sk_{w^*_{\le i} 1}) \gets \Delegate(\pk, w^*_{\le i}, \sk_{w^*_{\le i}})$
\EndFor
\State $K := \{\sk_{w^*_{\le i-1} \bar{w}^*_i} : 1 \le i \le k\}$
\If{$k < \ell$}
\State $K := K \cup \{\sk_{w^* 0}, \sk_{w^* 1}\}$
\EndIf
\State $(m_0, m_1, \stA) \gets \calA(\pk, K, \stA)$
\State $c^* \gets \Enc(\pk, w^*, m_b)$
\State $b' \gets \calA(c^*, \stA)$
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
A BTE scheme is selective-node secure (SN-CPA-secure) if for all polynomially bounded and all efficient admissible ,
is negligible — CHK03. The key of every node that is not a prefix of follows from by ; the key of a prefix of is withheld because it yields by . As an object, BTE denotes a correct and selective-node-secure scheme.
Other results
- HIBE ⇒ IBE
- IND-sID-CPA Security (Selective) ⇒ HIBE
- BBG05 achieves ciphertext size and key size — BBG05
- The first adaptive HIBE in the standard model under simple assumptions uses dual system encryption (DBDH + DLIN ⇒ HIBE) — Wat09
Participates in
Builds on Hierarchical identity-based encryption
- Anonymous HIBE ⇒ HIBE (via Anonymous HIBE)
- IND-HIBE-CPA-secure HIBE ⇔ HIBE (via IND-HIBE-CPA Security)
- Selectively secure HIBE ⇒ constant-depth selectively secure HIBE (via IND-sHIBE-CPA Security (Selective))
- Selectively secure HIBE ⇒ Selectively secure IBE (via Constant-depth selective security)
- Sub-exponentially selective HIBE ⇒ Selectively secure HIBE (via Sub-exponential IND-sHIBE-CPA Security)
- HIBE ⇒ Selectively secure HIBE
- HIBE ⇒ IBE
- Selective-node-secure BTE ⇒ Forward-secure PKE (Canetti–Halevi–Katz) (via Binary tree encryption)
- Sub-exponentially selective HIBE ⇒ adaptive HIBE (via Sub-exponential IND-sHIBE-CPA Security)
Produces Hierarchical identity-based encryption
- Anonymous HIBE ⇒ HIBE
- DBDH + DLIN ⇒ HIBE
- DBDH ⇒ Binary tree encryption (Canetti–Halevi–Katz) (via Binary tree encryption)
- IND-HIBE-CPA-secure HIBE ⇔ HIBE
- Selectively secure HIBE ⇒ constant-depth selectively secure HIBE (via Constant-depth selective security)
- Sub-exponentially selective HIBE ⇒ Selectively secure HIBE (via IND-sHIBE-CPA Security (Selective))
- HIBE ⇒ Selectively secure HIBE (via IND-sHIBE-CPA Security (Selective))
- IND-sID-CPA Security (Selective) ⇒ HIBE
- LWE ⇒ Selectively secure HIBE (bonsai trees) (via Constant-depth selective security)
- Sub-exponentially selective HIBE ⇒ adaptive HIBE (via IND-HIBE-CPA Security)
Barriers