SAE: Fix order_len for FFC groups
The KCK, PMK, and PMKID derivation fix broke SAE key derivation for all
FFC groups. Fix that by setting sae->tmp->order_len for FFC groups (it
was only set for ECC groups).
Fixes: ac734a342e
("SAE: Fix KCK, PMK, and PMKID derivation for groups 22, 23, 24")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
d22f090245
commit
7122a02fa5
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ int sae_set_group(struct sae_data *sae, int group)
|
|||
}
|
||||
tmp->prime = tmp->prime_buf;
|
||||
|
||||
tmp->order_len = tmp->dh->order_len;
|
||||
tmp->order_buf = crypto_bignum_init_set(tmp->dh->order,
|
||||
tmp->dh->order_len);
|
||||
if (tmp->order_buf == NULL) {
|
||||
|
|
Loading…
Reference in a new issue