/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | IpSecManagerTest.java | 745 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testInterfaceCountersUdp4() 752 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testInterfaceCountersUdp6() 759 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testInterfaceCountersUdp4UdpEncap() 766 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testAesCbcHmacMd5Tcp4() 774 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testAesCbcHmacMd5Tcp6() 782 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testAesCbcHmacMd5Udp4() 790 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testAesCbcHmacMd5Udp6() 798 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testAesCbcHmacSha1Tcp4() 806 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testAesCbcHmacSha1Tcp6() 814 IpSecAlgorithm crypt = new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); in testAesCbcHmacSha1Udp4() [all …]
|
H A D | IpSecAlgorithmImplTest.java | 52 import android.net.IpSecAlgorithm; 100 IpSecAlgorithm ipsecEncryptAlgo, in CheckCryptoImplTest() 101 IpSecAlgorithm ipsecAuthAlgo, in CheckCryptoImplTest() 102 IpSecAlgorithm ipsecAeadAlgo, in CheckCryptoImplTest() 219 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CTR, cryptKey); in checkAesCtr() 255 final IpSecAlgorithm ipsecAuthAlgo = in testAesXcbc() 256 new IpSecAlgorithm(IpSecAlgorithm.AUTH_AES_XCBC, authKey, AES_XCBC_ICV_LEN * 8); in testAesXcbc() 269 final IpSecAlgorithm ipsecAuthAlgo = in testAesCmac() 270 new IpSecAlgorithm(IpSecAlgorithm.AUTH_AES_CMAC, authKey, AES_CMAC_ICV_LEN * 8); in testAesCmac() 283 final IpSecAlgorithm ipsecAeadAlgo = in testChaCha20Poly1305() [all …]
|
H A D | IpSecBaseTest.java | 19 import static android.net.IpSecAlgorithm.AUTH_CRYPT_AES_GCM; 20 import static android.net.IpSecAlgorithm.AUTH_HMAC_MD5; 21 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA1; 22 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA256; 23 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA384; 24 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA512; 25 import static android.net.IpSecAlgorithm.CRYPT_AES_CBC; 32 import android.net.IpSecAlgorithm; 646 .setEncryption(new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY)) in buildIpSecTransform() 648 new IpSecAlgorithm( in buildIpSecTransform() [all …]
|
H A D | IpSecManagerTunnelTest.java | 44 import android.net.IpSecAlgorithm; 589 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY)); 591 new IpSecAlgorithm( 592 IpSecAlgorithm.AUTH_HMAC_SHA256, AUTH_KEY, AUTH_KEY.length * 4)); 847 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY)); 849 new IpSecAlgorithm( 850 IpSecAlgorithm.AUTH_HMAC_SHA256, AUTH_KEY, AUTH_KEY.length * 4));
|
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/ |
H A D | IpSecAlgorithmTest.java | 80 new IpSecAlgorithm( in testNoTruncLen() 88 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 256 / 8)); in testNoTruncLen() 141 new IpSecAlgorithm( in testTruncLenValidation() 142 IpSecAlgorithm.AUTH_HMAC_SHA512, in testTruncLenValidation() 149 new IpSecAlgorithm( in testTruncLenValidation() 150 IpSecAlgorithm.AUTH_HMAC_SHA512, in testTruncLenValidation() 162 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, len / 8)); in testLenValidation() 165 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 384 / 8)); in testLenValidation() 182 IpSecAlgorithm init = in testParcelUnparcel() 183 new IpSecAlgorithm( in testParcelUnparcel() [all …]
|
H A D | IpSecConfigTest.java | 66 new IpSecAlgorithm( in getSampleConfig() 67 IpSecAlgorithm.CRYPT_AES_CBC, in getSampleConfig() 70 new IpSecAlgorithm( in getSampleConfig() 71 IpSecAlgorithm.AUTH_HMAC_MD5, in getSampleConfig() 75 new IpSecAlgorithm( in getSampleConfig() 76 IpSecAlgorithm.AUTH_CRYPT_AES_GCM, in getSampleConfig()
|
H A D | Ikev2VpnProfileTest.java | 178 IpSecAlgorithm.AUTH_CRYPT_AES_GCM, in testBuildWithAllowedAlgorithmsAead() 179 IpSecAlgorithm.AUTH_CRYPT_CHACHA20_POLY1305); in testBuildWithAllowedAlgorithmsAead() 193 IpSecAlgorithm.AUTH_HMAC_SHA512, in testBuildWithAllowedAlgorithmsNormal() 194 IpSecAlgorithm.AUTH_AES_XCBC, in testBuildWithAllowedAlgorithmsNormal() 195 IpSecAlgorithm.AUTH_AES_CMAC, in testBuildWithAllowedAlgorithmsNormal() 196 IpSecAlgorithm.CRYPT_AES_CBC, in testBuildWithAllowedAlgorithmsNormal() 197 IpSecAlgorithm.CRYPT_AES_CTR); in testBuildWithAllowedAlgorithmsNormal() 221 builder.setAllowedAlgorithms(Arrays.asList(IpSecAlgorithm.AUTH_HMAC_SHA256)); in testSetAllowedAlgorithmsInvalidList() 227 builder.setAllowedAlgorithms(Arrays.asList(IpSecAlgorithm.CRYPT_AES_CBC)); in testSetAllowedAlgorithmsInvalidList() 239 builder.setAllowedAlgorithms(Arrays.asList(IpSecAlgorithm.AUTH_HMAC_MD5)); in testSetAllowedAlgorithmsInsecureAlgorithm() [all …]
|
/aosp12/frameworks/base/core/java/android/net/ |
H A D | IpSecConfig.java | 52 private IpSecAlgorithm mEncryption; 55 private IpSecAlgorithm mAuthentication; 58 private IpSecAlgorithm mAuthenticatedEncryption; 97 public void setEncryption(IpSecAlgorithm encryption) { in setEncryption() 102 public void setAuthentication(IpSecAlgorithm authentication) { in setAuthentication() 173 public IpSecAlgorithm getEncryption() { in getEncryption() 177 public IpSecAlgorithm getAuthentication() { in getAuthentication() 181 public IpSecAlgorithm getAuthenticatedEncryption() { in getAuthenticatedEncryption() 273 (IpSecAlgorithm) in.readParcelable(IpSecAlgorithm.class.getClassLoader()); in IpSecConfig() 275 (IpSecAlgorithm) in.readParcelable(IpSecAlgorithm.class.getClassLoader()); in IpSecConfig() [all …]
|
H A D | IpSecAlgorithm.java | 44 public final class IpSecAlgorithm implements Parcelable { class 260 public IpSecAlgorithm(@NonNull @AlgorithmName String algorithm, @NonNull byte[] key) { in IpSecAlgorithm() method in IpSecAlgorithm 276 public IpSecAlgorithm( in IpSecAlgorithm() method in IpSecAlgorithm 314 public static final @android.annotation.NonNull Parcelable.Creator<IpSecAlgorithm> CREATOR = 315 new Parcelable.Creator<IpSecAlgorithm>() { 316 public IpSecAlgorithm createFromParcel(Parcel in) { 321 return new IpSecAlgorithm(name, key, truncLenBits); 324 public IpSecAlgorithm[] newArray(int size) { 325 return new IpSecAlgorithm[size]; 495 public static boolean equals(IpSecAlgorithm lhs, IpSecAlgorithm rhs) { in equals()
|
H A D | Ikev2VpnProfile.java | 19 import static android.net.IpSecAlgorithm.AUTH_AES_CMAC; 20 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC; 21 import static android.net.IpSecAlgorithm.AUTH_CRYPT_AES_GCM; 22 import static android.net.IpSecAlgorithm.AUTH_CRYPT_CHACHA20_POLY1305; 23 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA256; 24 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA384; 25 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA512; 26 import static android.net.IpSecAlgorithm.CRYPT_AES_CBC; 27 import static android.net.IpSecAlgorithm.CRYPT_AES_CTR; 224 if (algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_MD5) in validateAllowedAlgorithms() [all …]
|
H A D | IpSecTransform.java | 256 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() 271 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() 292 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption()
|
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
H A D | IkeMacIntegrityTest.java | 19 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC; 28 import android.net.IpSecAlgorithm; 159 IpSecAlgorithm ipsecAlgorithm = in testBuildIpSecAlgorithm() 162 IpSecAlgorithm expectedIpSecAlgorithm = in testBuildIpSecAlgorithm() 163 new IpSecAlgorithm(IpSecAlgorithm.AUTH_HMAC_SHA1, mHmacSha1IntegrityKey, 96); in testBuildIpSecAlgorithm() 229 IpSecAlgorithm.AUTH_HMAC_SHA1, in testGetIpSecAlgorithmName() 232 IpSecAlgorithm.AUTH_AES_XCBC, in testGetIpSecAlgorithmName() 235 IpSecAlgorithm.AUTH_AES_CMAC, in testGetIpSecAlgorithmName() 238 IpSecAlgorithm.AUTH_HMAC_SHA256, in testGetIpSecAlgorithmName() 242 IpSecAlgorithm.AUTH_HMAC_SHA384, in testGetIpSecAlgorithmName() [all …]
|
H A D | IkeNormalModeCipherTest.java | 26 import android.net.IpSecAlgorithm; 179 IpSecAlgorithm ipsecAlgorithm = mAesCbcCipher.buildIpSecAlgorithmWithKey(mAesCbcKey); in testBuildIpSecAlgorithm() 181 IpSecAlgorithm expectedIpSecAlgorithm = in testBuildIpSecAlgorithm() 182 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, mAesCbcKey); in testBuildIpSecAlgorithm() 184 assertTrue(IpSecAlgorithm.equals(expectedIpSecAlgorithm, ipsecAlgorithm)); in testBuildIpSecAlgorithm() 203 IpSecAlgorithm.CRYPT_AES_CBC, in testGetIpSecAlgorithmName() 206 IpSecAlgorithm.CRYPT_AES_CTR, in testGetIpSecAlgorithmName() 209 IpSecAlgorithm.AUTH_CRYPT_AES_GCM, in testGetIpSecAlgorithmName() 212 IpSecAlgorithm.AUTH_CRYPT_AES_GCM, in testGetIpSecAlgorithmName() 215 IpSecAlgorithm.AUTH_CRYPT_AES_GCM, in testGetIpSecAlgorithmName() [all …]
|
H A D | IkeCombinedModeCipherTest.java | 25 import android.net.IpSecAlgorithm; 195 IpSecAlgorithm ipsecAlgorithm = mAesGcm16Cipher.buildIpSecAlgorithmWithKey(mAesGcmKey); in testBuildIpSecAlgorithm() 197 IpSecAlgorithm expectedIpSecAlgorithm = in testBuildIpSecAlgorithm() 198 new IpSecAlgorithm( in testBuildIpSecAlgorithm() 199 IpSecAlgorithm.AUTH_CRYPT_AES_GCM, mAesGcmKey, AES_GCM_16_CHECKSUM_LEN); in testBuildIpSecAlgorithm() 201 assertTrue(IpSecAlgorithm.equals(expectedIpSecAlgorithm, ipsecAlgorithm)); in testBuildIpSecAlgorithm()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
H A D | IkeMacIntegrity.java | 22 import android.net.IpSecAlgorithm; 50 SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96, IpSecAlgorithm.AUTH_HMAC_SHA1); in IKE_ALGO_TO_IPSEC_ALGO.put() 52 SaProposal.INTEGRITY_ALGORITHM_AES_XCBC_96, IpSecAlgorithm.AUTH_AES_XCBC); in IKE_ALGO_TO_IPSEC_ALGO.put() 54 SaProposal.INTEGRITY_ALGORITHM_AES_CMAC_96, IpSecAlgorithm.AUTH_AES_CMAC); in IKE_ALGO_TO_IPSEC_ALGO.put() 56 SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_256_128, IpSecAlgorithm.AUTH_HMAC_SHA256); in IKE_ALGO_TO_IPSEC_ALGO.put() 58 SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_384_192, IpSecAlgorithm.AUTH_HMAC_SHA384); in IKE_ALGO_TO_IPSEC_ALGO.put() 60 SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_512_256, IpSecAlgorithm.AUTH_HMAC_SHA512); in IKE_ALGO_TO_IPSEC_ALGO.put() 196 public IpSecAlgorithm buildIpSecAlgorithmWithKey(byte[] key) { in buildIpSecAlgorithmWithKey() 208 return new IpSecAlgorithm( in buildIpSecAlgorithmWithKey()
|
H A D | IkeCipher.java | 20 import android.net.IpSecAlgorithm; 63 SaProposal.ENCRYPTION_ALGORITHM_AES_CBC, IpSecAlgorithm.CRYPT_AES_CBC); in IKE_ALGO_TO_IPSEC_ALGO.put() 65 SaProposal.ENCRYPTION_ALGORITHM_AES_CTR, IpSecAlgorithm.CRYPT_AES_CTR); in IKE_ALGO_TO_IPSEC_ALGO.put() 67 SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_8, IpSecAlgorithm.AUTH_CRYPT_AES_GCM); in IKE_ALGO_TO_IPSEC_ALGO.put() 69 SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_12, IpSecAlgorithm.AUTH_CRYPT_AES_GCM); in IKE_ALGO_TO_IPSEC_ALGO.put() 71 SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_16, IpSecAlgorithm.AUTH_CRYPT_AES_GCM); in IKE_ALGO_TO_IPSEC_ALGO.put() 74 IpSecAlgorithm.AUTH_CRYPT_CHACHA20_POLY1305); in IKE_ALGO_TO_IPSEC_ALGO.put() 223 protected abstract IpSecAlgorithm buildIpSecAlgorithmWithKeyImpl(byte[] key); in buildIpSecAlgorithmWithKeyImpl() 234 public IpSecAlgorithm buildIpSecAlgorithmWithKey(byte[] key) { in buildIpSecAlgorithmWithKey()
|
H A D | IkeNormalModeCipher.java | 19 import android.net.IpSecAlgorithm; 133 protected IpSecAlgorithm buildIpSecAlgorithmWithKeyImpl(byte[] key) { in buildIpSecAlgorithmWithKeyImpl() 134 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key); in buildIpSecAlgorithmWithKeyImpl()
|
H A D | IkeCombinedModeCipher.java | 19 import android.net.IpSecAlgorithm; 205 protected IpSecAlgorithm buildIpSecAlgorithmWithKeyImpl(byte[] key) { in buildIpSecAlgorithmWithKeyImpl() 206 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key, mChecksumLen * 8); in buildIpSecAlgorithmWithKeyImpl()
|
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
H A D | IpSecServiceTest.java | 40 import android.net.IpSecAlgorithm; 108 private static final IpSecAlgorithm AUTH_ALGO = 109 new IpSecAlgorithm(IpSecAlgorithm.AUTH_HMAC_SHA256, AUTH_KEY, AUTH_KEY.length * 4); 110 private static final IpSecAlgorithm CRYPT_ALGO = 111 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); 112 private static final IpSecAlgorithm AEAD_ALGO = 113 new IpSecAlgorithm(IpSecAlgorithm.AUTH_CRYPT_AES_GCM, AEAD_KEY, 128); 322 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {CRYPT_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsAuth() 341 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsCrypt() 360 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, CRYPT_ALGO}) { in testValidateAlgorithmsAead()
|
H A D | IpSecServiceParameterizedTest.java | 49 import android.net.IpSecAlgorithm; 198 private static final IpSecAlgorithm AUTH_ALGO = 199 new IpSecAlgorithm(IpSecAlgorithm.AUTH_HMAC_SHA256, AUTH_KEY, AUTH_KEY.length * 4); 200 private static final IpSecAlgorithm CRYPT_ALGO = 201 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, CRYPT_KEY); 202 private static final IpSecAlgorithm AEAD_ALGO = 203 new IpSecAlgorithm(IpSecAlgorithm.AUTH_CRYPT_AES_GCM, AEAD_KEY, 128); 360 IpSecAlgorithm auth = config.getAuthentication(); in verifyTransformNetdCalledForCreatingSA() 361 IpSecAlgorithm crypt = config.getEncryption(); in verifyTransformNetdCalledForCreatingSA() 362 IpSecAlgorithm authCrypt = config.getAuthenticatedEncryption(); in verifyTransformNetdCalledForCreatingSA()
|
/aosp12/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
H A D | SaProposalTest.java | 19 import static android.net.IpSecAlgorithm.AUTH_AES_CMAC; 20 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC; 21 import static android.net.IpSecAlgorithm.AUTH_CRYPT_AES_GCM; 23 import static android.net.IpSecAlgorithm.AUTH_HMAC_MD5; 24 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA1; 25 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA256; 26 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA384; 27 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA512; 28 import static android.net.IpSecAlgorithm.CRYPT_AES_CBC; 29 import static android.net.IpSecAlgorithm.CRYPT_AES_CTR; [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | VpnIkev2Utils.java | 51 import android.net.IpSecAlgorithm; 228 if (allowedAlgorithms.contains(IpSecAlgorithm.CRYPT_AES_CTR)) { in getChildSaProposals() 231 if (allowedAlgorithms.contains(IpSecAlgorithm.CRYPT_AES_CBC)) { in getChildSaProposals() 238 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA512)) { in getChildSaProposals() 241 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA384)) { in getChildSaProposals() 244 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA256)) { in getChildSaProposals() 247 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_AES_XCBC)) { in getChildSaProposals() 250 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_AES_CMAC)) { in getChildSaProposals() 267 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_CRYPT_CHACHA20_POLY1305)) { in getChildSaProposals() 271 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_CRYPT_AES_GCM)) { in getChildSaProposals()
|
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/internal/net/ |
H A D | VpnProfileTest.java | 27 import android.net.IpSecAlgorithm; 102 IpSecAlgorithm.AUTH_CRYPT_AES_GCM, in getSampleIkev2Profile() 103 IpSecAlgorithm.AUTH_CRYPT_CHACHA20_POLY1305, in getSampleIkev2Profile() 104 IpSecAlgorithm.AUTH_HMAC_SHA512, in getSampleIkev2Profile() 105 IpSecAlgorithm.CRYPT_AES_CBC)); in getSampleIkev2Profile()
|
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
H A D | ChildSaProposal.java | 23 import android.net.IpSecAlgorithm; 178 if (IpSecAlgorithm.getSupportedAlgorithms().contains(ipSecAlgoName)) { in getSupportedEncryptionAlgorithms() 205 if (IpSecAlgorithm.getSupportedAlgorithms().contains(ipSecAlgoName)) { in getSupportedIntegrityAlgorithms()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | IpSecService.java | 36 import android.net.IpSecAlgorithm; 1510 IpSecAlgorithm auth = config.getAuthentication(); in validateAlgorithms() 1511 IpSecAlgorithm crypt = config.getEncryption(); in validateAlgorithms() 1512 IpSecAlgorithm aead = config.getAuthenticatedEncryption(); in validateAlgorithms() 1661 IpSecAlgorithm auth = c.getAuthentication(); in createOrUpdateTransform() 1662 IpSecAlgorithm crypt = c.getEncryption(); in createOrUpdateTransform() 1663 IpSecAlgorithm authCrypt = c.getAuthenticatedEncryption(); in createOrUpdateTransform() 1667 cryptName = (authCrypt == null) ? IpSecAlgorithm.CRYPT_NULL : ""; in createOrUpdateTransform()
|