Privacy signature algorithm based on strategy driving
By introducing policy-driven and elliptic curve addition groups into traditional signature schemes, the problems of key escrow and attribute leakage are solved, efficient privacy signatures are achieved, user identity privacy and accountability are guaranteed, and computing and communication overhead are reduced.
Patent Information
- Application Number
- CN202310363519.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-15
AI Technical Summary
Traditional attribute-based signature schemes suffer from key escrow issues, attribute leakage, and incomplete descriptions, as well as low computational efficiency and high communication complexity.
A policy-driven privacy signature algorithm is designed, which uses the authority and the Key Generation Center (KGC) to jointly generate the user's public and private key pairs, and realizes user permission control through the elliptic curve addition group to ensure user identity privacy and accountability. And avoid time-consuming bilinear alignment operations.
It achieves conditional privacy, transparency, traceability and low computing overhead, reduces communication complexity, improves computing efficiency, and enhances security and satisfaction in practical applications.
Smart Images

Figure CN118784238A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to information security technology, and in particular to a privacy signature algorithm based on policy-driven. Background Art
[0002] Attribute-Based Signatures (ABS) is a digital signature technology. The signer can select attributes that meet the verification policy to generate a valid signature without revealing the user's identity or attributes. However, the traditional ABS scheme generates private signing keys for users by the Key Generating Centre (KGC), which can fully control the users and requires a large number of parameter sets. All its elements need to be described in the form of attributes, but there are still some logical relationships that cannot be described by attributes, and it is easy to leak attribute information. Policy-driven is a technology that combines roles / attributes with logic. It can grant users access to resources by setting policies, that is, each user's signature key is associated with a policy set, and the user's permissions are controlled by a specific policy set. Although certificateless policy-driven signatures can solve key escrow and policy control problems.
[0003] In response to the above problems, this patent designs a policy-driven privacy signature algorithm based on the elliptic curve additive group, in which the authority is composed of two parts: the policy maker and the KGC, which effectively solves the key custody problem. In addition, the signature algorithm can achieve conditional privacy, protect the identity privacy of honest users and effectively hold malicious users accountable. It has the characteristics of transparency, traceability, and visual correlation, and can effectively solve problems such as attribute leakage and incomplete description. At the same time, it avoids time-consuming bilinear pairing operations, effectively improves computing efficiency, and reduces communication complexity. Summary of the invention
[0004] The purpose of the present invention is to provide a policy-driven privacy signature algorithm to solve the above-mentioned deficiencies in the prior art.
[0005] In order to achieve the above-mentioned purpose, the present invention provides the following technical solutions: a privacy signature algorithm based on policy-driven, including three entities: an authority, user A, and user B. The privacy signature algorithm includes an initialization algorithm, a user pseudonym generation algorithm, a user secret value generation algorithm, a user partial private key generation algorithm, a user key generation algorithm, a signature generation algorithm, a verification algorithm, and a tracking algorithm. The authority calls the initialization algorithm, and the user A calls the user secret value generation algorithm and randomly selects a secret value x. i As its partial private key, the KGC calls the user partial private key generation algorithm to generate another partial private key s i, the user A combines the two parts of the private key and calls the user key generation algorithm to generate the corresponding public and private key pair, the user A calls the signature generation algorithm to generate a signature σ for the message, and the user B calls the verification algorithm to verify the signature.
[0006] Furthermore, the specific algorithm of the initialization algorithm is:
[0007] The algorithm inputs security parameters, and the policy maker creates and outputs a policy set (pol1, pol2, ..., pol n )∈{0,1} * KGC randomly selects a large prime number q to determine the non-singular elliptic curve E:y 2 =x 3 +ax+b(mod q)(where, ), select a prime n-order cyclic group from all points of E (including the point at infinity) And the generator Random Selection And calculate pk KGC =sk KGC G. Selecting a secure hash function Algorithm output system parameters
[0008] Furthermore, the specific algorithm of the user pseudonym generation algorithm is:
[0009] The algorithm inputs system parameters paramas and strategy set Pol i User A randomly selects Calculate N i = l i ·pk KGC , and their real identity information ID i With N i Perform XOR operation to get (N i ,UID i ) is sent to KGC. KGC calculates To verify ID i If it is true, a pseudonym PID is generated. i ={MID i , T i}, where T i The validity period of the pseudonym,
[0010] Furthermore, the specific algorithm of the user secret value generation algorithm is:
[0011] The algorithm inputs system parameters params and randomly selects secret values And calculate X i =x i G.
[0012] Furthermore, the specific algorithm of the user partial private key generation algorithm is:
[0013] Algorithm input system parameters params, master private key sk KGC and user A's policy set Pol i , where Pol i =pol j ||...||pol k , and randomly select Calculate A i =a i G, B i =X i +A i , The algorithm outputs the partial private key s of KGC i =a i +h1·sk KGC (mod n), and (s i , A i ) is sent to user A, who verifies it.
[0014] Furthermore, the specific algorithm of the user key generation algorithm is:
[0015] Algorithm input system parameters params, KGC partial private key s i , the algorithm outputs user A’s private key sk i =x i +s i (modn) and public key pk i =(x i +s i )·G.
[0016] Furthermore, the specific algorithm of the signature generation algorithm is:
[0017] Algorithm input system parameters params, messages Use user A's private key sk i =x i +s i (mod n) Sign the message. Randomly select calculate The algorithm outputs signature σ=(σ′,B i ).
[0018] Furthermore, the specific algorithm of the verification algorithm is:
[0019] The algorithm inputs system parameters params, signature σ and user A's public key pk i , user B verifies the equation S·G=h2·pk i +R is true, if true, it means the verification is successful, the algorithm outputs 1, otherwise it outputs 0.
[0020] Furthermore, the specific algorithm of the tracking algorithm is:
[0021] Algorithm input system parameters params, user A pseudonym PID i If necessary, the authority may KGc , calculate and obtain the real identity of user A
[0022] Compared with the prior art, the present invention provides a policy-driven privacy signature algorithm, which designs a new policy-driven privacy signature algorithm based on the elliptic curve additive cyclic group. It can not only realize conditional privacy, protect the identity privacy of honest users and the effective accountability of malicious users, but also has the characteristics of transparency, traceability, visual correlation, etc., and can effectively solve problems such as attribute leakage and incomplete description. At the same time, it avoids time-consuming bilinear pairing operations, effectively improves computing efficiency, and reduces communication complexity. Compared with the existing policy-driven signature scheme, the present invention is safer and has less computing overhead and communication cost, and can better meet the needs of actual applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0024] Figure 1 A schematic diagram of the overall structure provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings.
[0026] See also Figure 1 , a privacy signature algorithm based on policy drive, including three entities: authority, user A, and user B. The privacy signature algorithm includes initialization algorithm, user pseudonym generation algorithm, user secret value generation algorithm, user partial private key generation algorithm, user key generation algorithm, signature generation algorithm, verification algorithm, and tracking algorithm. The authority calls the initialization algorithm, and user A calls the user secret value generation algorithm and randomly selects the secret value xi As its partial private key, KGC calls the user's partial private key generation algorithm to generate another partial private key s i , User A combines the two parts of the private key and calls the user key generation algorithm to generate the corresponding public and private key pair. User A calls the signature generation algorithm to generate a signature σ for the message, and user B calls the verification algorithm to verify the signature.
[0027] The specific algorithm of initialization algorithm is:
[0028] The algorithm inputs the security parameter λ, and the policy maker creates and outputs a policy set (pol1, pol2, ..., pol n )∈{0,1} * KGC randomly selects a large prime number q to determine the non-singular elliptic curve E:y 2 =x 3 +ax+b(mod q)(where, ), select a prime n-order cyclic group from all points of E (including the point at infinity) And the generator Random Selection And calculate pk KGC =sk KGC G. Selecting a secure hash function Algorithm output system parameters
[0029] The specific algorithm for generating user pseudonyms is as follows:
[0030] The algorithm inputs system parameters paramas and strategy set Pol i User A randomly selects Calculate N i = l i ·pk KGC , and their real identity information ID i With N i Perform XOR operation to get (N i ,UID i ) is sent to KGC. KGC calculates To verify ID i If it is true, a pseudonym PID is generated. i ={MID i , T i}, where T i The validity period of the pseudonym,
[0031] The specific algorithm for generating user secret value is as follows:
[0032] The algorithm inputs system parameters params and randomly selects secret values And calculate X i =x i G
[0033] The specific algorithm for generating the user's partial private key is:
[0034] Algorithm input system parameters params, master private key sk KGC and user A's policy set Pol i , where Pol i =pol j ||...||pol k , and randomly select Calculate A i =a i G, B i =X i +A i , The algorithm outputs the partial private key s of KGC i =a i +h1·sk KGC (mod n), and (s i , A i ) is sent to user A, who verifies it.
[0035] The specific algorithm for user key generation algorithm is:
[0036] Algorithm input system parameters params, KGC partial private key s i , the algorithm outputs user A’s private key sk i =x i +s i (modn) and public key pk i =(x i +s i )·G.
[0037] The specific algorithm of signature generation algorithm is:
[0038] Algorithm input system parameters params, messages Use user A's private key sk i =x i +s i (mod n) Sign the message. Randomly select calculate The algorithm outputs signature σ=(σ′,B i ).
[0039] The specific algorithm of verification algorithm is:
[0040] The algorithm inputs system parameters params, signature σ and user A's public key pk i , user B verifies the equation S·G=h2·pk i +R is true, if true, it means the verification is successful, the algorithm outputs 1, otherwise it outputs 0.
[0041] The specific algorithm of the tracking algorithm is:
[0042] Algorithm input system parameters params, user A pseudonym PID i If necessary, the authority may KGC , calculate and obtain the real identity of user A UID i , T i ).
[0043] in
[0044] q represents a large prime number, k represents the order of the polynomial, and F q represents a finite field containing q elements, a and b represent F q The elements in F q An elliptic curve E on q ) represents F q The set of all rational points on the elliptic curve E (including the point O at infinity), #E(F q ) represents E(F q ) is called the elliptic curve E(F q ), O represents a special point on the elliptic curve, called the infinity point or the zero point, represents the cyclic group containing all points of the elliptic curve E and points at infinity, and G represents the group The generator of G, n represents the order of the generator G (n is a prime factor of #E(Fq)), represents a secure cryptographic hash function, represents the set of elements in the set {1, 2, ..., n} that are relatively prime to element n, x i Represents the user's secret value, s i Represents part of the user's private key, sk i Represents the user's private key, pk i Represents the user's public key, sk KGC Represents the private key of KGC, pk KGC represents the public key of KGC, and σ represents the signature generated by the user for message m
[0045] Working principle: When used, first, the authority calls the initialization Setup algorithm, and the policy maker creates and outputs the policy set Pol according to the rules. i, KGC calls the user's partial private key generation algorithm to generate another part of the private key s i , user A combines the two parts of the private key and calls the user key generation algorithm to generate the corresponding public and private key pair. User A calls the signature generation algorithm to generate a signature σ for the message. Finally, user B calls Verify to verify the signature. Since the present invention is policy-driven, each user's signature key is associated with a policy set, and the user's authority is controlled by a specific policy set, which effectively solves the problems of key trusteeship, attribute leakage and incomplete description, has traceability, and realizes conditional privacy; the elliptic curve addition cycle group used has high operating efficiency and low communication / storage overhead. In the key generation and signature generation process, only a low-time point multiplication operation is required, thereby ensuring that the present invention has the characteristics of low computational overhead and low communication cost.
[0046] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.
Claims
1. A policy-driven privacy signature algorithm, including three entities: authority, user A, and user B. It is characterized in that The privacy signature algorithm includes an initialization algorithm, a user pseudonym generation algorithm, a user secret value generation algorithm, a user partial private key generation algorithm, a user key generation algorithm, a signature generation algorithm, a verification algorithm, and a tracking algorithm. The authority calls the initialization algorithm, and the user A calls the user secret value generation algorithm and randomly selects a secret value x. i As its partial private key, the KGC calls the user partial private key generation algorithm to generate another partial private key s i , the user A combines the two parts of the private key and calls the user key generation algorithm to generate the corresponding public and private key pair, the user A calls the signature generation algorithm to generate a signature σ for the message, and the user B calls the verification algorithm to verify the signature.
2. According to the policy-driven privacy signature algorithm described in claim 1, It is characterized in that The specific algorithm of the initialization algorithm is: The algorithm inputs the security parameter λ, and the policy maker creates and outputs a policy set (pol 1 ,pol 2 ,……,pol n )∈{0,1} * KGC randomly selects a large prime number q to determine the non-singular elliptic curve E:y 2 =x 3 +ax+b(mod q)(where a, ), select a prime n-order cyclic group from all points of E (including the point at infinity) And generators Random Selection And calculate pk KGC =sk KGC G. Selecting a secure hash function Algorithm output system parameters 3. According to the policy-driven privacy signature algorithm described in claim 2, It is characterized in that The specific algorithm of the user pseudonym generation algorithm is: The algorithm inputs system parameters paramas and strategy set Pol i User A randomly selects Calculate N i = l i ·pk KGC , and their real identity information ID i With N i Perform XOR operation to get (N i ,UID i ) is sent to KGC. KGC calculates To verify ID i If it is true, a pseudonym PID is generated. i ={MID i ,T i }, where T i The validity period of the pseudonym, 4. According to the policy-driven privacy signature algorithm of claim 3, It is characterized in that The specific algorithm of the user secret value generation algorithm is: The algorithm inputs system parameters params and randomly selects secret values And calculate X i =x i G.
5. According to the policy-driven privacy signature algorithm of claim 4, It is characterized in that The specific algorithm for generating the user's partial private key is: Algorithm input system parameters params, master private key sk KGC and user A's policy set Pol i , where Pol i =pol j ||...||pol k , and randomly select Calculate A i =a i G, B i =X i +A i , The algorithm outputs the partial private key s of KGC i =a i +h 1 ·sk KGC (mod n), and (s i ,A i ) is sent to user A, who verifies it.
6. According to the policy-driven privacy signature algorithm of claim 5, It is characterized in that The specific algorithm of the user key generation algorithm is: Algorithm input system parameters params, KGC partial private key s i , the algorithm outputs user A’s private key sk i =x i +s i (mod n) and the public key pk i =(x i +s i )·G.
7. According to claim 6, a policy-driven privacy signature algorithm, It is characterized in that The specific algorithm of the signature generation algorithm is: Algorithm input system parameters params, messages Use user A's private key sk i =x i +s i (mod n) Sign the message. Randomly select Calculate R = r·G, S=r+h 2 ·sk i (mod n),σ′=(R,S). The algorithm outputs the signature σ=(σ′,B i ).
8. According to the policy-driven privacy signature algorithm of claim 7, It is characterized in that The specific algorithm of the verification algorithm is: The algorithm inputs system parameters params, signature σ and user A's public key pk i , user B verifies the equation S·G=h 2 ·pk i +R is true, if true, it means the verification is successful, the algorithm outputs 1, otherwise it outputs 0.
9. According to the policy-driven privacy signature algorithm of claim 8, It is characterized in that The specific algorithm of the tracking algorithm is: Algorithm input system parameters params, user A pseudonym PID i If necessary, the authority may KGC , calculate and obtain the real identity of user A
