summaryrefslogtreecommitdiff
path: root/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'dh.h')
-rw-r--r--dh.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dh.h b/dh.h
index 13d2fa162..e8b2944ce 100644
--- a/dh.h
+++ b/dh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.h,v 1.4 2001/03/29 21:17:39 markus Exp $ */ 1/* $OpenBSD: dh.h,v 1.5 2001/04/03 19:53:29 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Niels Provos. All rights reserved. 4 * Copyright (c) 2000 Niels Provos. All rights reserved.
@@ -40,6 +40,8 @@ DH *dh_new_group1(void);
40void dh_gen_key(DH *, int); 40void dh_gen_key(DH *, int);
41int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub); 41int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub);
42 42
43int dh_estimate(int bits);
44
43#define DH_GRP_MIN 1024 45#define DH_GRP_MIN 1024
44#define DH_GRP_MAX 8192 46#define DH_GRP_MAX 8192
45 47