Correct data formatting for ICC Challenges in EAP.
TelephonyManager#getIccAuthentication requires specific formatting for
data being authenticated. For EAP-SIM authentication, the data must be
in the format [length][rand] before Base64 encoding. Additionally, the
USIM, not SIM, app type must be targeted.
Bug: 138860500
Test: atest EapSimTest EapSimChallengeStateTest
Change-Id: I7a2e269d45b91ebd6b6f83478f44077b76c17cc0
3 files changed
tree: 7e1a96a7d7c1c2d20adaf45dd95bdcc7fcf3f3ac
- src/
- tests/
- Android.bp
- OWNERS
- PREUPLOAD.cfg
- README.md
- TEST_MAPPING
README.md
IKEv2 Library for Android
Introduction
This IKEv2 library is an in-process client library implementing the IKEv2 protocol as well as extensions necessary for the support of IWLAN. It is designed to work in a non-privileged fashion on top of the Android IPsec API surface.