commit | 20c9cac89cbebf4b51b7c5e3974fb6a25865cf68 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Wed Nov 01 14:58:10 2017 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Dec 08 23:21:29 2017 +0900 |
tree | bff75e2b9f7f59331f0bd4f830a489a0c68e8c79 | |
parent | 9d69aa52d63e3cb958c86b1a5306f066de004930 [diff] |
Group the parameters passed in to create SAs. This change groups encryption parameters, authentication parameters, and mark match parameters into three parameters, encryption, auth_trundc, and mark. This removes a fair bit of boilerplate code and allows callers to be more explicit about what they want. Test: all xfrm tests pass on android-4.9 Change-Id: Ia8e084d49db91aff746f4ffbc2c62cfb2e399f63