LIGHTWEIGHT ATTRIBUTE-BASED SIGNCRYPTION (ABSC) METHOD FOR CLOUD-FOG-ASSISTED INTERNET-OF-THINGS (IOT)

Information

  • Patent Application
  • 20230131071
  • Publication Number
    20230131071
  • Date Filed
    March 22, 2021
    3 years ago
  • Date Published
    April 27, 2023
    a year ago
Abstract
A lightweight attribute-based signcryption (ABSC) method for cloud-fog-assisted Internet-of-things: performing, by a central authority, system initialization to generate a system key pair, and disclosing a public key, the public key including a symmetric encryption algorithm (SEA) and a key derivation function (KDF); generating, by the central authority, a decryption key and an outsourcing decryption key based on a decryption attribute set of a data user, and generating a signature key and an outsourcing signature key based on a signature access structure; calling, by a data owner, a fog node for outsourcing signature, performing symmetric encryption on a plaintext based on a symmetric key, and performing ABSC on the symmetric key based on a defined encryption access structure; and calling, by the data user, a fog node for outsourcing signature verification, calling a fog node for outsourcing decryption, and performing symmetric decryption on a ciphertext based on an outsourcing decryption result.
Description
CROSS REFERENCE TO RELATED APPLICATION

This patent application claims the benefit and priority of Chinese Patent Application No. 202010205743.8, filed on Mar. 23, 2020, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.


TECHNICAL FIELD

The present disclosure relates to the field of attribute-based signcryption (ABSC), and in particular to a lightweight ABSC method for cloud-fog-assisted Internet-of-things (IoT).


BACKGROUND ART

Developed and extended from a conventional Internet, IoT links physical objects in a real world with a cyber world, to provide more efficient and intelligent services for people's lives. The IoT differs from the conventional network in: The IoT encompasses a variety of IoT devices. According to Cisco's Annual Visual Networking Index, machine-to-machine (M2M) connections supporting IoT applications will account for more than half of the world's 28.5 billion connected devices by 2022. On the other hand, there are very limited heterogeneous resources of the IoT devices for storage, computation, etc. Therefore, it is increasingly important to manage data in the IoT.


Cloud-assisted IoT is proposed to resolve a contradiction between massive data of the IoT and limited storage resources of the IoT device, specifically, massive data generated by the IoT are stored to a cloud storage center, and managed uniformly by a resource-rich cloud device. However, outsourced storage is bound to cause a series of security problems, and thus both confidentiality and authenticity of the data are hardly ensured. There are two direct methods to solve these problems, namely sign-then-encrypt, or encrypt-then-sign.


Conventional public key encryption can ensure the confidentiality of the data, but only implements one-to-one sharing, which violates an original intention of IoT design, namely providing the more efficient and intelligent services through data sharing. Presently, attribute-based encryption (ABE) is envisioned as a most promising approach to solve the above problems. It not only ensures the security of the data, but also realizes fine-grained data sharing. Nonetheless, regardless of the sign-then-encrypt or the encrypt-then-sign, the complexity of the scheme is a sum of complexities of two cryptographic primitives. In view of this, how to reduce computational burdens required by signature and encryption is a problem to be solved.


In recent years, in order to ensure the confidentiality and authenticity of the data, and further minimize computational burdens as much as possible, a number of ABSC schemes have been proposed. When the classic ABE scheme is applied to IoT scenarios, many problems arise. In ciphertext-policy attribute-based signature (CPABS), a device can define an access structure independently, which does not comply with an actual situation. Typically, anonymous authentication in most IoT scenarios is controlled by a central authority. Furthermore, according to key-policy ABE (KPABE), a data owner cannot define an access structure independently, which means that an access control right is not directly handed over to the data owner. In addition, the security of the ABE depends on mathematical assumptions of difficulties, which means that decryption burdens are hardly loaded by resource-limited IoT devices.


Therefore, while ensuring the confidentiality and authenticity of the data, how to reduce computational burdens required by signature and decryption to be more applicable to resource-limited IoT devices is a technical problem to be solved.


SUMMARY

In view of the above-mentioned deficiencies, an objective of the present disclosure is to provide a lightweight ABSC method for cloud-fog-assisted IoT, which can reduce computational burdens required by signature and decryption, while ensuring confidentiality and authenticity of data.


The present disclosure provides a lightweight ABSC method for cloud-fog-assisted IoT, including the following steps:


performing, by a central authority, system initialization to generate a system key pair, and disclosing a public key, the public key including a symmetric encryption algorithm (SEA) and a key derivation function (KDF);


