Skip to content
Snippets Groups Projects
Commit 47d30d85 authored by Niels Möller's avatar Niels Möller
Browse files

New constants OPT_READ_RAW, OPT_WRITE_RAW,

OPT_LABEL and OPT_PASSPHRASE.
(class lsh_keygen_options): New flags read_raw and write_raw.
Merged configuration attributes from lsh-writekey.
(make_lsh_keygen_options): Initialize new attributes.
(main_options): Merged lsh-writekey options.
(main_argp_parser): Merged option handling from lsh-writekey.
(main_argp): New shorter description.
(dsa_generate_key): Adapted to new randomness interface. Deleted
randomness argument.
(rsa_generate_key): Likewise.
(check_file): Moved from lsh-writekey.c.
(open_file): Likewise.
(process_private): Likewise.
(process_public): Likewise.
(main): Adapted to new randomness interface. Aded code to split
key into private and public parts, stored in different files.

Rev: src/lsh-keygen.c:1.23
parent cff6e2b7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment