Lines Matching refs:pwd_value
267 u8 pwd_value[SAE_MAX_ECC_PRIME_LEN]; in sae_test_pwd_seed_ecc() local
279 prime, sae->tmp->prime_len, pwd_value, bits); in sae_test_pwd_seed_ecc()
281 buf_shift_right(pwd_value, sizeof(pwd_value), 8 - bits % 8); in sae_test_pwd_seed_ecc()
283 pwd_value, sae->tmp->prime_len); in sae_test_pwd_seed_ecc()
285 if (os_memcmp(pwd_value, prime, sae->tmp->prime_len) >= 0) in sae_test_pwd_seed_ecc()
288 x_cand = crypto_bignum_init_set(pwd_value, sae->tmp->prime_len); in sae_test_pwd_seed_ecc()
312 u8 pwd_value[SAE_MAX_PRIME_LEN]; in sae_test_pwd_seed_ffc() local
322 sae->tmp->dh->prime, sae->tmp->prime_len, pwd_value, in sae_test_pwd_seed_ffc()
325 buf_shift_right(pwd_value, sizeof(pwd_value), 8 - bits % 8); in sae_test_pwd_seed_ffc()
326 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-value", pwd_value, in sae_test_pwd_seed_ffc()
329 if (os_memcmp(pwd_value, sae->tmp->dh->prime, sae->tmp->prime_len) >= 0) in sae_test_pwd_seed_ffc()
337 a = crypto_bignum_init_set(pwd_value, sae->tmp->prime_len); in sae_test_pwd_seed_ffc()