Abstract
Wireless body area network includes some tiny wearable sensors for monitoring the physiological data of user, which has been a promising method of promoting the quality and efficiency greatly in healthcare. The collected physical signs are aggregated into the medical documents and uploaded to cloud server for utilizing by the remote user. As these files are highly sensitive privacy data, there is a vital challenge that constructs a secure and efficient communication architecture in this application scenario. Based on this standpoint, we present a lightweight verifiability ciphertext-policy attribute-based encryption protocol with outsourced decryption in this article. Specifically, our construction enjoys the following six features: (1) Although the outsourced decryption enables to save the computation overhead of the data user sharply in an attribute-based encryption scheme, the ciphertext is out of control and the correctness cannot be guaranteed by the data owner. The proposal provides the verifiability of ciphertext that ensures the user to check the correctness efficiently. (2) The size of the ciphertext is constant that is not increased with the complexity of attribute and access structure. (3) For Internet of Things devices, it introduces the fog computing into our protocol for the purpose of low latency and relation interactions, which has virtually saved the bandwidth. (4) With the help of blockchain technique, we encapsulate the hash value of public parameter, original and transformed ciphertext and transformed key into a block, so that the tamper-resistance is facilitated against an adversary from inside and outside the system. (5) In the standard model, we prove that it is selectively chosen-plaintext attack-secure and verifiable provided that the computational bilinear Diffie–Hellman assumption holds. (6) It implements this protocol and shows the result of performance measurement, which indicates a significant reduction on communication and computation costs burden on every entity in wireless body area network.
Introduction
Internet of Things (IoTs) connect physical devices on Internet, including sensor nodes, smart terminals, and other wireless communication equipments.1–3 As a main application of IoTs, the wireless body area network (WBAN) has attracted a tremendous attention recently.4–6 WBAN consists of various wearable intelligent sensors on the body, which are connected in the form of wireless communication link. The sensors in WBAN provide the constant health monitoring (for example, the heart beat, the body temperature, the blood pressure, and electrocardiogram), and real-time feedback to the data user (DU) or medical staff. Taking advantages of WBAN, the patient enjoys a promising physical mobility and experiences a high-quality healthcare service at home. In addition, these collected physiological data are uploaded to the cloud platform for being utilized by the DU.
As a distributed computation model over a shared pool, cloud computing provides infrastructure as a service like physical computing resources, data partitioning, storage, and so on.7–9 In the cloud paradigm, the user just pays for enjoying the corresponding cloud services supported by the cloud service provider (CSP) instead of managing and maintaining the infrastructure, which reduces the local storage overhead and provides the convenient data access service. Uploading the physiological data in WBAN to cloud platform, it realizes the real-time data sharing, the elastic computation resource distribution and the accurate response in time. However, the data owner (DO) loses the capacity of controlling over it physically after being stored on the cloud platform, and the physiological data contains some sensitive privacy. Therefore, it is essential to implement the confidentiality protection with access control against the unauthorized user and curious CSP.
For enjoying the confidentiality and access control in cloud, the attribute-based encryption (ABE) scheme was proposed as a preeminent cryptographic primitive. 10 ABE is an one-to-many encryption mode that the authorized entity is able to decrypt the protected data only if the access structure and attribute attached with private key and ciphertext. Moreover, this scheme is divided into two types, key-policy ABE (KP-ABE) schemes11–13 and ciphertext-policy ABE (CP-ABE) schemes.14–17 In the former, the private key is related to designated policies, while the ciphertext is labeled by some attributes. The user decrypts this ciphertext successfully unless these access policies are met by some attributes of such ciphertext, which reflects the permission of this user. On the contrary, in the latter, the ciphertext is associated with access policy, while some attribute sets are embedded into private key. CP-ABE scheme shows some requirements for the decryptor. In the cloud-assisted WBAN, the physiological data are stored on the cloud storage server (CSS), and shared among the authorized DUs. Consequently, it is more practical to adopt CP-ABE scheme to support confidentiality and access control in the cloud-assisted WBAN. Unfortunately, in the CP-ABE scheme, there is a shortcoming that the overhead is expensive due to the complexity of access structure in the phase of decryption, which impedes the application of ABE in IoTs device with limited resource.
For decreasing the computation overhead of decryption burdened on the DU, the concept of outsourced decryption was presented. 18 Concretely, a ciphertext and a transformation key are given to CSS, and it transforms this ciphertext into a partial one, rather that is directly decrypted by the DU. The user only spends a little cost in accessing the plaintext from this partial ciphertext. Nevertheless, the validity of this transformed ciphertext cannot be ensured for an untrusted CSS. Some curious CSS may distort and tamper the transformed ciphertext. Therefore, the verifiability of the transformed ciphertext is necessary for the outsourced decryption ABE. 19
Moreover, the blockchain technique is a desirable method of resisting the data tampering as well.20,21 Blockchain technology is a backbone of the Bitcoin cryptocurrency, 22 which is considered as a peer-to-peer distributed ledger technology to record data. The distinguishing features of this technology are decentralized maintenance, secure transporting and accessing the data as well as anti-tamper and undeniability. Taking blockchain into outsourced decryption ABE protocol, the ciphertext, the partial ciphertext, the transformation key, and other important parameters are encapsulated into a block chronologically, which avoids to be tampered from any entity, including the inside and outside adversary.
At the same time of enjoying the convenience, the cloud-assisted IoTs also suffers from the huge network latency, the massive data, and other various drawbacks. 23 To avoid these drawbacks, one of the preeminent technique measure is fog computing. As shown in Figure 1, fog computing is presented for extending the cloud service to the edge of the IoTs,24–26 which promotes the resources and services to be closer to the IoTs devices. In the face of the explosion of data in IoTs, fog computing enables to provide small latency and real-time application.

