Revert "Remove Diffie-Hellman examples"

This reverts commit bea98b4581.

Conflicts:
* programs/Makefile:
  * APPS: the layout of the definition has changed. re-add dh_client
    and dh_server appropriately.

Run scripts/generate_visualc_files.pl to account for the added programs.
This commit is contained in:
Gilles Peskine
2020-02-26 19:52:43 +01:00
committed by Ronald Cron
parent 1bc9c135b3
commit f66346eaf8
9 changed files with 1074 additions and 1 deletions

View File

@@ -44,6 +44,8 @@ This subdirectory mostly contains sample programs that illustrate specific featu
### Diffie-Hellman key exchange examples
* [`pkey/dh_client.c`](pkey/dh_client.c), [`pkey/dh_server.c`](pkey/dh_server.c): secure channel demonstrators (client, server). This pair of programs illustrates how to set up a secure channel using RSA for authentication and Diffie-Hellman to generate a shared AES session key.
* [`pkey/ecdh_curve25519.c`](pkey/ecdh_curve25519.c): demonstration of a elliptic curve Diffie-Hellman (ECDH) key agreement.
### Bignum (`mpi`) usage examples