SM9-based certificateless ring signature method and system
The certificateless ring signature method based on the national secret SM9 solves the complex certificate management and key custody problems of traditional ring signatures, realizes a simplified signature generation and verification process, improves the security of the private key and the anonymity of the signer, and meets the requirements of The need for signer privacy protection.
Patent Information
- Application Number
- CN202410753794.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-30
AI Technical Summary
Traditional ring signatures require digital certificates, which leads to complex certificate management issues, and SM9 ring signatures have key escrow issues, which affects the security and efficiency of the system.
Using the certificateless ring signature method based on the national secret SM9, the system parameters and master key are generated through the trusted center, the user generates the public key and private key, the signer uses the system parameters and public key set to output the signature, and the recipient verifies the legitimacy of the signature. It avoids certificate management and key escrow issues.
It realizes the generation and verification process of certificate-less ring signatures, simplifies certificate management, improves the security of private keys and the anonymity of signers, meets the needs of signers' privacy protection, and avoids the need to cooperate with other users.
Smart Images

Figure CN118573380A
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and in particular, to a certificateless ring signature method and system based on the national secret SM9. Background Art
[0002] Ring signatures hide the signer in the user set for signing, so that the verifier can only determine that the signature comes from a member of the group and cannot identify the real signer, which meets the authentication and anonymity expected by users and improves user privacy. Traditional ring signatures require the introduction of digital certificates to implement user identity authentication, resulting in complex certificate management issues. As the number of users in the system increases, problems such as certificate distribution and storage costs become increasingly prominent.
[0003] In order to meet the core technology innovation and information security independent control, the "SM9 identification public key cryptographic algorithm" including digital signature algorithm, key exchange protocol and public key encryption algorithm was developed. It adopts an identity-based cryptographic system to simplify the complexity of system certificate management. There are multiple SM9 ring signatures and certificateless ring signature schemes with different forms and properties in the prior art, but SM9 ring signatures have inherent key escrow problems. Summary of the invention
[0004] In order to overcome at least one shortcoming in the prior art, the present application provides a certificateless ring signature method and system based on the national encryption SM9.
[0005] In the first aspect, a certificateless ring signature method based on the national secret SM9 is provided, including:
[0006] Step 1: The trusted center generates system parameters and master keys based on security parameters; publishes the generated system parameters to users in the system, and keeps the master keys secret;
[0007] Step 2: The user interacts with the trusted center to generate the user's public key and private key based on the received system parameters;
[0008] Step 3: The signer outputs the signature according to the system parameters, the plaintext message, the user identification set of the signer, the corresponding public key set, and the signer's private key;
[0009] Step 4: The receiver verifies the signature based on the system parameters, the plaintext message, the signature, the user identification set of the signer, and the corresponding public key set. If the verification is successful, the plaintext message and signature are received; if the verification fails, the plaintext message and signature are rejected.
[0010] In one embodiment, in step 1, the trusted center generates system parameters according to the security parameters, including:
[0011] Step 11, input security parameter λ;
[0012] Step 12: The trusted center generates an additive cycle group and and the multiplicative cyclic group Determine from arrive Asymmetric bilinear map e;
[0013] Randomly select the system master key msk, is a set of integers consisting of 1, 2, ..., N-1, where N is a large prime number, and the main public key P of the computing system pub and intermediate variables g1, P pub =msk·P2, g1=e(P1,P pub ), where P1 and P2 are and The generator of
[0014] Select a cryptographic hash function H;
[0015] Step 13: Output system parameters params.
[0016] In one embodiment, in step 2, the user interacts with the trusted center to generate the user's public key and private key according to the received system parameters, including:
[0017] Step 21, input system parameters params;
[0018] Step 22, the user randomly selects a secret value, is a set of integers consisting of 1, 2, ..., N-1, N is a large prime number, a i is the secret value of user i;
[0019] Step 23: The trusted center calculates the partial private key, D i =msk·(H(ID i )+msk) -1 P1, where msk is the system master key, H is the cryptographic hash function, and P1 is the additive cyclic group Generator, ID i is the identity of user i, D i is the partial private key of user i;
[0020] Step 24, output the user's public key and the user's private key, using the following formula:
[0021] pk i =a i ·(P pub +H(ID i )·P2)
[0022] sk i =(H(pk i )+a i ) -1 ·D i ;
[0023] Among them, pk i is the public key of user i, sk i is the private key of user i, P2 is the additive cyclic group The generator of P pub The system master public key.
[0024] In one embodiment, in step 3, the signer outputs a signature according to the system parameters, the plaintext message, the user identification set of the signer and the corresponding public key set, and the signer's private key, including:
[0025] Step 31: Input system parameters params, plaintext message m, user ID set U of the signer and corresponding public key set PK, and the signer's private key sk s ; Among them, U=(ID1,ID2,...,ID n ), PK=(pk1,pk2,...,pk n ), ID n is the identity of user n, pk n is the public key of user n, s is the signer's number in U; the number of users in U is n;
[0026] Step 32, randomly select n-1 integers Calculate the intermediate variable R i , R i =r i P1; is a set of integers consisting of 1, 2, ..., N-1, N is a large prime number, and P1 is an additive cyclic group The generator of ; i is the number of the user in U;
[0027] Step 33, calculate the intermediate variable k i :
[0028] k i =e(R i ,Y i ) -1
[0029] Y i =pk i +q i Q i
[0030] q i =H(pk i)
[0031] Q i =P pub +H(ID i )·P2
[0032] Among them, Y i ,q i , Q i are all intermediate variables, H is the cryptographic hash function, and e is the arrive An asymmetric bilinear map of and is the additive cyclic group, is a multiplicative cyclic group, pk i is the public key of user i, P pub is the system master public key, ID i is the identity of user i, P2 is the additive cyclic group The generator of
[0033] Step 34, select random values r, z, Calculate the intermediate variables K and w:
[0034] K = ∏ i=1,i≠s k i ·e(zP1,Y s )
[0035]
[0036] g1=e(P1,P pub )
[0037] Among them, P1 is the additive cyclic group The generator of Y s is the intermediate variable corresponding to the signer, and g1 is the intermediate variable;
[0038] Step 35, determine the commitment value c about the message:
[0039] c=H(m||U||K||w)
[0040] Among them, || represents splicing;
[0041] Calculate the intermediate variable l:
[0042] l = rc mod N
[0043] Wherein, mod N is a modulo N operation, and N is a large prime number;
[0044] If l=0, return to step 32, otherwise, execute step 36;
[0045] Step 36, calculate the intermediate variable R corresponding to the signer s :
[0046] R s =S s -z·P1
[0047] S s = l·sk s
[0048] Among them, S s is the intermediate variable, sk s is the signer's private key;
[0049] Step 37, output signature σ, σ={c,R1,R2,…,R n ,K}.
[0050] In one embodiment, in step 4, the receiver verifies the signature according to the system parameters, the plaintext message, the signature, the user identification set of the signer, and the corresponding public key set. If the verification is successful, the plaintext message and the signature are received; if the verification fails, the plaintext message and the signature are rejected, including:
[0051] Step 41, input system parameters params, plaintext message m, signature σ, user identification set U of the signer and corresponding public key set PK;
[0052] Step 42, calculate the intermediate variable g:
[0053]
[0054] g1=e(P1,P pub )
[0055] Among them, g1 is an intermediate variable, c is the commitment value about the message, and P1 is the additive cyclic group The generator of P pub is the system master public key;
[0056] Step 43, calculate the intermediate variable w′:
[0057]
[0058] Y i ′=pk i +H(pk i )·Q i
[0059] Q i =P pub +H(ID i )·P2
[0060] Among them, i is the number of users in the user identification set U where the signer belongs, n is the number of users in U, and e is the number of users from arrive An asymmetric bilinear map of and is the additive cyclic group, is a multiplicative cyclic group, R i , Y i ′, Q i is an intermediate variable, K is an intermediate variable, pk i is the public key of user i, H is the cryptographic hash function, P pub is the system master public key, ID i is the identity of user i, P2 is the additive cyclic group The generator of
[0061] Step 44, calculate the verification commitment value:
[0062] c′=H(m||U||K||w′)
[0063] Among them, || represents splicing;
[0064] Step 45, verify whether the equation c′=c holds;
[0065] Step 46, if the equation holds, the plaintext message m and the corresponding signature σ are received; otherwise, the verification fails and an error is reported and the program exits.
[0066] In the second aspect, a certificateless ring signature system based on the national secret SM9 is provided, including:
[0067] The trusted center is used to generate system parameters and master keys based on security parameters, publish the generated system parameters to the user end, and keep the master key secret;
[0068] The user end is used to interact with the trusted center to generate the user's public key and private key according to the received system parameters;
[0069] The signer outputs the signature based on the system parameters, the plaintext message, the signer's user ID set and the corresponding public key set, and the signer's private key;
[0070] The receiver verifies the signature based on the system parameters, plaintext message, signature, the user identification set of the signer, and the corresponding public key set. If the verification is successful, the plaintext message and signature are received; if the verification fails, the reception is rejected.
[0071] Compared with the prior art, the present application has the following beneficial effects: The present application provides a certificateless ring signature method and system based on the national secret SM9, the method includes initialization, key setting, signing and verification steps, the signature generation method does not require complex certificate management, and avoids the key escrow problem inherent in the SM9 algorithm, while constructing a signature based on a ring signature to achieve the anonymity of the signer. The method of the present application is based on the national secret SM9 algorithm and the certificateless ring signature structure, and can complete the signing operation of data while hiding the true identity of the signer in a group of users, meet the needs of privacy protection for the signer, improve the security of the private key, and ensure the spontaneity of the signer to generate a user group without the need to cooperate with other users. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] The present application may be better understood by referring to the following description given in conjunction with the accompanying drawings, which together with the following detailed description are included in this specification and form a part of this specification. In the drawings:
[0073] Figure 1 A flowchart of a certificateless ring signature method based on the national secret SM9 according to an embodiment of the present application is shown;
[0074] Figure 2 A structural block diagram of a certificateless ring signature system based on the national encryption SM9 according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0075] The exemplary embodiments of the present application will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual embodiments are described in the specification. However, it should be understood that many implementation-specific decisions can be made in the process of developing any such actual embodiments in order to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment.
[0076] It is also necessary to explain here that, in order to avoid obscuring the present application due to unnecessary details, only the system structure closely related to the solution according to the present application is shown in the accompanying drawings, while other details that are not closely related to the present application are omitted.
[0077] It should be understood that the present application is not limited to the described implementation forms due to the following description with reference to the accompanying drawings. In this article, where feasible, the embodiments can be combined with each other, features between different embodiments can be replaced or borrowed, and one or more features can be omitted in one embodiment.
[0078] This application embodiment provides a certificateless ring signature method based on the national secret SM9. Figure 1 A flowchart of a certificateless ring signature method based on the national secret SM9 according to an embodiment of the present application is shown, see Figure 1 , methods include:
[0079] Step 1: The trusted center generates system parameters and a master key based on security parameters; publishes the generated system parameters to users in the system, and keeps the master key secret.
[0080] Step 2: The user interacts with the trusted center to generate the user's public key and private key based on the received system parameters.
[0081] Step 3: The signer outputs a signature based on the system parameters, the plaintext message, the user identification set of the signer, the corresponding public key set, and the signer's private key. Here, the signer is one of the users.
[0082] Step 4: The receiver verifies the signature based on the system parameters, plaintext message, signature, the user ID set of the signer, and the corresponding public key set. If the verification is successful, the plaintext message and signature are received; if the verification fails, the plaintext message and signature are rejected. The receiver can be multiple users.
[0083] In this embodiment, the method includes initialization, key setting, signing and verification steps. The signature generation method does not require complex certificate management and avoids the key escrow problem inherent in the SM9 algorithm. At the same time, the signature is constructed based on the ring signature to achieve the anonymity of the signer. The method of the present application is based on the national secret SM9 algorithm and the certificateless ring signature structure, and can complete the signing operation of data while hiding the true identity of the signer in a group of users, meet the needs of privacy protection for the signer, improve the security of the private key, and ensure the spontaneity of the signer to generate a user group without the need to cooperate with other users.
[0084] In one embodiment, in step 1, the trusted center generates system parameters according to the security parameters, including:
[0085] Step 11, input security parameter λ;
[0086] Step 12: The trusted center generates an additive cycle group and and the multiplicative cyclic group Determine from arrive Asymmetric bilinear map e;
[0087] Randomly select the system master key msk, is a set of integers consisting of 1, 2, ..., N-1, where N is a large prime number, and the main public key P of the computing system pub and intermediate variables g1, P pub =msk·P2, g1=e(P1,P pub ), where P1 and P2 are and The generator of
[0088] Select a cryptographic hash function H;
[0089] Step 13: Output system parameters params.
[0090] In one embodiment, in step 2, the user interacts with the trusted center to generate the user's public key and private key according to the received system parameters, including:
[0091] Step 21, input system parameters params;
[0092] Step 22, the user randomly selects a secret value, is a set of integers consisting of 1, 2, ..., N-1, N is a large prime number, a i is the secret value of user i;
[0093] Step 23: The trusted center calculates the partial private key, D i =msk·(H(ID i )+msk) -1 P1, where msk is the system master key, H is the cryptographic hash function, and P1 is the additive cyclic group Generator, ID i is the identity of user i, D i is the partial private key of user i;
[0094] Step 24, output the user's public key and the user's private key, using the following formula:
[0095] pk i =a i ·(P pub +H(ID i )·P2)
[0096] sk i =(H(pk i )+a i ) -1 ·D i ;
[0097] Among them, pk i is the public key of user i, sk i is the private key of user i, P2 is the additive cyclic group The generator of P pub The system master public key.
[0098] In one embodiment, in step 3, the signer outputs a signature according to the system parameters, the plaintext message, the user identification set of the signer and the corresponding public key set, and the signer's private key, including:
[0099] Step 31: Input system parameters params, plaintext message m, user ID set U of the signer and corresponding public key set PK, and the signer's private key sk s ; Among them, U=(ID1,ID2,...,ID n ), PK=(pk1,pk2,...,pk n ), ID n is the identity of user n, pk n is the public key of user n, s is the signer's label in U; the number of users in U is n; here, the user identification set of the signer is the user set including the signer.
[0100] Step 32, randomly select n-1 integers Calculate the intermediate variable R i , R i =r i P1; is a set of integers consisting of 1, 2, ..., N-1, N is a large prime number, and P1 is an additive cyclic group The generator of ; i is the number of the user in U;
[0101] Step 33, calculate the intermediate variable k i :
[0102] k i =e(R i ,Y i ) -1
[0103] Y i =pk i +q i Q i
[0104] q i =H(pk i )
[0105] Q i =P pub +H(ID i )·P2
[0106] Among them, Y i ,q i , Q i are all intermediate variables, H is the cryptographic hash function, and e is the arrive An asymmetric bilinear map of and is the additive cyclic group, is a multiplicative cyclic group, pk i is the public key of user i, Ppub is the system master public key, ID i is the identity of user i, P2 is the additive cyclic group The generator of
[0107] Step 34, select random values r, z, Calculate the intermediate variables K and w:
[0108] K = ∏ i=1,i≠s k i ·e(zP1,Y s )
[0109]
[0110] g1=e(P1,P pub )
[0111] Among them, P1 is the additive cyclic group The generator of Y s is the intermediate variable corresponding to the signer, and g1 is the intermediate variable;
[0112] Step 35, determine the commitment value c about the message:
[0113] c=H(m||U||K||w)
[0114] Among them, || represents splicing;
[0115] Calculate the intermediate variable l:
[0116] l = rc mod N
[0117] Wherein, mod N is a modulo N operation, and N is a large prime number;
[0118] If l=0, return to step 32, otherwise, execute step 36;
[0119] Step 36, calculate the intermediate variable R corresponding to the signer s :
[0120] R s =S s -z·P1
[0121] S s = l·sk s
[0122] Among them, S s is the intermediate variable, sk s is the signer's private key;
[0123] Step 37, output signature σ, σ={c,R1,R2,…,R n ,K}.
[0124] In one embodiment, in step 4, the receiver verifies the signature according to the system parameters, the plaintext message, the signature, the user identification set of the signer, and the corresponding public key set. If the verification is successful, the plaintext message and the signature are received; if the verification fails, the plaintext message and the signature are rejected, including:
[0125] Step 41, input system parameters params, plaintext message m, signature σ, user identification set U of the signer and corresponding public key set PK;
[0126] Step 42, calculate the intermediate variable g:
[0127]
[0128] g1=e(P1,P pub )
[0129] Among them, g1 is an intermediate variable, c is the commitment value about the message, and P1 is the additive cyclic group The generator of P pub is the system master public key;
[0130] Step 43, calculate the intermediate variable w′:
[0131]
[0132] Y i ′=pk i +H(pk i )·Q i
[0133] Q i =P pub +H(ID i )·P2
[0134] Among them, i is the number of users in the user identification set U where the signer belongs, n is the number of users in U, and e is the number of users from arrive An asymmetric bilinear map of and is the additive cyclic group, is a multiplicative cyclic group, R i , Y i ′, Q i is an intermediate variable, K is an intermediate variable, pk i is the public key of user i, H is the cryptographic hash function, P pub is the system master public key, ID i is the identity of user i, P2 is the additive cyclic group The generator of
[0135] Step 44, calculate the verification commitment value:
[0136] c′=H(m||U||K||w′)
[0137] Among them, || represents splicing;
[0138] Step 45, verify whether the equation c′=c holds;
[0139] Step 46, if the equation holds, the plaintext message m and the corresponding signature σ are received; otherwise, the verification fails and an error is reported and the program exits.
[0140] Using the same inventive concept as the certificateless ring signature method based on the national secret SM9, this embodiment also provides a corresponding certificateless ring signature system based on the national secret SM9. Figure 2 The structure block diagram of the certificateless ring signature system based on the national secret SM9 according to an embodiment of the present application is shown, and the system includes:
[0141] The trusted center is used to generate system parameters and master keys based on security parameters, publish the generated system parameters to the user end, and keep the master key secret;
[0142] The user end is used to interact with the trusted center to generate the user's public key and private key according to the received system parameters;
[0143] The signer outputs the signature based on the system parameters, the plaintext message, the signer's user ID set and the corresponding public key set, and the signer's private key;
[0144] The receiver verifies the signature based on the system parameters, plaintext message, signature, the user identification set of the signer, and the corresponding public key set. If the verification is successful, the plaintext message and signature are received; if the verification fails, the reception is rejected.
[0145] The certificateless ring signature system based on the national secret SM9 of this embodiment has the same inventive concept as the certificateless ring signature method based on the national secret SM9 mentioned above. Therefore, the specific implementation method of the system can be seen in the implementation example part of the certificateless ring signature method based on the national secret SM9 in the previous text, and its technical effect corresponds to the technical effect of the above method, which will not be repeated here.
[0146] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A certificateless ring signature method based on the national secret SM9, characterized in that: include: Step 1: The trusted center generates system parameters and master keys based on security parameters; The generated system parameters are published to users in the system, and the master key is kept secret; Step 2, the user interacts with the trusted center to generate the user's public key and private key according to the received system parameters; Step 3: The signer outputs a signature according to the system parameters, the plaintext message, the user identification set of the signer and the corresponding public key set, and the signer's private key; Step 4, the receiver verifies the signature according to the system parameters, the plaintext message, the signature, the user identification set of the signer and the corresponding public key set. If the verification is successful, the receiver receives the plaintext message and the signature; if the verification fails, the receiver refuses to receive the plaintext message and the signature.
2. The method according to claim 1, characterized in that in, In step 1, the trusted center generates system parameters based on security parameters, including: Step 11, input security parameter λ; Step 12: The trusted center generates an additive cycle group and and the multiplicative cyclic group Determine from arrive Asymmetric bilinear map e; Randomly select the system master key msk, is a set of integers consisting of 1, 2, ..., N-1, where N is a large prime number, and the main public key P of the computing system pub and intermediate variables g1, P pub =msk·P2, g1=e(P1,P pub ), where P1 and P2 are and The generator of Select a cryptographic hash function H; Step 13: Output system parameters params.
3. The method according to claim 1, characterized in that in, In step 2, the user interacts with the trusted center to generate the user's public key and private key according to the received system parameters, including: Step 21, input system parameters params; Step 22, the user randomly selects a secret value, is a set of integers consisting of 1, 2, ..., N-1, N is a large prime number, a i is the secret value of user i; Step 23: The trusted center calculates the partial private key, D i =msk·(H(ID i )+msk) -1 P1, where msk is the system master key, H is the cryptographic hash function, and P1 is the additive cyclic group Generator, ID i is the identity of user i, D i is the partial private key of user i; Step 24, output the user's public key and the user's private key, using the following formula: pk i =a i ·(P pub +H(ID i )·P2) en i =(H(pk i )+a i ) -1 ·D i ; Among them, pk i is the public key of user i, sk i is the private key of user i, P2 is the additive cyclic group The generator of P pub The system master public key.
4. The method according to claim 1, characterized in that in, In step 3, the signer outputs a signature according to the system parameters, the plaintext message, the user identification set of the signer and the corresponding public key set, and the signer's private key, including: Step 31: Input system parameters params, plaintext message m, user ID set U of the signer and corresponding public key set PK, and the signer's private key sk s ; Among them, U=(ID1,ID2,...,ID n ), PK=(pk1,pk2,...,pk n ), ID n is the identity of user n, pk n is the public key of user n, s is the signer's number in U; the number of users in U is n; Step 32, randomly select n-1 integers Calculate the intermediate variable R i , R i =r i P1; is a set of integers consisting of 1, 2, ..., N-1, N is a large prime number, and P1 is an additive cyclic group The generator of ; i is the number of the user in U; Step 33, calculate the intermediate variable k i : k i =e(R i ,Y i ) -1 Y i =pk i +q i ·Q i q i =H(pk i ) Q i =P pub +H(ID i )·P2 Among them, Y i ,q i , Q i are all intermediate variables, H is the cryptographic hash function, and e is the arrive An asymmetric bilinear map of and is the additive cyclic group, is a multiplicative cyclic group, pk i is the public key of user i, P pub is the system master public key, ID i is the identity of user i, P2 is the additive cyclic group The generator of Step 34, select random values r, z, Calculate the intermediate variables K and w: K=∏ i=1,i≠s k i ·e(zP1,Y s ) g1=e(P1,P pub ) Among them, P1 is the additive cyclic group The generator of Y s is the intermediate variable corresponding to the signer, and g1 is the intermediate variable; Step 35, determine the commitment value c about the message: c=H(m||U||K||w) Among them, || means splicing; Calculate the intermediate variable l: l=r-cmodN Wherein, modN is a modulo N operation, and N is a large prime number; If l=0, return to step 32, otherwise, execute step 36; Step 36, calculate the intermediate variable R corresponding to the signer s : R s =S s -z·P1 S s =l sk s Among them, S s is an intermediate variable, sk s is the signer's private key; Step 37, output signature σ, σ={c,R1,R2,…,R n ,K}.
5. The method according to claim 1, characterized in that in, In step 4, the receiver verifies the signature according to the system parameters, the plaintext message, the signature, the user identification set of the signer and the corresponding public key set, and receives the plaintext message and the signature if the verification is successful; If verification fails, the receipt will be rejected, including: Step 41, input system parameters params, plaintext message m, signature σ, user identification set U of the signer and corresponding public key set PK; Step 42, calculate the intermediate variable g: g1=e(P1,P pub ) Among them, g1 is an intermediate variable, c is the commitment value about the message, and P1 is the additive cyclic group The generator of P pub is the system master public key; Step 43, calculate the intermediate variable w′: Y i ′=pk i +H(pk i )·Q i Q i =P pub +H(ID i )·P2 Among them, i is the number of users in the user identification set U where the signer belongs, n is the number of users in U, and e is the number of users from arrive An asymmetric bilinear map of and is the additive cyclic group, is a multiplicative cyclic group, R i , Y i ′, Q i is an intermediate variable, K is an intermediate variable, pk i is the public key of user i, H is the cryptographic hash function, P pub is the system master public key, ID i is the identity of user i, P2 is the additive cyclic group The generator of Step 44, calculate the verification commitment value: c′=H(m||U||K||w′) Among them, || represents splicing; Step 45, verify whether the equation c′=c holds; Step 46, if the equation holds, the plaintext message m and the corresponding signature σ are received; otherwise, the verification fails and an error is reported and the program exits.
6. A certificateless ring signature system based on the national secret SM9, characterized in that: include: The trusted center is used to generate system parameters and master keys based on security parameters; The generated system parameters are published to the user terminal, and the master key is kept secretly; The user terminal is used to interact with the trusted center to generate a public key and a private key of the user according to the received system parameters; The signer outputs a signature according to the system parameters, the plaintext message, the user identification set of the signer and the corresponding public key set, and the private key of the signer; The receiver verifies the signature according to the system parameters, the plaintext message, the signature, the user identification set of the signer and the corresponding public key set. If the verification is successful, the receiver receives the plaintext message and the signature; if the verification fails, the receiver refuses to receive the plaintext message and the signature.
Citation Information
Cited By
Periodic deniable ring signature method and system based on SM9 cryptographic algorithm
CN121077683A
A periodic non-interactive ring signature method and system based on SM9 national encryption algorithm
CN121077683B
