Check for duplicate EAP-SIM attributes.

When decoding EAP-SIM type data, duplicate attributes are not allowed.
Per RFC 4186 Section 6.3.1, a Client-Error packet must be returned if
duplicate attributes are detected in a received EAP-SIM packet.

Bug: 135637161
Test: atest EapSimTypeDataTest
Change-Id: I9d81d24e94716da801cdf796bb4d6681851e2bb0
4 files changed
tree: 1459c464bab020861c2608d99788b003e854085c
  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.