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. Android.bp
  3. PREUPLOAD.cfg
  6. apex/
  7. api/
  8. jarjar-rules-shared.txt
  9. src/
  10. tests/

IKEv2 Library for Android


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.