SAE: Fix a typo in a comment
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
692bbd25b4
commit
f2dbaa8ace
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ static int sae_test_pwd_seed_ecc(struct sae_data *sae, const u8 *pwd_seed,
|
||||||
* being smaller than prime. */
|
* being smaller than prime. */
|
||||||
in_range = const_time_fill_msb((unsigned int) cmp_prime);
|
in_range = const_time_fill_msb((unsigned int) cmp_prime);
|
||||||
/* The algorithm description would skip the next steps if
|
/* The algorithm description would skip the next steps if
|
||||||
* cmp_prime >= 0 (reutnr 0 here), but go through them regardless to
|
* cmp_prime >= 0 (return 0 here), but go through them regardless to
|
||||||
* minimize externally observable differences in behavior. */
|
* minimize externally observable differences in behavior. */
|
||||||
|
|
||||||
x_cand = crypto_bignum_init_set(pwd_value, sae->tmp->prime_len);
|
x_cand = crypto_bignum_init_set(pwd_value, sae->tmp->prime_len);
|
||||||
|
|
Loading…
Reference in a new issue