Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dms_funcs.c435 size_t ucs2_len, offset; in encrypt_pw_block_with_password_hash() local
440 if (utf8_to_ucs2(password, password_len, pw_block, 512, &ucs2_len) < 0 in encrypt_pw_block_with_password_hash()
441 || ucs2_len > 256) in encrypt_pw_block_with_password_hash()
444 offset = (256 - ucs2_len) * 2; 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()