SM2 digital signature verification failure reason judgment method and device, equipment and medium
A technology of digital signature and verification failure, applied in the field of information security, can solve the problems of misinformation, signature value mismatch, inability to analyze digital signature verification failure, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] The symbols, abbreviations and symbols used in this embodiment are as follows:
[0080] A and B: Two users of the SM2 public key cryptosystem, A is the signer, B is the verification signer.
[0081] q : finite field The number of elements in .
[0082] : A finite field containing q elements.
[0083] a, b: elements in , which define An elliptic curve E on
[0084] : The set of all rational points of the upper elliptic curve E.
[0085] O: The point at infinity (or zero point) on the elliptic curve E, which is the identity element of the additive group of elliptic curves.
[0086] G: A base point of an elliptic curve whose order n is a prime number.
[0087] : The number of points on the elliptic curve is called order.
[0088] n : The order of the base point G.
[0089] [k]P: k times the point P on the elliptic curve.
[0090] : The private keys of user A and user B respectively.
[0091] : The public keys of user A and user B respectively....
Embodiment 2
[0136] as attached figure 2 As shown, it is a structural block diagram of the SM2 digital signature verification failure reason determination device provided by this embodiment, and the system specifically includes:
[0137] Main control module: its functions include: 1) receiving input parameters; 2) output detection results; 3) overall data scheduling and task allocation; 4) public key equality comparison, so as to realize the failure of SM2 digital signature verification provided by the previous embodiment Step S3 of the cause determination method. The main control module and the other four modules, namely the integer validity detection module, the public key validity detection module, the SM2 digital signature verification module, and the public key parsing module from the signature, are linked together.
[0138] Integer Validity Detection Module: Its function is to convert the input data type into an integer according to the provisions of Section 4.2 Data Type Conversio...
Embodiment 3
[0144] This preferred embodiment provides a computer device that can implement the steps in any embodiment of the SM2 digital signature verification failure reason determination method provided by the embodiment of the present application. Therefore, it can realize the steps provided by the embodiment of the present application. For the beneficial effects of the method for judging the cause of SM2 digital signature verification failure, see the previous embodiments for details, and will not be repeated here.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

