Add support for AES-GCM-ESP as an IPSec algorithm
Allows native AES-GCM-ESP to be used as an IPSec transport/tunnel mode
algorithm with kernel support
Bug: 63589918
Test: IPsecService tests added, existing ones pass
Change-Id: I9f742027730f6affabb0667300f6d0d65983410c
diff --git a/server/NetdNativeService.cpp b/server/NetdNativeService.cpp
index 70ab0ad..0afecde 100644
--- a/server/NetdNativeService.cpp
+++ b/server/NetdNativeService.cpp
@@ -422,6 +422,7 @@
int32_t spi,
const std::string& authAlgo, const std::vector<uint8_t>& authKey, int32_t authTruncBits,
const std::string& cryptAlgo, const std::vector<uint8_t>& cryptKey, int32_t cryptTruncBits,
+ const std::string& aeadAlgo, const std::vector<uint8_t>& aeadKey, int32_t aeadIcvBits,
int32_t encapType,
int32_t encapLocalPort,
int32_t encapRemotePort) {
@@ -434,6 +435,7 @@
spi,
authAlgo, authKey, authTruncBits,
cryptAlgo, cryptKey, cryptTruncBits,
+ aeadAlgo, aeadKey, aeadIcvBits,
encapType, encapLocalPort, encapRemotePort));
}