Commit f753d115 authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: ChangeLog:1.258
Rev: NEWS:1.63
Rev: doc/TODO:1.93
Rev: src/dsa_keygen.c:1.14
parent 1c59c3c9
2000-10-18 Niels Mller <nisse@cuckoo.localdomain>
* src/abstract_crypto.h, src/dsa.c, src/dsa.h, src/rsa.c: Cleanup.
* src/sexp-conv.c: #include spki_commands.h
* src/spki_commands.c (spki_signer2verifier,
spki_verifier2public): New commands, that replace the old
spki_signer2public.
* src/lsh-writekey.c (make_writekey): Use verifier2public and
signer2verifier.
* src/spki.c, src/spki_commands.c: Moved definitions of commands
out of spki.c.
2000-10-17 Niels Mller <nisse@cuckoo.localdomain>
* src/spki.c (spki_make_public_key): Take a verifier as argument.
......
News for the 1.1.0 release:
First, note that the 1.1.x series should be considered
experimental.
New program lsh-export-key (contributed by jps, and then
hacked some more by me).
Some of the methods for public-key operations have been
improved and generalized.
News for the 1.0.6 release
Fixed bug in ssh-dss bug-compatibility.
......
......@@ -248,3 +248,8 @@ Replace most defines with enums, for improved type checking.
Write more testcases for rsa.
Perhaps change the LOOKUP_VERIFIER method to return an spki_subject?
Change the COMMAND_SIMPLE and COMMAND_STATIC macros to take argument
names as arguments, making them more hygienig. Perhaps also rename
them in the process.
......@@ -45,7 +45,8 @@
#define SEED_LENGTH SHA_DIGESTSIZE
#define SEED_BITS (SEED_LENGTH * 8)
static void hash(mpz_t x, UINT8 *digest)
static void
hash(mpz_t x, UINT8 *digest)
{
mpz_t t;
UINT8 data[SEED_LENGTH];
......@@ -63,7 +64,8 @@ static void hash(mpz_t x, UINT8 *digest)
sha_digest(&ctx, digest);
}
void dsa_nist_gen(mpz_t p, mpz_t q, struct randomness *r, unsigned l)
void
dsa_nist_gen(mpz_t p, mpz_t q, struct randomness *r, unsigned l)
{
unsigned L;
unsigned n, b;
......@@ -151,7 +153,8 @@ void dsa_nist_gen(mpz_t p, mpz_t q, struct randomness *r, unsigned l)
}
}
void dsa_find_generator(mpz_t g, struct randomness *r, mpz_t p, mpz_t q)
void
dsa_find_generator(mpz_t g, struct randomness *r, mpz_t p, mpz_t q)
{
mpz_t e;
mpz_t n;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment