Implement Parity-Bit setter.
MSCHAPv2 requires the DES encryption algorithm, which specifies 7B
keys. However, the key values need to be formatted with parity bits, so
the key length is actually 8B. A utility function is needed for
converting a given byte[] to include parity bits.
Bug: 140511182
Test: added ParityBitUtilTest.
Test: atest FrameworksIkeTests
Change-Id: I66457b5f0c5350b1399d5119cd69f83ac8d76b4e
2 files changed
tree: 1c91590d752cd49cdc941418a6606814e0308034
- src/
- tests/
- Android.bp
- OWNERS
- PREUPLOAD.cfg
- README.md
- 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.