assigning, by the central authority, a decryption attribute set to a registered data user, and generating, based on the decryption attribute set, a decryption key and an outsourcing decryption key corresponding to the data user; and assigning, by the central authority, a signature access structure to a data owner, and generating, based on the signature access structure, a signature key and an outsourcing signature key corresponding to the data owner;


selecting, by the data owner, an attribute set satisfying the signature access structure, and calling a fog node based on the outsourcing signature key for outsourcing signature; and


performing, by the data owner, symmetric encryption on a plaintext based on a symmetric key, performing ABSC on the symmetric key based on a defined encryption access structure to generate a signcryption ciphertext, and sending the signcryption ciphertext to a cloud storage center; and


calling, by a data user having an attribute set satisfying the encryption access structure, a fog node for outsourcing signature verification, and calling a fog node for outsourcing decryption; and performing, by the data user after verifying that a signature is legal according to an outsourcing signature verification result, symmetric decryption on the ciphertext based on an outsourcing decryption result to obtain the plaintext.


In the above implementation, the data user performs the symmetric encryption on plaintext data according to the symmetric key to generate the ciphertext, which improves an arithmetic speed and practicability compared with a scheme in which ABE is directly performed on massive data. By performing the ABSC on the symmetric key based on the defined encryption access structure of the data user, not only are confidentiality and authenticity of the symmetric key ensured, but also one-to-many sharing of the symmetric key is realized. By performing access control on the data user through the encryption access structure, the method allows a data user only having an attribute satisfying the access structure to access encrypted data, and prevents an illegal user from accessing the encrypted data. The cloud storage center stores the ciphertext, and the fog node assists the data owner for signature and decryption, which greatly alleviates a burden of a device.


Preferably, the key pair (PP,MSK) may be expressed as:






PP
=




{




G
,

G
T

,
p
,
e
,
g
,
v
,
Y
,

δ
1

,

δ
2

,

u


,

v


,

H
1

,

H
2

,

H
3

,

U
e

,

U
s

,
KDF
,









SE



(

Enc
,
Dec

)


,


{

h
w

}


attw


U
e



,


{

K
w

}


attw


U
d



,

μ
0

,


{

μ
i

}


i


[
l
]







}






MSK
=

{
a
}









where, G and GT each may be a p-order multiplicative group, g may be a generator of the G, and v may be an element of the G;


e may be a symmetric bilinear mapping function e: G×G→GT, and H1, H2 and H3 each may be a collision-resistant hash function, specifically:






H
1
:G→Z
p
,H
2{0,1}*→Zp*,H3:{0,1}*→{0,1}1;


hw∈Zp*, may be a random value selected from a group Z*p for a wth attribute in Ue;


kw∈Zp*, may be a random value selected from the group Z*p for a wth attribute in Us;


Y=e(g,g)α, α being a random value selected from the group Z*p;


ΠSE(Enc,Dec) is an initialized SEA, and KDF is an initialized KDF; and


δ1, δ2, u′, v′, K0, and u0 each are a random value selected from the group Z*p, and an array {ui}i∈[l] is a set of random values selected from the group Z*p.


Preferably, the decryption key SKd=(SK,SK′,{SKw}attw∈Ud,uid) may be expressed as:






SK=g
α
v
t






SK′=g
t





{SKw=hwt}attw∈Ud,uid


where, uid may be a user identity generated after a data user is registered to the central authority;


Ud,uid ∈Ue, may be a decryption attribute set selected by the central authority for the data user; and


t may be a random value selected from the group Z*p;


the outsourcing decryption key TSKd (TK′TK′,{TKw}attw∈Ud,uid) may be expressed as:






T
K
=g
α·t′
v
t·t′






TK′=g
t·t′





{TKw=hwt·t′}attw∈Ud,uid


where, t′ may be a random value selected by the central authority from the group Z*p, and the t′ may serve as a decryption verification key VKd=t′;


the signature key SKs may be expressed as:






D
0
=g
α

2
(K0Kr)rτ






D
0
′=g
r

τ
:


where, α1 may be a random value selected by the central authority from the group Z*p, α1<α, α2=α−α1;


τ may be an additional attribute selected from the attribute set; and


rτ may be a random number selected from the group Z*p for the attribute τ; and


the outsourcing signature key TSKs=({Di,D′iDi,w}i∈[ls]) may be expressed as:






D
i
=g
λρ

s

(i)(K0Kρs(i))ri






D
i
′=g
r

i







D
i,w
=K
w
r

i

,∀att
w
∈U
s
/{att
ρ

s
(i)}


where, (Mss) may be a signature access structure assigned by the central authority to the data owner, Ms, being a matrix ls×ks, and ρs being a row mapping function;


