Fix SIM authentication failure with 2G SIM
EAP-SIM authentication with 2G SIM fails because the authentication
specified in "3GPP TS 11.11" is not supported.
To get challenge response with 2G SIM, challenge without length info
should be used, and kc and sres should be created with the response
without length info.
Bug: 32961339
Test: Unit test - atest frameworks/opt/net/wifi/tests/wifitests
Signed-off-by: Daichi Ueura <daichi.ueura@sony.com>
Change-Id: Ia789d842fff1425257d5c92e91931b5dec6d4b5e
3 files changed