The underlying structure of fog computing.
Related works
ABE is a popular topic that enjoys the confidentiality and fine-grained access control. However, the weakness of original ABE scheme is that it needs some expensive operations in decryption, and the overhead is related to the complexity of access structure. Green et al. 18 introduced the model of ABE with outsourced computing to reduce the computational cost in decryption, which transformed the decryption operation to CSS and reduced the overhead of the DU significantly. Unfortunately, the correctness of transformed ciphertext in Green et al. 18 cannot be checked. Lai et al. 19 presented a verifiability ABE protocol with outsourced decryption to verify the validity of the transformed ciphertext. To improve the efficiency, Lin et al. 27 combined an attribute-based key encapsulation mechanism (KEM), a commitment protocol, and a symmetric key encryption scheme to achieve efficient verifiability. Moreover, they also put forward a unified model for outsourced decryption ABE with verifiability. Qin et al. 28 encrypted the data in symmetric encryption, and this symmetric key is encrypted under ABE scheme. By comparing the hash values, this protocol realized the verification of the outsourced ciphertext in correctness. Mao et al. 29 designed an improved verifiability ABE protocol with outsourced decryption to cut down the size of ciphertext and computational cost obviously, which committed to such plaintext by means of a random parameter. The scheme in Li et al. 30 gave a novel verifiable outsourced decryption of ABE scheme that the size of ciphertext is constant, which not only verified the validity of transformed ciphertext, but also made the overhead be irrelevant to the complexity of access structure. Li et al. 31 introduced an ABE protocol with fully verifiable oursourced decryption as well, and all the users (including authorized and unauthorized) enabled to check the correctness of transformed ciphertext. Recently, the scheme in Li et al. 32 demonstrated an verifiability ABE with outsourced computing in both the encryption and decryption phases. This protocol caused the cost of transformed key generation to be constant and shifted the burden on both the DO and user.
Furthermore, the blockchain technology is also employed to guarantee the validity of the outsourced data. If only encapsulated the vital parameters into a block, any entity (including the authorized user and trusted or curious authority from inside, and the unauthorized user and adversary from outside) could not tamper these data. Guo et al. 33 encapsulated the electronic health records (EHRs) in blockchain to guarantee the validity in the attribute-based cryptography primitive, every patient endorsed a message according to his attribute for avoiding to reveal his or her privacy. For applying in distribution system, the protocol in Guo et al. 34 demonstrated a multi-authority ABE for medical data. Taking advantage of the blockchain technique, the integrity of these private data in cloud is protected. Liu et al. 35 adopted the CP-ABE to provide strong privacy preservation in data sharing. Moreover, the index of physiological data is stored in the blockchain, which ensured that such sensitive data could not be modified arbitrarily. The schemes36–39 are all focused on the integrity and correctness of the outsourced data in cloud depending on the blockchain technology.
Although ABE scheme with outsourced decryption reduces the cost significantly, the mass data processing from sensor nodes is still greatly hindering the application of resource-limited IoT devices. Taking cloud-fog architecture into consideration, fog node (FN) is likely to be a proxy that executes partial computation. With the assistance of FN, it will need less calculation cost on the resource-limited IoT device. In the environment of fog computing, Zuo et al. 40 first presented the chosen-ciphertext attack (CCA)-secure model in ABE with outsourced decryption. Integrating CP-ABE and searchable encryption, Miao et al. 41 proposed an efficient fine-grained ciphertext searching system, which shifted partial computation overhead from the DU to the selected FN. Fan et al. 42 introduced an access control scheme with multiple authorities for privacy preservation in the fog-assisted IoT architecture, which operated the verifiable outsourced decryption by FN and ensured a real-time application. Considering the computing capacity of the sensor node, Wang et al. 43 presented a fine-grained access control with distributed outsourced computing, in which the receiver and sender just executed little calculation with the help of the FN.
Contributions
To this article, for preserving the privacy in WBAN, a lightweight verifiability CP-ABE protocol with outsourced decryption is presented. The contributions of our protocol are listed as following.
By adding verification algorithm in decryption, this scheme enjoys the verifiability of ciphertext to check the correctness by the DU. Moreover, depending on the blockchain technology, it encapsulates the important data into a block chronologically and protects these data from being tampered by inside and outside adversary.
The size of ciphertext is constant that is independent with the complexity of attributed set and access policy. Moreover, FN affords partial computation and storage task that cuts the cost of IoT device equipped by the DO.
Provided that the assumption of computational bilinear Diffie–Hellman (CBDH) holds, we formally prove this proposal is verifiable in the standard model, and selectively chosen-plaintext attack (CPA)-secure.
As for simulation and comparison, we implement our constrution and demonstrate the result of performance measurement, which indicates a significant reduction on the bandwidth of communication and computation for every entity in this protocol.
Organization
The remaining paper is organized as follows. Section “Preliminaries” introduces some basic knowledges and concepts, such as the notions of bilinear map, security assumption and access structure, the definition and security model of verifiability CP-ABE scheme with outsourced decryption in this article. Section “The architecture of system model” describes the detailed characters in our system model. Section “Our construction” presents our concrete CP-ABE scheme with verifiable oursourced decryption for WBAN. Section “Security analysis” proves the security and verifiability of this proposal. Section “Performance evaluation” demonstrates the experimental results on the performance comparison with the related schemes. Finally, Section “Conclusion” states our conclusions of such article.
Preliminaries
In this part, some preliminary knowledges regarding the cryptographic primitives that our scheme depends on are introduced.
Bilinear map
Suppose that
Bilinearity: ∀
Non-degeneracy: It exists
Computability: ∀
Complexity assumption
Let
Definition 1
CBDH problem
Given a tuple of elements
The CBDH assumption in
where this probability is over the randomly chosen tuple of
Access structure
Definition 2
Access structure
Suppose that
Formal definition of CP-ABE with outsourced decryption
The CP-ABE scheme with outsourced decryption consists of seven algorithms as follows.
Security model for CP-ABE with outsourced decryption
Confidentiality
As the traditional CCA-secure does not permit any changes on bits of ciphertext, which is not suitable for the above model of CP-ABE with outsourced decryption. Thus, it proposes the selectively CPA-secure model in the following game between a challenge
Init: The adversary
Setup: The challenger
Query Phase 1: Challenger
Private-Key-Extraction: Adversary
Transformation-Key-Extraction: Adversary
Challenge: Adversary
Query Phase 2: The adversary continues to make the same queries on Private-Key-Extraction and Transformation-Key-Extraction as in Query Phase 1. However, the private key should not meet the challenge access policy
Guess: Adversary
The advantage of
Definition 3
This verifiability CP-ABE protocol with outsourced decryption is selectively CPA-secure if the advantage of all the PPT adversaries is negligible in the above security model.
Verifiability
The verifiability for CP-ABE protocol with outsourced decryption is proposed by the interaction between adversary and challenger in the following.
Init: Adversary
Setup: Challenger
Query Phase 1: Adversary queries on Private-Key-Extraction and Transformation-Key-Extraction as in Query Phase 1 of the above security game.
Challenge: Adversary
Query Phase 2: The adversary adaptively launches the query in Query Phase 1.
Output: Adversary
Definition 4
Verifiability
This CP-ABE scheme with outsourced decryption is verifiable, if the advantage
The architecture of system model
The architecture of this system consists of the DO (such as patient), the FNs, the CSS, the trusted authority (TA) and the DU (such as doctor and researcher). The relationship between them is described in Figure 2 and elaborated as follows.

