Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacIntegrity.java134 if (getAlgorithmId() == INTEGRITY_ALGORITHM_AES_XCBC_96) { in signBytes()
204 if (getIpSecAlgorithmName(getAlgorithmId()) == null) { in buildIpSecAlgorithmWithKey()
206 "Unsupported algorithm " + getAlgorithmId() + " in IPsec"); in buildIpSecAlgorithmWithKey()
209 getIpSecAlgorithmName(getAlgorithmId()), key, mChecksumLength * 8); in buildIpSecAlgorithmWithKey()
DIkeMacPrf.java106 if (getAlgorithmId() == PSEUDORANDOM_FUNCTION_AES128_XCBC) { in signBytes()
113 } else if (getAlgorithmId() == PSEUDORANDOM_FUNCTION_AES128_CMAC) { in signBytes()
167 if (getAlgorithmId() == SaProposal.PSEUDORANDOM_FUNCTION_AES128_XCBC in generateSKeySeed()
168 || getAlgorithmId() == SaProposal.PSEUDORANDOM_FUNCTION_AES128_CMAC) { in generateSKeySeed()
DIkeCombinedModeCipher.java132 switch (getAlgorithmId()) { in getParamSpec()
143 "Unrecognized Encryption Algorithm ID: " + getAlgorithmId()); in getParamSpec()
206 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key, mChecksumLen * 8); in buildIpSecAlgorithmWithKeyImpl()
DIkeNormalModeCipher.java76 if (getAlgorithmId() == SaProposal.ENCRYPTION_ALGORITHM_AES_CTR) { in doCipherAction()
134 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key); in buildIpSecAlgorithmWithKeyImpl()
DIkeCipher.java236 if (getIpSecAlgorithmName(getAlgorithmId()) == null) { in buildIpSecAlgorithmWithKey()
238 "Unsupported algorithm " + getAlgorithmId() + " in IPsec"); in buildIpSecAlgorithmWithKey()
DIkeCrypto.java37 protected int getAlgorithmId() { in getAlgorithmId() method in IkeCrypto
DIkeMac.java76 throw new IllegalStateException("Invalid algorithm: " + getAlgorithmId()); in signBytes()