mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
sae: Fix argument type passed via va_args
The function expects a size_t argument, but on some ARM systems this was getting confused and failing.
This commit is contained in:
parent
5338904824
commit
b8dd39ded0
@ -91,7 +91,7 @@ static bool sae_pwd_seed(const uint8_t *addr1, const uint8_t *addr2,
|
|||||||
}
|
}
|
||||||
|
|
||||||
return hkdf_extract(L_CHECKSUM_SHA256, key, 12, 2, out, base, base_len,
|
return hkdf_extract(L_CHECKSUM_SHA256, key, 12, 2, out, base, base_len,
|
||||||
&counter, 1);
|
&counter, (size_t) 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct l_ecc_scalar *sae_pwd_value(const struct l_ecc_curve *curve,
|
static struct l_ecc_scalar *sae_pwd_value(const struct l_ecc_curve *curve,
|
||||||
|
Loading…
Reference in New Issue
Block a user