]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Verify NtPasswordHash with different UTF-8 cases
authorJouni Malinen <j@w1.fi>
Sat, 15 Feb 2014 10:08:50 +0000 (12:08 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 15 Feb 2014 10:08:50 +0000 (12:08 +0200)
commiteac674402ff6d4b6de33495c94a597634abdd11e
treedb0b457c80a531d100a452178cb3f81c60939b97
parent22dd2d7a987325faa089e65914c1602cad85f747
tests: Verify NtPasswordHash with different UTF-8 cases

This adds a password that uses one, two, and three octet encoding
for UTF-8 characters. The value is tested against a pre-configured
hash to verify that utf8_to_ucs2() function works correctly.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/auth_serv/eap_user.conf
tests/hwsim/test_ap_eap.py