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
1 file changed
tree: 950fc359a4ed1d771c65c8801134beb4e02a3252
  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.