Method employing SM2 elliptical curve algorithm to achieve encryption in OpenSSL
An elliptic curve algorithm and calculated technology, applied in the public key and key distribution of secure communication, which can solve the problems of security loopholes, social network security impact, and the inability of RSA encryption to be fully insured.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0025] SM2 is a domestic asymmetric encryption algorithm based on elliptic curves. Its mathematical principle is similar to that of the ECDH algorithm. It is a secure key negotiation algorithm. Therefore, it is used as a key negotiation algorithm in SSL communication. It is feasible in theory, but in practice, due to the difference in design principles between SM2 and ECDH algorithms, the interface functions used to implement key negotiation in the original OpenSSL cannot meet the execution needs of SM2 elliptic curve algorithms, and SM2 cannot be used without seamlessly ported to OpenSSL's existing framework. In fact, the problem can be broken down into the following two requirements:
[0026] 1. Communication requirements: Compared with the ECDH algorithm used in OpenSSL, SM2 is more complicated. Although both are asymmetric encryption algorithms based on ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 