Override key generation for EAP-AKA'.

EAP-AKA's ChallengeState defines generateAndPersistEapAkaKeys() for
generating and persisting keys as defined by EAP-AKA. EAP-AKA' needs to
override this behavior to derive keys as required by the EAP-AKA'
standard. This requires the use of HMAC-SHA-256 and the IKEv2 prf+
function.

Bug: 142668075
Test: added test to EApAkaPrimeChallegeStateTest.
Test: atest FrameworksIkeTests
Change-Id: I5213a133e3429eb83199db7a9d8c70de36710b06
3 files changed
tree: edbf1bcfde6b3208bdfc08b5386024f69e8facbf
  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.