Searched refs:pw_block (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/crypto/ |
D | ms_funcs.c | 433 const u8 *password_hash, u8 *pw_block) in encrypt_pw_block_with_password_hash() argument 438 os_memset(pw_block, 0, PWBLOCK_LEN); in encrypt_pw_block_with_password_hash() 440 if (utf8_to_ucs2(password, password_len, pw_block, 512, &ucs2_len) < 0 in encrypt_pw_block_with_password_hash() 446 os_memmove(pw_block + offset, pw_block, ucs2_len * 2); in encrypt_pw_block_with_password_hash() 447 if (os_get_random(pw_block, offset) < 0) in encrypt_pw_block_with_password_hash() 454 pos = &pw_block[2 * 256]; in encrypt_pw_block_with_password_hash() 456 rc4_skip(password_hash, 16, 0, pw_block, PWBLOCK_LEN); in encrypt_pw_block_with_password_hash()
|
D | ms_funcs.h | 48 const u8 *password_hash, u8 *pw_block);
|