Lines Matching refs:pwd_value
302 u8 *pwd_value) in sae_test_pwd_seed_ecc() argument
313 prime, sae->tmp->prime_len, pwd_value, bits) < 0) in sae_test_pwd_seed_ecc()
316 buf_shift_right(pwd_value, sae->tmp->prime_len, 8 - bits % 8); in sae_test_pwd_seed_ecc()
318 pwd_value, sae->tmp->prime_len); in sae_test_pwd_seed_ecc()
320 if (const_time_memcmp(pwd_value, prime, sae->tmp->prime_len) >= 0) in sae_test_pwd_seed_ecc()
323 x_cand = crypto_bignum_init_set(pwd_value, sae->tmp->prime_len); in sae_test_pwd_seed_ecc()
342 u8 pwd_value[SAE_MAX_PRIME_LEN]; in sae_test_pwd_seed_ffc() local
353 sae->tmp->dh->prime, sae->tmp->prime_len, pwd_value, in sae_test_pwd_seed_ffc()
356 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-value", pwd_value, in sae_test_pwd_seed_ffc()
360 res = const_time_memcmp(pwd_value, sae->tmp->dh->prime, in sae_test_pwd_seed_ffc()
370 pwd_value[0] = const_time_select_u8(pwd_value_valid, pwd_value[0], 0); in sae_test_pwd_seed_ffc()
375 a = crypto_bignum_init_set(pwd_value, sae->tmp->prime_len); in sae_test_pwd_seed_ffc()