Searched refs:ucs2_len (Results 1 – 2 of 2) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | ms_funcs.c | 435 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | ms_funcs.c | 435 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()
|