Commit 848f2d2d authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: src/Makefile.in:1.12
Rev: src/publickey_crypto.c:1.10
Rev: src/randomness.c:1.4
Rev: src/randomness.h:1.3
parent 70da1760
......@@ -33,7 +33,7 @@ binprefix =
LOADLIBES = $(LIBS) lib/algorithms.a
COMMON_SRCS = atoms.c bignum.c connection.c crypto.c \
COMMON_SRCS = alist.c atoms.c bignum.c connection.c crypto.c \
debug.c disconnect.c encrypt.c format.c getopt.c io.c keyexchange.c \
packet_ignore.c pad.c parse.c publickey_crypto.c \
randomness.c \
......
......@@ -130,11 +130,13 @@ static struct lsh_string *do_dss_sign(struct signer *c,
return signature;
}
#if 0
static struct lsh_string *dss_public_key(struct signer *dss)
{
struct
return ssh_format("%a%n%n%n%n", ATOM_SSH_DSS, dss->p, dss->q, dss->g, dss->y);
return ssh_format("%a%n%n%n%n",
ATOM_SSH_DSS, dss->p, dss->q, dss->g, dss->y);
}
#endif
int do_dss_verify(struct verifier *c,
UINT32 length,
......
......@@ -28,7 +28,6 @@
#include "randomness.h"
#include "abstract_crypto.h"
#include "xalloc.h"
/* Random */
......
......@@ -26,7 +26,7 @@
#ifndef LSH_RANDOMNESS_H_INCLUDED
#define LSH_RANDOMNESS_H_INCLUDED
#include "lsh_types.h"
#include "abstract_crypto.h"
struct randomness
{
......@@ -35,4 +35,7 @@ struct randomness
#define RANDOM(r, length, dst) ((r)->random(&(r), length, dst))
struct randomness *make_poor_random(struct hash_algorithm *hash,
struct lsh_string *init);
#endif /* LSH_RANDOMNESS_H_INCLUDED */
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