OpenSSL EVP Series 1 --- Algorithm Package
--- Translation according to OpenSSL DOC / CRYPTO / EVP.POD and its own understanding
(Author: DragonKing, Mail: wzhah@263.net, released in:
Http://openssl.126.com OpenSSL Professional Forum, Version: OpenSSL-0.9.7)
The function definition of the EVP series is included in "EVP.H", which is a series of functions that encapsulate all algorithms in the OpenSSL encryption library. Through this unified package, it is necessary to use the same code but use different encryption algorithms to encrypt and decrypt data using different encryption algorithms.
The EVP series function has mainly encapsulated three types of algorithms. To support all of these algorithms, call the openssl_add_all_algorithms function, and the following is a simple introduction to its structure.
[Public Key Algone]
Function Name: EVP_SEAL * ... *, EVP_OPEN * ... *
Function Description: This series of function package provides encryption and decryption functions of the public key algorithm, and implements the function of electronic envelopes.
Related files: p_seal.c, p_open.c
[Digital Signing Algorithm]
Function Name: EVP_SIGN * ... *, EVP_VERIFY * ... *
Function Description: This series of function package provides digital signature algorithm and function.
Related files: p_sign.c, p_verify.c
[Symmetrical Capacity Algorithm]
Function Name: EVP_ENCRYPT * ... *
Function Description: This series of function package provides the function of symmetrical encryption algorithm.
Related documents: EVP_ENC.C, P_ENC.C, P_Dec.c, e _ *. C
[Information Summary Algorithm]
Function Name: evp_digest * ... *
Function Description: This series of function packages implements a variety of information summary algorithms.
Related documents: DiGest.c, m _ *. C
[Information Coding Algorithm]
Function Name: EVP_ENCODE * ... *
Function Description: This series of function encapsulates the conversion functions and functions between the ASCII code and the binary code.
Related files: eNCode.c
note:
Since the ENGIN version appears, all symmetric encryption algorithms and summary algorithms can be replaced by the algorithm implemented by the Engine module. If the symmetrical encryption and information summary function implemented by the Engine module is registered as the default implementation algorithm, the software is automatically connected to the implementation module when the software is compiled when using various EVP functions.