Implementation of DH algorithm in OpenSSL

Source: Internet
Author: User

The DH implementation of OpenSSL in the CRYPT/DH directory, each source code is as follows:

(1) dh.h
The DH key method data structure and various functions are defined.

(2) dh_asn1.c
The DER-codec implementation of the DH key parameter.

(3) DH_LIB.C
The implementation of the general DH function, design level.

(4) DH_GEN.C
The Generate DH key parameter is implemented.

(5) Dh_key.c
The default Dh_method provided by OpenSSL enables the generation of a DH public key based on the key parameter, and a shared key is generated from the DH public key (one party) and the DH private key (the other) for key exchange.

(6) Dh_err.c
DH error handling has been implemented.

(7) DH_CHECK.C
A DH key check is implemented.

(8) Dh_pmeth.c
The DH public key data structure is implemented.

(9) DH_KDF.C
Derived keys are associated with ASN1.

(Ten) Dh_depr.c
Deprecated functions are not recommended.

(one) dh_prn.c
Resolves data output to a file without the FP interface.

(dh_rfc5114.c) p192.c p512.c p1024.c
Provides parameters and test data.

Implementation of DH algorithm in OpenSSL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.