Home
last modified time | relevance | path

Searched refs:AUTH_AES_XCBC (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacIntegrityTest.java19 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC;
213 if (IpSecAlgorithm.getSupportedAlgorithms().contains(AUTH_AES_XCBC)) { in testBuildIpSecAlgorithmFromAuthAes128XCbcMac()
215 assertEquals(AUTH_AES_XCBC, algo.getName()); in testBuildIpSecAlgorithmFromAuthAes128XCbcMac()
232 IpSecAlgorithm.AUTH_AES_XCBC, in testGetIpSecAlgorithmName()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTest.java20 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC;
723 algoToRequiredMinSdk.put(AUTH_AES_XCBC, Build.VERSION_CODES.R + 1); in testGetSupportedAlgorithms()
979 AUTH_AES_XCBC, getKeyBytes(AES_XCBC_KEY_LEN), AES_XCBC_ICV_LEN * 8); in buildAuthAesXcbc()
989 assumeTrue(hasIpSecAlgorithm(AUTH_AES_XCBC)); in testAesCbcAesXCbcTcp4()
999 assumeTrue(hasIpSecAlgorithm(AUTH_AES_XCBC)); in testAesCbcAesXCbcTcp6()
1009 assumeTrue(hasIpSecAlgorithm(AUTH_AES_XCBC)); in testAesCbcAesXCbcUdp4()
1019 assumeTrue(hasIpSecAlgorithm(AUTH_AES_XCBC)); in testAesCbcAesXCbcUdp6()
1306 assumeTrue(hasIpSecAlgorithm(AUTH_AES_XCBC)); in testAesCbcAesXCbcTcp4UdpEncap()
1309 final IpSecAlgorithm auth = new IpSecAlgorithm(AUTH_AES_XCBC, getKey(128), 96); in testAesCbcAesXCbcTcp4UdpEncap()
1316 assumeTrue(hasIpSecAlgorithm(AUTH_AES_XCBC)); in testAesCbcAesXCbcUdp4UdpEncap()
[all …]
DIpSecAlgorithmImplTest.java20 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC;
252 assumeTrue(hasIpSecAlgorithm(AUTH_AES_XCBC)); in testAesXcbc()
256 new IpSecAlgorithm(IpSecAlgorithm.AUTH_AES_XCBC, authKey, AES_XCBC_ICV_LEN * 8); in testAesXcbc()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacIntegrity.java52 SaProposal.INTEGRITY_ALGORITHM_AES_XCBC_96, IpSecAlgorithm.AUTH_AES_XCBC); in IKE_ALGO_TO_IPSEC_ALGO.put() argument
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DSaProposalTest.java20 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC;
418 integrityAlgos.put(INTEGRITY_ALGORITHM_AES_XCBC_96, new CryptoInfo(R, AUTH_AES_XCBC)); in getAllIntegrityAlgos()
/packages/modules/Connectivity/tests/unit/java/android/net/
DIpSecAlgorithmTest.java133 checkAuthKeyAndTruncLenValidation(IpSecAlgorithm.AUTH_AES_XCBC, 128, 96); in testValidationForAlgosAddedInS()
DIkev2VpnProfileTest.java194 IpSecAlgorithm.AUTH_AES_XCBC, in testBuildWithAllowedAlgorithmsNormal()