wolfssl-examples/pk/rsa-kg
Chris Conlon 9237d307b5 update copyright to 2020 2020-01-03 16:08:42 -08:00
..
Makefile Add RSA and DH samples 2019-11-26 17:34:43 +10:00
README Add RSA and DH samples 2019-11-26 17:34:43 +10:00
rsa-key.h update copyright to 2020 2020-01-03 16:08:42 -08:00
rsa-kg-sv.c update copyright to 2020 2020-01-03 16:08:42 -08:00

README

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.

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