wolfssl-examples/pk/rsa-kg
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 Add RSA key generation example 2022-05-11 11:41:27 +10:00
rsa-key.h update copyright to 2020 2020-01-03 16:08:42 -08:00
rsa-kg-sv.c Phase 1 updates to wolfSSL examples based on testing with wolfSSL 2023-03-25 09:15:11 -05:00
rsa-kg.c Add RSA key generation example 2022-05-11 11:41:27 +10:00

README.md

How to use rsa-kg-sv.c

  1. a. Compile wolfSSL with ./configure --enable-keygen, run 'make', and then install by typing 'sudo make install'. b. In the pk/rsa-kg directory run the Makefile by typing 'make'.

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

    ./rsa-kg-sv <options>
    
    Key sizes supported, in bits: 1024-4096.
    

    With option -load-key, use the key in: rsa-key.h NOTE: on error, the key and digest will be displayed so that they can be copied into rsa-key.h replacing the existing values.

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

How to use rsa-kg.c

  1. a. Compile wolfSSL with ./configure --enable-keygen, run 'make', and then install by typing 'sudo make install'. b. In the pk/rsa-kg directory run the Makefile by typing 'make'.

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

    ./rsa-kg <options>
    
    Key sizes supported, in bits: 1024-4096.
    
    Specify the name of the output files with -priv and -pub.
    
  3. Running 'make clean' will delete the executable and object files.