(v2, v3, . . . , vks) may be a set of random numbers selected by the central authority from the group Z*p;


{right arrow over (v)}=(α1, v2, . . . , vks) may be a random vector constructed based on the random value α1;





λρs(i)=Ms,i×{right arrow over (v)}; and


ri may be a random value selected from the group Z*p for an ith row in the matrix Ms (Ms, ρs).


Preferably, the selecting, by the data owner, an attribute set satisfying the signature access structure, and calling a fog node based on the outsourcing signature key for outsourcing signature may include:


selecting, by the data owner, an attribute set satisfying the signature access structure (Mes) for the signature, the attribute set being: Is={i:ρs(i)∈Us,sid};


searching, based on the attribute set, a set of constants {wi}i∈Is satisfying a following equation:





Σi∈IswiMs,i=(1,0, . . . ,0)ks


where, Ms,i may represent the ith row of the matrix Ms, i may represent an attribute mapped by the ith row of the matrix Ms in the attribute set Is, and wi may represent a corresponding constant;


sending, by the data owner, the set of constants {wi}i∈Is and the outsourcing decryption key to a fog node, the fog node serving as an outsourcing signature fog node;


selecting, by the outsourcing signature fog node, a random number ξ from the group Z*p for the outsourcing signature, thereby obtaining a signature labeled as an outsourcing signature a′, the outsourcing signature σ′=(σ′,σ′2) being expressed as:










σ
1


=


g
ξ






i


I
s






(

D
i


)


w
i











σ
2


=



(


K
0






attw


U

s
,
sid






K
w



)

ξ






i


I
s





(



D
i






att

w




ρ
s

(
i
)



attw


U

s
,
sid






,

D

i
,
w



)


w
i













and


sending, by the outsourcing signature fog node, the outsourcing signature a′ to the data owner.


Preferably, the performing, by the data owner, symmetric encryption on a plaintext based on a symmetric key, and performing ABSC on the symmetric key based on a defined encryption access structure to generate a signcryption ciphertext may include:


constructing, by the data owner, the symmetric key based on the KDF, and performing the symmetric encryption on the plaintext based on the symmetric key to generate a ciphertext;


defining, by the data owner, an encryption access structure (Me,Pe), Me being a matrix le×ke, and Pe being a row mapping function;


selecting, by the data owner, a random value s from the group Z*p to take as a secret exponent, selecting a set of random values (a2, a3, . . . , ake) from the group Z*p, and constructing a random vector α=(s,α23, . . . ,αke);


converting the encryption access structure into a linear secret sharing scheme (LSSS) matrix to obtain an encryption access matrix Me, and calculating Φρ∈[l]=α×Me,i for each row Ma,i in the encryption access matrix Me;


selecting, by the data owner, random values ζ and qs from the group Z*p, and performing the signcryption to obtain the signcryption ciphertext, the signcryption ciphertext being expressed as:










E
1

=

g
s








E
2

=


(


σ
1
μ



σ
2


)

s








{


E

3
,
i


=





ρ
e

(
i
)

Φ


h


ρ
e

(
i
)


-
s




}


i


[

l
e

]









E
4

=

Enc


(

SEK




d
,
m



)









σ
0

=


u




H

(
SEK
)





v




H

(
d
)











σ
1

=


g
ξ



σ
1










σ
2

=


D
0





σ
2


(


K
0






attw


U

s
,
sid






K
w



)

ξ





E
2

R

ζ


(


μ
0






i


[
l
]




μ
i

f
i




)

s









where, μ=H1(E1)





key=Ys∥σ0∥tt)






R=H
2(E1∥E2∥E3∥E4∥σ0∥σ1∥Me∥Us,sid)





(f1, . . . ,f1)∈{0,1}1=H31,tt,Me,Us,sid)


SEK∥d may represent the key; and


tt may represent present time in response to the signature, and may be labeled as a signature time identity; and


sending, by the data user, the encryption access structure, the signcryption ciphertext and the signature time identity tt to the cloud storage center.


Preferably, the calling, by a data user having an attribute set satisfying an encryption access structure, a fog node for outsourcing signature verification may include:


verifying, by the data user, whether a following equation is satisfied:





|tt′−tt|<tt


where, tt′ may represent present time in response to the outsourcing signature verification, and may be labeled as a signature verification time identity, and tt may represent a system-default maximum time difference;


verifying, if the equation is satisfied, whether the attribute set of the data user satisfies the encryption access structure;


calculating, by the data user, following parameters if the attribute set of the data user satisfies the encryption access structure:





μ=H1(E1)






R=H
2(E1∥E2∥E3∥E4∥σ0∥σ1∥Me∥Us,sid)





