From: Jouni Malinen Date: Wed, 13 Nov 2019 11:05:37 +0000 (+0200) Subject: SAE H2E: Update SSWU curve-specific parameter z values X-Git-Tag: hostap_2_10~2213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0432237a4d11f0f12f12f325965362cd052c8124;p=thirdparty%2Fhostap.git SAE H2E: Update SSWU curve-specific parameter z values Update the values based on 11-19-1817-02-000m-hash-to-curve-changes.docx Signed-off-by: Jouni Malinen --- diff --git a/src/common/sae.c b/src/common/sae.c index 2ab168b8a..bf8cc9dea 100644 --- a/src/common/sae.c +++ b/src/common/sae.c @@ -579,20 +579,26 @@ static int sswu_curve_param(int group, int *z) { switch (group) { case 19: + *z = -10; + return 0; case 20: + *z = -12; + return 0; case 21: - case 28: - *z = -2; + *z = -4; return 0; case 25: case 29: *z = -5; return 0; case 26: - *z = -11; + *z = 31; + return 0; + case 28: + *z = -2; return 0; case 30: - *z = 2; + *z = 7; return 0; }