wolfssl-examples/pk/dh-pg
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
..
Makefile Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
README.md Adding documentation where needed. Made changes to code to assure files build and implement good coding practices 2021-06-29 16:02:52 -06:00
dh-params.h update copyright to 2020 2020-01-03 16:08:42 -08:00
dh-pg-ka.c update copyright to 2020 2020-01-03 16:08:42 -08:00

README.md

How to use dh-pg-ka.c

  1. a. Compile wolfSSL with ./configure --enable-keygen, run 'make', and then install by typing 'sudo make install'. NOTE: optionally compile with: C_EXTRA_FLAGS="-DHAVE_FFDHE_2048 -DHAVE_FFDHE_3072 -DHAVE_FFDHE_4096" b. In the pk/dh-pg directory run the Makefile by typing 'make'.

  2. run the executable, for help run with -help. Basic command is as follows:

    ./dh-pg-ka <options>
    
    Parameter sizes supported, in bits: 2048, 3072, 4096.
    

    With option -ffdhe, use the pre-defined standardized FFDHE parameters. NOTE: no parameters will be generated. With option -load, use the parameters in: dh-param.h NOTE: on error, the parameters will be displayed so that they can be copied into dh-params.h replacing the existing values. Note: 4096-bit parameters cannot be generated - not supported by wolfSSL.

  3. Running 'make clean' will delete the executable and object files.