(f1, . . . ,f1)∈{0,1}1=H31,tt,Me,Us,sid);


selecting, by the data user, a random value x from the group Z*p to take as a signature verification key VKS, and recalculating a partial signcryption ciphertext to generate TCTs=(σ0x1x2x,E1x);


sending, by the data user, the μ, the R, the (f1, . . . , f1) and the TCTs to the fog node, the fog node serving as an outsourcing verification fog node; and


performing, by the outsourcing verification fog node, the outsourcing signature verification to generate a signature verification result VR, the signature verification result VR being expressed as:







V

R

=



e

(

g
,

σ
2
x


)



e

(


σ
1
s

,


K
0






attw


U

s
,
sid





K
w




)



e

(



(


δ
1
μ



δ
2


)

R

,

σ
0
S


)



e

(


E
1
S

,


μ
0






i


[
l
]




μ
i

f
i





)



.





Preferably, the calling, by a data user having an attribute set satisfying an encryption access structure, a fog node for outsourcing decryption may include:


selecting an attribute set satisfying an encryption access structure (Mes) for the decryption, the attribute set being:






I
d
={i:ρ
s(i)∈Us,sid}


searching, based on the attribute set, a set of constants {ci}ieIs satisfying a following equation:





Σi∈Id=ciMe,i=(1,0, . . . ,0)ke


where, a subscript i may be in one-to-one correspondence with a row in the matrix Me;


performing, by an outsourcing decryption fog node, the outsourcing decryption to obtain an outsourcing decryption result, a computational equation in the outsourcing decryption being:








TCT


=



e

(


E
1

,
TK

)



e

(





i


I
d





(

E

3
,
i


)


c
i



,

TK



)



e

(


E
1

,




i


I
d





(

TK


ρ
d

(
i
)


)


c
i




)



=

Y

st





;




and


sending, by the outsourcing decryption fog node, the outsourcing decryption result to the data user.


Preferably, the data user may verify a legality of the signature according to a following signature verification equation:






Y
VK

d

=VR.


Preferably, the data user may verify an integrity of the ciphertext according to a following ciphertext verification equation after verifying that the signature is legal according to the signature verification result:





σ4=u′H(SEK)v′H(d); and


Ys may be restored based on the outsourcing decryption result after the integrity of the ciphertext is verified, the symmetric key may be generated based on the KDF, and the symmetric decryption is performed according to the symmetric key.


The lightweight ABSC method for cloud-fog-assisted IoT provided by the present disclosure achieves the following advantages:


1. By encrypting plaintext data through the SEA, the present disclosure improves the efficiency and practicability of encryption, and is more applicable to massive data.


2. The ABSC method realizes confidentiality and authenticity of the data. By encrypting the symmetric key with CPABE, the present disclosure realizes security and one-to-many sharing of the symmetric key. By performing access control on the data user through the encryption access structure, the present disclosure can allow a data user only having an attribute satisfying the access structure to decrypt and restore the symmetric key, and can prevent an illegal user from accessing encrypted data. On the other hand, the ABSC method uses KPABS that has better practicability and applicability than CPABS and has a constant signature size, thereby reducing a system transmission loss. To sum up, the present disclosure is a practical hybrid-policy ABSC scheme.


3. The data owner outsources ciphertext storage to the cloud storage center, and performs the signature with assistance of a fog node, which greatly alleviates burdens for storage and computation. The data user performs the outsourcing signature verification through the fog node, and outsources most decryption burdens to the fog node, such that the computation overhead of the device is low. Therefore, the present disclosure is applicable to resource-limited devices.





BRIEF DESCRIPTION OF THE DRAWINGS

In order to describe the technical schemes in the embodiments of the present disclosure more clearly, the accompanying drawings required for describing the embodiments are briefly described below. Obviously, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and those of ordinary skill in the art would also be able to derive other accompanying drawings from these accompanying drawings without creative efforts.


The present disclosure is further described with reference to the accompanying drawings.



FIG. 1 is a flowchart of a lightweight ABSC method for cloud-fog-assisted IoT according to an embodiment of the present disclosure.





DETAILED DESCRIPTION OF THE EMBODIMENTS

The present disclosure is further described below in combination with accompanying drawings and specific embodiments so as to enable those skilled in the art to better understand and implement the present disclosure. The illustrated embodiments should not be construed as any limitation to the present disclosure. Embodiments and technical features in the embodiments of the present disclosure may be combined with each other without any conflict.


An embodiment of the present disclosure provides a lightweight ABSC method for cloud-fog-assisted IoT, which can reduce computational burdens required by signature and decryption, while ensuring confidentiality and authenticity of data.


Embodiment

