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.c431 size_t ucs2_len, offset; in encrypt_pw_block_with_password_hash() local
436 if (utf8_to_ucs2(password, password_len, pw_block, 512, &ucs2_len) < 0 in encrypt_pw_block_with_password_hash()
437 || ucs2_len > 256) in encrypt_pw_block_with_password_hash()
440 offset = (256 - ucs2_len) * 2; in encrypt_pw_block_with_password_hash()
442 os_memmove(pw_block + offset, pw_block, ucs2_len * 2); in encrypt_pw_block_with_password_hash()