diff options
author | Jakub Jelen <jjelen@redhat.com> | 2019-03-25 16:42:19 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-04-29 13:18:09 +0200 |
commit | 104c696bca84525de1ad98fac5287f473bc1ed1e (patch) | |
tree | f0492f75f0ad3d9cab7e296aff7ec35bc2154d8b /include/libssh | |
parent | e4465073527b12b8efef338b212b78e3434959ee (diff) | |
download | libssh-104c696bca84525de1ad98fac5287f473bc1ed1e.tar.gz libssh-104c696bca84525de1ad98fac5287f473bc1ed1e.tar.xz libssh-104c696bca84525de1ad98fac5287f473bc1ed1e.zip |
dh-gex: Verify received primes in FIPS mode to match one of the known groups
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/dh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/dh.h b/include/libssh/dh.h index 02c99760..48d8c46a 100644 --- a/include/libssh/dh.h +++ b/include/libssh/dh.h @@ -68,5 +68,6 @@ void ssh_server_dh_init(ssh_session session); #endif /* WITH_SERVER */ int ssh_server_dh_process_init(ssh_session session, ssh_buffer packet); int ssh_fallback_group(uint32_t pmax, bignum *p, bignum *g); +bool ssh_dh_is_known_group(bignum modulus, bignum generator); #endif /* DH_H_ */ |