Handle early Success/Failure msgs for EAP-SIM.

EapSimMethodStateMachine currently doesn't handle premature EAP-Success
and EAP-Failure messages. These messages can be received prematurely in
CreatedState and StartState. For these states, EAP-Failure messages
should translate to EapFailure responses. EAP-Success messages should be
silently discarded (RFC 4186#6.3.4).

Bug: 139024292
Test: atest EapSimCreatedStateTest EapSimStartStateTest
Change-Id: I31f05c5ea8f8a92482d0a34b311ca5716db64caa
3 files changed
tree: be30f3164a5b6212d595aa21c472efbc34ce7279
  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.