Define EAP-AKA specific AtRand attr and factory.

EAP-SIM and EAP-AKA have different requirements for their respective
AT_RAND attributes. EAP-SIM needs 2-3 RANDs included, while EAP-AKA
requires only one RAND. Also define the AT_CHECKCODE type value and
int-String conversion for logging purposes.

Bug: 139441101
Test: atest AtRandSimTest AtRandAkaTest
Change-Id: Idc9adde22618c6544261212f39f779d4d9ad1470
6 files changed
tree: 77ea54f30f635c7d966a3f79387913679877764e
  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.