As shown in FIG. 1, the lightweight ABSC method for cloud-fog-assisted IoT includes the following steps:


S100: A central authority performs system initialization to generate a system key pair, and discloses a public key, the public key including an SEA and a KDF.


S200: The central authority assigns a decryption attribute set to a registered data user, and generates, based on the decryption attribute set, a decryption key and an outsourcing decryption key corresponding to the data user; and the central authority assigns a signature access structure to a data owner, and generates, based on the signature access structure, a signature key and an outsourcing signature key corresponding to the data owner.


S300: The data owner selects an attribute set satisfying the signature access structure, and calls a fog node based on the outsourcing signature key for outsourcing signature; and the data owner performs symmetric encryption on a plaintext based on a symmetric key, performs ABSC on the symmetric key based on a defined encryption access structure to generate a signcryption ciphertext, and sends the signcryption ciphertext to a cloud storage center.


S400: A data user having an attribute set satisfying the encryption access structure calls a fog node for outsourcing signature verification, and calls a fog node for outsourcing decryption; and after verifying that a signature is legal according to an outsourcing signature verification result, the data user performs symmetric decryption on the ciphertext based on an outsourcing decryption result to obtain the plaintext.


In Step S100, the key pair is generated as follows:


A security parameter λ is input, and two p-order multiplicative groups G and GT are selected, where g is a generator of the G, and v is an element of the G.


A symmetric bilinear map e:G×G→GT is selected.


Three collision-resistant hash functions H1, H2 and H3 are selected, specifically, H1:G→Zp*, H2:{0,1}*→Zp*, and H3:{0,1}*→{0,1}1.


Initialized Ue is a universal set of encryption attributes. Initialized Us, is a universal set of signature attributes. The central authority selects a random value: hw∈Zp* for each attribute in the Ue, and a random value Kw ∈Zp* for each attribute in the Us.


The central authority selects a random value a from a group Z*p to calculate Y=e(g,g)α.


The central authority selects random values δ1, δ2, u′, v′, K0, and u0 from the group Z*p, and selects a set of random values {ui}i∈[l].


A SEA ΠSC(Enc,Dec) is initialized, and a KDF is initialized.


The key pair (PP,MSK) is expressed as:






PP
=





{




G
,

G
T

,
p
,
e
,
g
,
v
,
Y
,

δ
1

,

δ
2

,

u


,

v


,

H
1

,

H
2

,

H
3

,

U
e

,

U
s

,
KDF
,









SE



(

Enc
,
Dec

)


,


{

h
w

}


attw


U
e



,


{

K
w

}


attw


U
d



,

μ
0

,


{

μ
i

}


i


[
l
]







}






MSK
=


{
a
}

.





.





In Step S200, the decryption key is generated as follows:


A data user applies for registration to the central authority to obtain a user identity uid.


The central authority selects a decryption attribute set Ud,uid ∈Us for the data user.


The central authority selects a random value t from the group Z*p to calculate the decryption key, the decryption key SKd=(SK,SK′,{SKw}attweUd,uid) being expressed as:






SK=g
α
v
t






SK′=g
t





{SKw=hwt}attw∈Ud,uido.


The decryption key is generated as follows:


The central authority selects a random value t′ from the group Z*p to take as a decryption verification key VKd={dot over (t)}, and calculates the outsourcing decryption key, the outsourcing decryption key TSKd=(TK,TK′,{TKw}attw∈Ud,uid) being expressed as:






TK=g
α·t
′v
t·t′






TK′=g
t·t′





{TKw=hwt·t′}attw∈Ud,uido.


The signature key is generated as follows:


The central authority selects a random value α1 from the group Z*p, α1<α, and calculates α2=α−601.


The central authority selects an additional attribute T from the attribute set, and selects a random number rt from the group Z*p for the attribute T to calculate the signature key SKs, the signature key SKs=(D0,D0′) being expressed as:






D
0
=g
α

2
(K0Kτ)rτ






D
0
′=g
r

τ
.


The outsourcing signature key is generated as follows:


The central authority assigns a special signature access structure (Ms, ρs) to the data owner, Ms being a matrix ls×ks, and ρs being a row mapping function, and converts the signature access structure (Ms, ρs) into an LSSS matrix to obtain a signature access matrix Ms.


The central authority selects a set of random numbers (v2, v3, . . . , vks) from the group Z*p, uses the random value α1 to form a random vector {right arrow over (v)}=(α1, v2 . . . , vks), and calculates λρs(i)=Ms,i×{circumflex over (v)}.


For each row in the signature access matrix Ms, a random value r is selected from the group Z*p, and the outsourcing signature key is calculated, the outsourcing signature key TSKs=({Di,Di′Di,w}i∈[ls]) being expressed as:






