Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dms_funcs.c433 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()
Dms_funcs.h48 const u8 *password_hash, u8 *pw_block);