]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add a test for small subgroup attacks on DH/DHE
authorMatt Caswell <matt@openssl.org>
Wed, 20 Jan 2016 11:56:28 +0000 (11:56 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 28 Jan 2016 14:41:19 +0000 (14:41 +0000)
commite729aac19de7b41169be82e6e55c4c898de9470a
tree5e61fa5f14896f2e2207c04c8baf6caf7c541182
parentb128abc3437600c3143cb2145185ab87ba3156a2
Add a test for small subgroup attacks on DH/DHE

Following on from the previous commit, add a test to ensure that
DH_compute_key correctly fails if passed a bad y such that:

y^q (mod p) != 1

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
test/dhtest.c