D
i
=g
λρ

s(i)
(K0Kρs(i))ri






D
i
′=g
r

i







D
i,w
=K
w
r

i

,{att
w
∈U
s
/att
ρ

s
(i)}.


In Step S300, the fog node assists the data owner for the signature, specifically:


The data owner selects an attribute set satisfying the signature access structure (Ms, ρs) for the signature, the attribute set being: Is={i:ρs(s)∈Us,sid}.


A set of constants {wi}i∈Is: satisfying a following equation are searched based on the attribute set:





Σi∈IswiMs,i=(1,0, . . . ,0)ks


where, Ms,i, represents the ith row of the matrix Ms, i represents an attribute mapped by the ith row of the matrix Ms, in the attribute set Is, and wi represents a corresponding constant.


The data owner sends the set of constants {wi}i∈Is and the outsourcing decryption key to a fog node, the fog node serving as an outsourcing signature fog node.


The outsourcing signature fog node selects a random number ξ from the group Z*p for the outsourcing signature, thereby obtaining a signature labeled as an outsourcing signature σ′, the outsourcing signature σ′=(σ′,σ′2) being expressed as:











σ
1


=


g
ξ






i


I
s






(

D
i


)


w
i











σ
2


=



(


K
0






attw


U

s
,
sid






K
w



)

ξ






i


I
s





(



D
i






att

w




ρ
s

(
i
)



attw


U

s
,
sid






,

D

i
,
w



)


w
i









.




The outsourcing signature fog node sends the outsourcing signature σ′ to the data owner.


The outsourcing signature is a semi-signature. After the semi-signature is sent to the data owner, the data owner encrypts the plaintext and continues the signature, specifically:


The data owner constructs the symmetric key based on the KDF, and performs the symmetric encryption on the plaintext based on the symmetric key to generate a ciphertext.


The data owner defines an encryption access structure (Me,Pe), Me being a matrix le×ke, and Pe being a row mapping function.


The data owner selects a random value s from the group Z*p to take as a secret exponent, selects a set of random values (a2, a3, . . . , ake) from the group Z*p, and constructs a random vector α=(s,α23, . . . , αke).


The encryption access structure is converted into an LSSS matrix to obtain an encryption access matrix Me, and Φρe(i)=α×Me,i is calculated for each row Me,i in the encryption access matrix Me.


The data owner selects random values ζ and qk from the group Z*p, and performs the signcryption to obtain the signcryption ciphertext, the signcryption ciphertext being expressed as:










E
1

=

g
s








E
2

=


(


δ
1
μ



δ
2


)

s








{


E

3
,
i


=


v
ϕ







ρ
e

(
i
)



h


ρ
e

(
i
)


-
s





}


i


[

l
e

]









E
4

=

Enc


(

SEK




d
,
m



)









σ
0

=

g

s
·
ϛ









σ
1

=


σ
1


·

D
0


·

g

q
κ










σ
2

=


D
0





σ
2


(





K
0



K
τ


)


q
κ






E
2

R

ζ


(


μ
0






i


[
l
]




μ
i

f
i




)

s









σ
3

=


u




H

(
SEK
)





v




H

(
d
)











where, μ=H1(E1),


E4=Enc(SEK∥d,m), is the ciphertext generated by performing the symmetric encryption on the plaintext according to the symmetric key, and SEK∥d is the symmetric key constructed by the data owner based on the KDF:






KDF(key,1)=SEK∥d





key=Ys∥σ0∥tt,


tt representing present time in response to the signature, and being labeled as a signature time identity; and


m being plaintext data desired by the data owner for encryption.






R=H
2(E1∥E2∥E3∥E4∥σ0∥σ1∥Me∥Us,sid),





(f1, . . . ,f1)∈{0,1}1=H31,tt,Me,Us,sid);


The data user sends the encryption access structure, the signcryption ciphertext and the signature time identity tt to the cloud storage center.


In Step S400, the fog node assists the data user for designcryption. First of all, outsourcing signature verification is performed through the fog node, specifically:


The data user verifies whether a following equation is satisfied:





|tt′−tt|<tt


where, tt′ represents present time in response to the outsourcing signature verification, and is labeled as a signature verification time identity, and tt represents a system-default maximum time difference.


If the equation is satisfied, whether the attribute set of the data user satisfies the encryption access structure is verified.


The data user calculates following parameters if the attribute set of the data user satisfies the encryption access structure:






H=H
1(E1)






R=H
2(E1∥E2∥E3∥E4∥σ0∥σ1∥Me∥Us,sid)





