Add test for MAC calculation with RESERVED_BYTES.

This CL adds an extra test for EapSimAkaMethodStateMachine#isValidMac
with non-zero bytes in the RESERVED_BYTES of several EAP-AKA attributes.
This verifies that the received EAP Packet is used for MAC calculation
(instead of a re-encoded version with the RESERVED_BYTES cleared).

Bug: 172677547
Test: atest FrameworksIkeTests
Change-Id: I48da7d68228a17b81f0232d612a92322820589e6
Merged-In: I48da7d68228a17b81f0232d612a92322820589e6
(cherry picked from commit 516a926aa998022c417db8b4be6398b32082f3d7)
1 file changed
tree: 082bf245d338e4a9b0f51e3e773ea7e0bbdab910
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. OWNERS
  8. PREUPLOAD.cfg
  9. README.md
  10. 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.