summaryrefslogtreecommitdiff
path: root/dh.h
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2019-01-20 01:12:40 +0000
committerDamien Miller <djm@mindrot.org>2019-01-21 10:46:03 +1100
commitec4776bb01dd8d61fddc7d2a31ab10bf3d3d829a (patch)
tree92e5eb80ec3d3d0f44aee81afb4fa6abff3892df /dh.h
parentc90a7928c4191303e76a8c58b9008d464287ae1b (diff)
upstream: DH-GEX min value is now specified in RFC8270. ok djm@
OpenBSD-Commit-ID: 1229d0feb1d0ecefe05bf67a17578b263e991acc
Diffstat (limited to 'dh.h')
-rw-r--r--dh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh.h b/dh.h
index 344b29e35..adb643a75 100644
--- a/dh.h
+++ b/dh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.h,v 1.15 2016/05/02 10:26:04 djm Exp $ */ 1/* $OpenBSD: dh.h,v 1.17 2019/01/20 01:12:40 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Niels Provos. All rights reserved. 4 * Copyright (c) 2000 Niels Provos. All rights reserved.
@@ -48,7 +48,7 @@ u_int dh_estimate(int);
48 48
49/* 49/*
50 * Max value from RFC4419. 50 * Max value from RFC4419.
51 * Miniumum increased in light of DH precomputation attacks. 51 * Min value from RFC8270.
52 */ 52 */
53#define DH_GRP_MIN 2048 53#define DH_GRP_MIN 2048
54#define DH_GRP_MAX 8192 54#define DH_GRP_MAX 8192