Age | Commit message (Collapse) | Author |
|
|
|
This commit:
- Supports building and sending IKE_INIT request for basic IKE SA
- Turns GeneralSecurityException in KE payload to unchecked exception
- Initiate IkeSocket in IkeSessionStateMachine.Initial
Bug: 122734662
Test: atest FrameworksIkeTests
Change-Id: Ic478bae430ee456ad29c4360da875af4fb7b4529
|
|
|
|
Bug: 122737859
Test: FrameworksIkeTests IkeDeletePayloadTest
Change-Id: I104208bf32ed40f396f8d442f0ca1646f2f11eba
|
|
This commit:
- Add a method for calculating SKEYSEED
- Add a method that implements prf+ function
Bug: 122734258
Test: FrameworksIkeTests SaRecordTest
Change-Id: I72048645b73727d0f005ebb7151ef179783003a9
|
|
This commit:
- Supports demultiplexing received IKE packets and re-direct them
to corresponding IkeSessionStateMachine
- Adds interface in IkeSessionStateMachine to receive IKE packet
Bug: 112043692
Test: atest FrameworksIkeTests:IkeSocketTest
Change-Id: I29ae81be7e8df35f7bb477a77754fe05a2bb2c59
|
|
Bug: 122690774
Test: FrameworksIkeTests IkeSaPayloadTest
Change-Id: I897cab93e8968af4976a6d250cb6a1a066be42c2
|
|
Create IkeSocket for sending and receiving UDP Encap packet
Bug: 112043692
Test: FrameworksIkeTests IkeSocketTest
Change-Id: I9059448863180480534a4d4e48707de26ffd2ccb
|
|
|
|
|
|
Bug: 122735723
Test: FrameworksIkeTests IkeSessionOptionsTest
Change-Id: I9904699dec9dfd83c5846fec3e278d86013f7091
|
|
This commit:
- Create IkeTrafficSelector class
- Suuport decoding IkeTrafficSelector from inbound IKE packet.
Bug: 0124528083
Test: FrameworksIkeTests IkeTrafficSelectorTest
Change-Id: I09d9684bd26831bd7012cc32fdb1fbdf5028ecfb
|
|
This commit:
- Add a construtor in IkeSkPayload for building outbound
IkeSkPayload
- Add an interface in IkeMessage for encrypt outbound message
- Move decryption-related tests from IkeSkPayloadTest to
IkeEncryptedPayloadBodyTest
Bug: 122555731
Test: FrameworksIkeTests IkeEncryptedPayloadBodyTest
Change-Id: I9f105f5ccb0bce68a4b8e0b5d7cdd58a5b39521d
|
|
This commit:
- Add NoValidProposalChosenException to represent SA
request/response validation failure
- Support building outboune SA payload from SaProposal
- Support decoding inbound Proposal to SaProposal
- Support validating inbound SA response
Bug: 122692043
Test: FrameworksIkeTests IkeSaPayloadTest SaProposalTest
Change-Id: I49b4a91d5bf5db4e4fb18f10c8c7d6b4a5134bd4
|
|
This commit:
- Validate proposed PRF
- Validate proposed integrity algorithm
- Validate proposed DH Group
- Fix wrong use of Set.toArray
- Add test for equals method
Bug: 122690774
Test: FrameworksIkeTests SaProposalTest
Change-Id: I3450af9c171a06d668d9039069ae3edcce2f1c30
|
|
|
|
|
|
This commit:
- Create ChildSessionStateMachine skeleton to support
negotiating first Child SA
- Leave TODO in IkeSaPayload to validate proposal accoding
to who is SA initiator
Bug: 122736232
Test: Test: FrameworksIkeTests ChildSessionStateMachineTest
Change-Id: I89d70fce97c42e829d5a9381e84523f11b0afd92
|
|
Bug: 122687442
Test: FrameworksIkeTests IkeAuthPskPayloadTest
Change-Id: Ib959d2ea455808858a7646f15111260a082c1be3
|
|
This commit:
- Add constructor to support calculating checksum over and
encrypting outbound IkeEncryptedPayloadBody
- Add another constructor that take iv and padding as input
for testing
Bug: 122555731
Test: FrameworksIkeTests IkeEncryptedPayloadBodyTest
Change-Id: I25c71a102ab957cd89d4b67490ea323d40de9a12
|
|
|
|
|
|
This commit:
- Create IkeTsPayload
- Fix bug in IkeMessageTest that sDecoderInstance is not reset
Bug: 124528083
Test: FrameworksIkeTests IkeTsPayloadTest
Change-Id: I4f610dae5ba63b544224bf0061eba58bd5ec5690
|
|
This commit:
- Create constructor for building outbound IkeAuthPskPayload
- Support calculating PSK signature
- Support encoding IkeAuthPskPayload
Bug: 122686851
Test: FrameworksIkeTests IkeAuthPskPayload
Change-Id: I28c8c6c3c03a339761547303d4caacfd2db31729
|
|
This commit:
- Create Builder for SaProposal
- Validate proposed encryption algorithms
- Override hashCode and equals of Transform
Bug: 122690774
Test: FrameworksIkeTests SaProposalTest
Change-Id: I7b734387955f1d0a5a7cdd64972d41b903ff4500
|
|
|
|
|
|
This commit:
- Support decoding IPv6 Identification payload
- Support constructing and encoding IPv6 Identification payload
- Override equals() and hashCode()
Bug: 122731153
Test: FrameworksIkeTests IkeIdPayloadTest
Change-Id: Ie367ea9111f1c184838d3fdd4fa852f188f525d2
|
|
This commit:
- Create IkeAuthDigitalSignPayload for payload that uses digital
signature
- Decode auth payload that uses RSA signature for IKE auth
- Decode auth payload that uses generic digital signature for
IKE auth
Bug: 122688641
Test: FrameworksIkeTests IkeAuthDigitalSignPayloadTest
HexUtilsTest
Change-Id: Ie2363ee848d33511eb3e6bb94e955d996b0d22d1
|
|
This commit:
- Support calculating SignedOctets of IKE Authentication
- Change signWithPrf to a static method
Bug: 122686145
Test: FrameworksIkeTests IkeAuthPayloadTest
Change-Id: Id8a24237fd2781bf84eb3de9c87c991b7d9f63da
|
|
This commit:
- Createt IkeEncryptedPayloadBody for decryption and encryption
payload list
- Remove IV from input parameters
Bug: 122555731
Test: FrameworksIkeTests IkeSkPayloadTest
Change-Id: I975ccaa42b3eda006fbd30b161069ef479267111
|
|
This commit:
- Create IkeSessionStateMachine skeleton that supports basic exchange
flow for IKE initial exchange, intiating and responding to Rekey
exchange and simultaneous Rekey.
- Create IkeSessionOptions that represents IKE SA configuration.
- Create IkeMessageHelper for decoding and encoding IkeMessage.
- Create SaRecord that represents a single SA.
Bug:112045147
Test: FrameworksTests IkeSessionStateMachineTest
Change-Id: If15a9900431e905efb5e3a64db788508ef622e09
|
|
|
|
This commit:
- Change IkeCertPayload to an abstract class
- Create and decode IkeCertX509CertPayload
Bug: 122677756
Test: FrameworksIkeTests IkeCertX509CertPayloadTest
Change-Id: I7c6ce21f6b36f5c9bbae6db642cdeb5b9b46fdd0
|
|
This commit:
- Create EsnTransform
- Construct EsnTransform for building outbound packet
- Construct EsnTransform from decoding inbound packet
Bug: 115994442
Test: FrameworksIkeTests IkeSaPayloadTest
Change-Id: I9063b002597b7b38f3ecb7750f7a1022c85f73de
|
|
|
|
Bug: 122686145
Test: FrameworksIkeTests IkeAuthPayloadTest
Change-Id: Ibefa2002bc2963c03d40b929302b7048dc9c52b7
|
|
This commit:
- Add constructors for building outbound ID payload
- Implement methods for encoding payload and getting payload length
- Fix wrong param description in IkeIdPayload constructor
Bug: 122677772
Test: FrameworksIkeTests IkeIdPayloadTest
Change-Id: I36d4a94a347a9d7d735df795ec995592ef323489
|
|
This commit:
- Implement DhGroupTransform
- Move constants of DhGroup from IkePayload to SaProposal
- Add NONE ID for integrity algorithm and DH group
Bug: 115994442
Test: FrameworksIkeTests IkeSaPayloadTest
Change-Id: I8c1fc535a7622b518deca46adc4db43bdd79dee0
|
|
This commit:
- Check integrity checksum of encrypted IKE packet.
- Decrypt SK Payload.
Bug: 112041656
Test: FrameworksIkeTests IkeSkPayloadTest
Change-Id: Ia3983f69324fa9df5e6e5a9dfc5c66abaffd9d12
|
|
This commit:
- Create IkeIdentification and IkeIpv4AddrIdentification
- Decode and validate ID Payload using IPv4 Address ID type
- Add two constructors in IkeException that takes an error message
and a Throwable as input respectively.
Bug: 118440179
Test: FrameworksIkeTests IkeIdPayloadTest
Change-Id: I24197ab37e9a6ef82422013b80696c4669766808
|
|
This commit:
- Create abstract class of IkeAuthPayload
- Create IkeAuthPskPayload
- Fix bug in checking unrecognized Attribute
Bug: 119223276
Test: FrameworksIkeTests
Change-Id: Ief56d72d3fd54d1e4476cb4031177a498bbf7632
|
|
This commit:
- Create SkPayload
- Add decode method in IkeMessage for decoding encrypted message
- Add check for payload length field in generic payload header
Bug: 112041656
Test: FrameworksIkeTests
Change-Id: I25658f5988c00212931f76563e4040cf14567bd2
|
|
|
|
Bug: 118440179
Test: FrameworksIkeTests
Change-Id: I095735849b3700673733dfb5d5b2a0f54c1aacc2
|
|
|
|
This commit:
- Implement IntegrityTransform
- Add constants of supported integrity transform
Bug: 115994442
Test: FrameworksIkeTests IkeSaPayloadTest
Change-Id: Ibc0e97bfe3c14a9b42e5ecb3eb84f419db379ee9
|
|
|
|
This commit:
- Implement PrfTransform
- Add constants of supported prfs
Bug: 115994442
Test: FrameworksIkeTests IkeSaPayloadTest
Change-Id: I74f741769bf9f0ffe6d133f9f5095fa3fec04106
|
|
This commit adds a method for generating NAT_DETECTION data
Bug: 117336351
Test: FrameworksIkeTests IkeNotifyPayloadTest
Change-Id: I3b70b9eeedc4049b9ff9f81a4937b7c250f9f34a
|