Home
last modified time | relevance | path

Searched refs:pw_block (Results 1 – 1 of 1) sorted by relevance

/external/wpa_supplicant/
Dms_funcs.c361 const u8 *password_hash, u8 *pw_block) in encrypt_pw_block_with_password_hash() argument
369 os_memset(pw_block, 0, PWBLOCK_LEN); in encrypt_pw_block_with_password_hash()
371 os_get_random(pw_block, offset); in encrypt_pw_block_with_password_hash()
373 pw_block[offset + i * 2] = password[i]; in encrypt_pw_block_with_password_hash()
378 pos = &pw_block[2 * 256]; in encrypt_pw_block_with_password_hash()
380 rc4(pw_block, PWBLOCK_LEN, password_hash, 16); in encrypt_pw_block_with_password_hash()