summaryrefslogtreecommitdiff
path: root/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'dh.h')
-rw-r--r--dh.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dh.h b/dh.h
index fd90fab5a..a0c97b2ff 100644
--- a/dh.h
+++ b/dh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.h,v 1.6 2001/06/26 06:32:52 itojun Exp $ */ 1/* $OpenBSD: dh.h,v 1.7 2001/06/26 17:27:23 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Niels Provos. All rights reserved. 4 * Copyright (c) 2000 Niels Provos. All rights reserved.
@@ -37,10 +37,10 @@ DH *dh_new_group_asc(const char *, const char *);
37DH *dh_new_group(BIGNUM *, BIGNUM *); 37DH *dh_new_group(BIGNUM *, BIGNUM *);
38DH *dh_new_group1(void); 38DH *dh_new_group1(void);
39 39
40void dh_gen_key(DH *, int); 40void dh_gen_key(DH *, int);
41int dh_pub_is_valid(DH *, BIGNUM *); 41int dh_pub_is_valid(DH *, BIGNUM *);
42 42
43int dh_estimate(int); 43int dh_estimate(int);
44 44
45#define DH_GRP_MIN 1024 45#define DH_GRP_MIN 1024
46#define DH_GRP_MAX 8192 46#define DH_GRP_MAX 8192