Skip to content
  • Niels Möller's avatar
    New constants OPT_READ_RAW, OPT_WRITE_RAW, · 47d30d85
    Niels Möller authored
    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
    47d30d85