diff options
author | Colin Watson <cjwatson@debian.org> | 2016-02-29 12:15:15 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-03-08 11:51:22 +0000 |
commit | 46961f5704f8e86cea3e99253faad55aef4d8f35 (patch) | |
tree | 0dd97fa4fb649a62b4639fe2674380872b1f3e98 /dh.h | |
parent | c753fe267efb1b027424fa8706cf0385fc3d14c1 (diff) | |
parent | 85e40e87a75fb80a0bf893ac05a417d6c353537d (diff) |
New upstream release (7.2).
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.13 2015/05/27 23:39:18 dtucker Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.14 2015/10/16 22:32:22 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 4 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
@@ -44,8 +44,11 @@ int dh_pub_is_valid(DH *, BIGNUM *); | |||
44 | 44 | ||
45 | u_int dh_estimate(int); | 45 | u_int dh_estimate(int); |
46 | 46 | ||
47 | /* Min and max values from RFC4419. */ | 47 | /* |
48 | #define DH_GRP_MIN 1024 | 48 | * Max value from RFC4419. |
49 | * Miniumum increased in light of DH precomputation attacks. | ||
50 | */ | ||
51 | #define DH_GRP_MIN 2048 | ||
49 | #define DH_GRP_MAX 8192 | 52 | #define DH_GRP_MAX 8192 |
50 | 53 | ||
51 | /* | 54 | /* |