diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-10-10 10:32:39 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-10-10 10:32:39 +1100 |
commit | df62d71e64d29d1054e7a53d1a801075ef70335f (patch) | |
tree | 553ce71d17d086b7647205231ba56d27b2324ad2 /dh.h | |
parent | e6e52f8c5dc89a6767702e65bb595aaf7bc8991c (diff) |
- dtucker@cvs.openbsd.org 2013/10/08 11:42:13
[dh.c dh.h]
Increase the size of the Diffie-Hellman groups requested for a each
symmetric key size. New values from NIST Special Publication 800-57 with
the upper limit specified by RFC4419. Pointed out by Peter Backes, ok
djm@.
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.10 2008/06/26 09:19:40 djm Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.11 2013/10/08 11:42:13 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 4 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
@@ -43,6 +43,7 @@ int dh_pub_is_valid(DH *, BIGNUM *); | |||
43 | 43 | ||
44 | int dh_estimate(int); | 44 | int dh_estimate(int); |
45 | 45 | ||
46 | /* Min and max values from RFC4419. */ | ||
46 | #define DH_GRP_MIN 1024 | 47 | #define DH_GRP_MIN 1024 |
47 | #define DH_GRP_MAX 8192 | 48 | #define DH_GRP_MAX 8192 |
48 | 49 | ||