|
@@ -326,7 +326,7 @@ static int sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1,
|
|
* attacks that attempt to determine the number of iterations required
|
|
* attacks that attempt to determine the number of iterations required
|
|
* in the loop.
|
|
* in the loop.
|
|
*/
|
|
*/
|
|
- for (counter = 1; counter < k || !found; counter++) {
|
|
+ for (counter = 1; counter <= k || !found; counter++) {
|
|
u8 pwd_seed[SHA256_MAC_LEN];
|
|
u8 pwd_seed[SHA256_MAC_LEN];
|
|
int res;
|
|
int res;
|
|
|
|
|