(f1, . . . ,f1)∈{0,1}1=H31,tt,Me,Us,sid);


The data user selects a random value x from the group Z*p to take as a signature verification key VKs, and recalculates a partial signcryption ciphertext to generate TCTs=(σ0x1x2x,E1x).


The data user sends the μ, the R, the (f1, . . . , f1) and the TCTs to a fog node, the fog node serving as an outsourcing verification fog node.


The outsourcing verification fog node performs the outsourcing signature verification to generate a signature verification result VR, the signature verification result VR being expressed as:






VR
=


e

(

g
,

σ
2
x


)



e

(


σ
1
s

,


K
0






attw


U

s
,
sid





K
w




)



e

(



(


δ
1
μ



δ
2


)

R

,

σ
0
S


)



e

(


E
1
S

,


μ
0






i


[
l
]




μ
i

f
i





)







Upon a success of the outsourcing signature verification, an outsourcing decryption fog node performs outsourcing decryption, specifically:


An attribute set satisfying the signature access structure (Mes) is selected for decryption, the attribute set being: Id={i:ρs(i)∈Us,sid};


A set of constants {ci}i∈Is: satisfying a following equation are searched based on the attribute set:





Σi∈IdciMe,i=(1,0, . . . ,0)ke


where, a subscript i is in one-to-one correspondence with a row in the matrix Me.


The outsourcing decryption fog node performs the outsourcing decryption to obtain an outsourcing decryption result, a computational equation in the outsourcing decryption being:







TCT


=



e

(


E
1

,
TK

)



e

(





i


I
d





(

E

3
,
i


)


c
i



,

TK



)



e

(


E
1

,




i


I
d





(

TK


ρ
d

(
i
)


)


c
i




)



=


Y

st



.






The outsourcing decryption fog node sends the outsourcing decryption result to the data user.


The outsourcing decryption result obtained from the outsourcing decryption of the fog node is a semi-ciphertext. The fog node sends the semi-ciphertext to the data user for decryption, specifically:


The data user verifies a legality of the signature according to a following signature verification equation:






Y
VK

d

=VR.


The data user verifies an integrity of the ciphertext according to a following ciphertext verification equation after verifying that the signature is legal according to the signature verification result:





σ4=u′H(SEK)v′H(d).


Ys is restored based on the outsourcing decryption result after the integrity of the ciphertext is verified, the symmetric key is generated based on the KDF, and the symmetric decryption is performed according to the plaintext.


The aforementioned examples are only preferred embodiments illustrated for fully explaining the present disclosure, and the claimed scope of the present disclosure is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present disclosure are both within the claimed scope of the present disclosure. The claimed scope of the present disclosure shall be determined by the claims.

