]> andersk Git - openssh.git/blobdiff - dh.h
- (tim) [regress/sftp-cmds.sh regress/ssh2putty.sh] Shell portability fixes
[openssh.git] / dh.h
diff --git a/dh.h b/dh.h
index 70b326e9fa759e92bb5af5f4c2abb65818b7866d..8e580ee87ded15a08e5294ea6a7be47a38d52a25 100644 (file)
--- a/dh.h
+++ b/dh.h
@@ -1,4 +1,4 @@
-/*     $OpenBSD: dh.h,v 1.3 2001/03/27 17:46:49 provos Exp $   */
+/* $OpenBSD: dh.h,v 1.9 2006/03/25 22:22:43 djm Exp $ */
 
 /*
  * Copyright (c) 2000 Niels Provos.  All rights reserved.
@@ -32,7 +32,16 @@ struct dhgroup {
        BIGNUM *p;
 };
 
-DH *choose_dh(int min, int nbits, int max);
+DH     *choose_dh(int, int, int);
+DH     *dh_new_group_asc(const char *, const char *);
+DH     *dh_new_group(BIGNUM *, BIGNUM *);
+DH     *dh_new_group1(void);
+DH     *dh_new_group14(void);
+
+void    dh_gen_key(DH *, int);
+int     dh_pub_is_valid(DH *, BIGNUM *);
+
+int     dh_estimate(int);
 
 #define DH_GRP_MIN     1024
 #define DH_GRP_MAX     8192
This page took 0.033817 seconds and 4 git commands to generate.