Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeNormalModeCipherTest.java204 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_CBC)); in testGetIpSecAlgorithmName()
207 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_CTR)); in testGetIpSecAlgorithmName()
210 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_8)); in testGetIpSecAlgorithmName()
213 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_12)); in testGetIpSecAlgorithmName()
216 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_16)); in testGetIpSecAlgorithmName()
219 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_CHACHA20_POLY1305)); in testGetIpSecAlgorithmName()
220 assertNull(IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_3DES)); in testGetIpSecAlgorithmName()
DIkeMacIntegrityTest.java230 IkeMacIntegrity.getIpSecAlgorithmName(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96)); in testGetIpSecAlgorithmName()
233 IkeMacIntegrity.getIpSecAlgorithmName(SaProposal.INTEGRITY_ALGORITHM_AES_XCBC_96)); in testGetIpSecAlgorithmName()
236 IkeMacIntegrity.getIpSecAlgorithmName(SaProposal.INTEGRITY_ALGORITHM_AES_CMAC_96)); in testGetIpSecAlgorithmName()
239 IkeMacIntegrity.getIpSecAlgorithmName( in testGetIpSecAlgorithmName()
243 IkeMacIntegrity.getIpSecAlgorithmName( in testGetIpSecAlgorithmName()
247 IkeMacIntegrity.getIpSecAlgorithmName( in testGetIpSecAlgorithmName()
249 assertNull(IkeMacIntegrity.getIpSecAlgorithmName(SaProposal.INTEGRITY_ALGORITHM_NONE)); in testGetIpSecAlgorithmName()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacIntegrity.java183 public static String getIpSecAlgorithmName(int ikeAlgoId) { in getIpSecAlgorithmName() method in IkeMacIntegrity
204 if (getIpSecAlgorithmName(getAlgorithmId()) == null) { in buildIpSecAlgorithmWithKey()
209 getIpSecAlgorithmName(getAlgorithmId()), key, mChecksumLength * 8); in buildIpSecAlgorithmWithKey()
DIkeCipher.java219 public static String getIpSecAlgorithmName(int ikeAlgoId) { in getIpSecAlgorithmName() method in IkeCipher
236 if (getIpSecAlgorithmName(getAlgorithmId()) == null) { in buildIpSecAlgorithmWithKey()
DIkeNormalModeCipher.java134 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key); in buildIpSecAlgorithmWithKeyImpl()
DIkeCombinedModeCipher.java206 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key, mChecksumLen * 8); in buildIpSecAlgorithmWithKeyImpl()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSaProposal.java177 String ipSecAlgoName = IkeCipher.getIpSecAlgorithmName(ikeAlgoId); in getSupportedEncryptionAlgorithms()
204 String ipSecAlgoName = IkeMacIntegrity.getIpSecAlgorithmName(ikeAlgoId); in getSupportedIntegrityAlgorithms()