Implement MSK generation for EAP MSCHAPv2.

AwaitingEapSuccessState will return an EapSuccess object when an
EAP-Success message is received. However, this requires generating the
MSK for the current session first. Utils are defined for generating the
MSK as defined in RFC 3079. Only 128-bit (16B) keys are generated with
this implementation.

Bug: 141483998
Test: added tests for EapMsChapV2MethodStateMachineTest.
Test: atest FrameworksIkeTests
Change-Id: Ia472cc7260bb270ab5c5069c309b8cac89b2d719
3 files changed
tree: 210a8c8759a50f04305fbe58e82906d5d3154416
  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.