Fix incoming request bug in Local Rekey Child

Respond to incoming requests during locally initiated Rekey
Child Procedure intead of dropping them. Rules for responding
are as followed:

- While waiting for the Rekey Create response:
  - Reply Delete request with inbound IPsec SPI
  - Reply TEMPORARY_FAILURE to all other requests
- While waiting for the Rekey Delete response:
  - Reply Delete request with empty message
  - Reply TEMPORARY_FAILURE to all other requests

Bug: 158577894
Test: FrameworksIkeTests(new tests added)
Test: CtsIkeTestCases
Change-Id: I909f67f5a462af6b4936ce2cd69a937d2ff89f79
2 files changed
tree: 3a9832191020a91657dc3af745c2093f465ee2d8
  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.