EAP-AKA should return Auth Reject for AUTN reject.

When running the EAP-AKA authentication algorithm on the UICC, the AUTN
value may be rejected by the UICC. The peer needs to return an
EAP-Response/AKA-Authentication-Reject message to the server. When this
situation occurs, TelephonyManager#getIccAuthentication will return
null, which triggers an EapSimAkaAuthenticationFailureException to be
thrown in EapSimAkaMethodStateMachine#processUiccAuthentication.

Bug: 142552679
Test: tests added in EapAkaTest and EapAkaChallengeStateTest.
Test: atest FrameworksIkeTests
Change-Id: I93b97ba11473380f882b1d3ab57ac0bdd6f4001b
5 files changed
tree: 37e355080055bd884434452f05ae071b682dc6c9
  1. src/
  2. tests/
  3. Android.bp
  4. OWNERS
  5. PREUPLOAD.cfg
  6. README.md
  7. 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.