The system model of blockchain-enabled WBAN in fog computing.
DO in this system is considered as a patient, who enjoys the medical monitoring service from CSP. The wearable IoT devices collect the physiological data and medical images of the patient in WBAN, such as electrocardiograph (ECG), physical status video (PSV), blood pressure (BP), and so on. And then, these data are delivered to a collection device by the wireless network. Since the physical data are sensitive privacy information, for the sake of protecting the medical data and realizing fine-grained access control, DO designs an access policy that is used to encrypt the data under the verifiable outsourced decryption CP-ABE scheme with public system parameter
FN are located on the edge of network, which has the ability of computing, transmitting, and temporarily storing the medical data. There are three primary missions in our proposal. First, FN is in charge of retransmitting the ciphertext from DO to CSS. Second, after receiving the transformation key
CSS owns considerable storage space and calculation capability, which supplies outsourced storage and computation service to the customers. In this system, CSS is responsible for storing the outsourced data from DO in the form of ciphertext, which could be accessed by DU.
TA is a system parameter generator center, whose responsibility is generating the public parameters
DU represents the medical staff for diagnosis, the researcher for medical science and the relatives for solicitude, and so on. Each of registered user accepts the attribute secret key relying on its characteristics. If their attributes meet the access policy of DO, DU enables to access his or her medical data. In detail, after receiving the partial encrypted medical file (i.e. the transformed ciphertext
Our construction
In this section, it lists some employed notations in Table 1. Furthermore, it designs seven concrete algorithms that are demonstrated in the following.
Notions and meanings.
After that, it returns the ciphertext
Then, it computes
Outputting the transformed ciphertext as
Security analysis
In this part, it proves that this protocol is selectively CPA-secure and verifiable in the standard model.
Theorem 1
Provided that the protocol in Waters 17 is selectively CPA-secure, our proposal is selectively CPA-secure as well.
Proof
This protocol is selectively CPA-secure under the following two games.
The proof of this theorem consists of the following two lemmas. Lemma 1 proves the indistinguishability between
Lemma 1
Assume that the scheme in Waters
17
is selectively CPA-secure,
Proof
Suppose that an adversary
Init: The adversary
Setup:
Query Phase 1: The adversary
Challenge:
Query Phase 2:
Guess:
Provided that
Lemma 2
Provided that the scheme in Waters
17
is selectively CPA-secure, the adversary’s advantage in
Proof
Suppose that the advantage of
Assume that
Init:
Setup: Simulator picks random
Query Phase 1:
Challenge: The adversary
Query Phase 2: Adversary queries on Private-Key-Extraction adaptively as in Query Phase 1. Simulator responses this query correspondingly.
Guess: Finally, adversary returns a guess
Obviously,
In conclusion, these two lemmas show that the first four algorithms in our protocol as basic CP-ABE protocol is selectively CPA-secure. After that, in the following theorem, we will prove that if basic CP-ABE protocol is selectively CPA-secure, the whole protocol is selectively CPA-secure as well.
Theorem 2
Provided that basic CP-ABE protocol is selectively CPA-secure, this protocol with outsourced decryption is selectively CPA-secure as well.
Proof
Suppose that, in the selectively CPA-secure model, the advantage of
Init: The adversary
Setup: Simulator gives the above parameters
Query Phase 1:
Private-Key-Extraction: Based on the attribute set
Transformation-Key-Extraction: Based on the attribute set
Note that, the simulator
Challenge: Adversary submits two equal size messages
Query Phase 2:
Guess:
Provided that the guess
Theorem 3
Provided that CBDH assumption defined in Definition 1 holds, this CP-ABE protocol with outsourced decryption is verifiable.
Proof
Assume that
Setup: Simulator
Query Phase 1:
Challenge:
Query Phase 2: Adversary launches the same query on private key as in Query Phase 1, and simulator responses as before.
Output:
Furthermore, if
where
Performance evaluation
In this section, it demonstrates the cost evaluation between this protocol and other related schemes19,28–31,40 from the aspects of communication and computation overhead.
Communication overhead
Let
Comparison of communication overhead.
Computation overhead
We implement our scheme with previous works30,31,40 depending on pairing-based cryptography (PBC) library,
44
the operations are executed on the 64-bit Windows 10 operation system, 2.20-GHz Intel Core i5-5200u CPU with 8-GB RAM. Concretely, we select the Type A elliptic curve parameter with the 160-bit order. Figures 3–7 demonstrate the experimental results in the average time of 100 operations. Specifically, in Figure 3, because of integrating the attribute into

The cost of KeyGen algorithm.

The cost of Encrypt algorithm.

The cost of Decrypt algorithm.

The cost of Transformout algorithm.

The cost of Decryptout algorithm.
Conclusion
In this article, it presents a lightweight verifiable outsourced CP-ABE protocol for the typical WBAN in IoT, which enables a user to verify the correctness of the transformed ciphertext. The security is proven to be selectively CPA-secure, and the verifiability is reduced to CBDH assumption in the standard model. In addition, the complicated decryption operation is outsourced to the FN instead of being laid on the device of DU. As for the communication and computation overhead, they do not depend on the amount of attributes, which reduces the cost of the whole system greatly. Therefore, this scheme has some applications in the limited power devices, such as IoTs. Moreover, our scheme takes advantage of fog computing to provide low latency and real-time interactions, while the blockchain protects the public parameter and ciphertext from being tampered by the inside and outside adversary.
Footnotes
Handling Editor: Zheng Chang
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Key R&D Program of China under Grant 2017YFB0802000; the Natural Science Foundation of China under Grants 61802303, 61772418, and 61602378; the Key Research and Development Program of Shaanxi under Grant 2019KW-053; the Innovation Ability Support Program in Shaanxi Province of China under Grant 2017KJXX-47; the Natural Science Basic Research Plan in Shaanxi Province of China under Grants 2019JQ-866, 2018JZ6001, and 2016JM6033; the Research Program of Education Bureau of Shaanxi Province under Grant 19JK0803; the New Star Team of Xi’an University of Posts and Telecommunications under Grant 2016-02; the Fundamental Research Funds for the Central Universities under Grant GK201903005; and Guangxi Cooperative Innovation Center of Cloud Computing and Big Data under Grant YD1903.