Claims
  • 1. A lightweight attribute-based signcryption (ABSC) method for cloud-fog-assisted Internet-of-things (IoT), comprising the following steps: performing, by a central authority, system initialization to generate a system key pair, and disclosing a public key, the public key comprising a symmetric encryption algorithm (SEA) and a key derivation function (KDF);assigning, by the central authority, a decryption attribute set to a successfully registered data user, and generating, based on the decryption attribute set, a decryption key and an outsourcing decryption key corresponding to the data user; and assigning, by the central authority, a signature access structure to a data owner, and generating, based on the signature access structure, a signature key and an outsourcing signature key corresponding to the data owner;selecting, by the data owner, an attribute set satisfying the signature access structure, and calling a fog node based on the outsourcing signature key for outsourcing signature; and performing, by the data owner, symmetric encryption on a plaintext based on a symmetric key, performing ABSC on the symmetric key based on a defined encryption access structure to generate a signcryption ciphertext, and sending the signcryption ciphertext to a cloud storage center; andcalling, by a data user having an attribute set satisfying the encryption access structure, a fog node for outsourcing signature verification, and calling a fog node for outsourcing decryption; and performing, by the data user after verifying that a signature is legal according to an outsourcing signature verification result, symmetric decryption on the ciphertext based on an outsourcing decryption result to obtain the plaintext.
  • 2. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 1, wherein the system key pair (PP,MSK) is expressed as:
  • 3. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 2, wherein the decryption key SKd=(SK,SK′,{SKw}attw∈Ud,uid) is expressed as: SK=gαvt SK′=gt {SKw=hwt}attw∈Ud,uid,wherein, uid is a user identity generated after a data user is registered to the central authority; Ud,uid ∈Ue is a decryption attribute set assigned by the central authority to the data user; and t is a random value selected from the group Z*p;the outsourcing decryption key TSKd=(TK,TK′,{TKw}attw∈Ud,uid) is expressed as: TK=gα·t′vt·i′TK′=gt·t′{TKw=hwt t′}attw∈Ud,uid
  • 4. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 3, wherein the selecting, by the data owner, an attribute set satisfying the signature access structure, and calling a fog node based on the outsourcing signature key for outsourcing signature comprises: selecting, by the data owner, an attribute set satisfying the signature access structure (Ms,Ps) for the signature, the attribute set being: Is={i:ρs(i)∈Us,sid};searching, based on the attribute set, a set of constants {wi}i∈Is satisfying a following equation: Σi∈IswiMs,i=(1,0, . . . ,0)ks wherein, Ms,i represents the ith row of the matrix Ms, i represents an attribute mapped by the ith row of the matrix Ms, in the attribute set Is, and wi represents a corresponding constant;sending, by the data owner, the set of constants {wi}i∈Is, and the outsourcing decryption key to a fog node, the fog node serving as an outsourcing signature fog node;selecting, by the outsourcing signature fog node, a random number ξ from the group Z*p for the outsourcing signature, thereby obtaining a signature labeled as an outsourcing signature σ′, the outsourcing signature σ′=(σ′,σ′2) being expressed as:
  • 5. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 4, wherein the performing, by the data owner, symmetric encryption on a plaintext based on a symmetric key, and performing ABSC on the symmetric key based on a defined encryption access structure to generate a signcryption ciphertext comprises: defining, by the data owner, an encryption access structure (Me,Pe), Me being a matrix le×ke, and Pe being a row mapping function;selecting, by the data owner, a random value s from the group Z*p to take as a secret exponent, selecting a set of random values (a2, a3, . . . , ake) from the group Z*p, and constructing a random vector α=(s, α2, α3, . . . , αke);converting the encryption access structure into a linear secret sharing scheme (LSSS) matrix to obtain an encryption access matrix Me, and calculating Φρe(i)=α×Me,i for each row Me,i in the encryption access matrix Me;selecting, by the data owner, random values ζ and qk from the group Z*p, and performing the signcryption to obtain the signcryption ciphertext, the signcryption ciphertext being expressed as:
  • 6. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 5, wherein the calling, by a data user having an attribute set satisfying an encryption access structure, a fog node for outsourcing signature verification comprises: verifying, by the data user, whether a following equation is satisfied: |tt*−tt|<ttwherein, tt′ represents present time in response to the outsourcing signature verification, and is labeled as a signature verification time identity, and tt represents a system-default maximum time difference;verifying, if the equation is satisfied, whether the attribute set of the data user satisfies the encryption access structure;calculating, by the data user, following parameters if the attribute set of the data user satisfies the encryption access structure: μ=H1(E1)R=H2(E1∥E2∥E3∥E4∥σ0∥σ1∥Me∥Us,sid)(f1, . . . ,f1)∈{0,1}1=H3(σ1,tt,Me,Us,sid):selecting, by the data user, a random value x from the group Z*p to take as a signature verification key Vks, and recalculating a partial signcryption ciphertext to generate TCTs=(σ0x,σ1x,σ2x,E1x);sending, by the data user, the μ, the R, the (f1, . . . , f1) and the TCTs to the fog node, the fog node serving as an outsourcing verification fog node; andperforming, by the outsourcing verification fog node, the outsourcing signature verification to generate a signature verification result VR, the signature verification result VR being expressed as:
  • 7. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 6, wherein the calling, by a data user having an attribute set satisfying an encryption access structure, a fog node for outsourcing decryption comprises: selecting an attribute set satisfying an encryption access structure (Me, ρs) for the decryption, the attribute set being: Id={i:ρs(i)∈Us,sid};searching, based on the attribute set, a set of constants {ci}i∈Is satisfying a following equation: Σi∈IdciMe,i=(1,0, . . . ,0)ke wherein, a subscript i is in one-to-one correspondence with a row in the matrix Me;performing, by an outsourcing decryption fog node, the outsourcing decryption to obtain an outsourcing decryption result, a computational equation in the outsourcing decryption being:
  • 8. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 7, wherein the data user verifies a legality of the signature according to a following signature verification equation: YVKd=VR.
  • 9. The lightweight ABSC method for cloud-fog-assisted IoT according to claim 8, wherein the data user verifies an integrity of the ciphertext according to a following ciphertext verification equation after verifying that the signature is legal according to the signature verification result: σ4=u′H*(SEK)v′H(d); andYs is restored based on the outsourcing decryption result after the integrity of the ciphertext is verified, the symmetric key is generated based on the KDF, and the symmetric decryption is performed according to the symmetric key.
Priority Claims (1)
Number Date Country Kind
202010205743.8 Mar 2020 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2021/082095 3/22/2021 WO