Searched refs:getAlgorithmId (Results 1 – 7 of 7) sorted by relevance
134 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()
106 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()
132 switch (getAlgorithmId()) { in getParamSpec()143 "Unrecognized Encryption Algorithm ID: " + getAlgorithmId()); in getParamSpec()206 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key, mChecksumLen * 8); in buildIpSecAlgorithmWithKeyImpl()
76 if (getAlgorithmId() == SaProposal.ENCRYPTION_ALGORITHM_AES_CTR) { in doCipherAction()134 return new IpSecAlgorithm(getIpSecAlgorithmName(getAlgorithmId()), key); in buildIpSecAlgorithmWithKeyImpl()
236 if (getIpSecAlgorithmName(getAlgorithmId()) == null) { in buildIpSecAlgorithmWithKey()238 "Unsupported algorithm " + getAlgorithmId() + " in IPsec"); in buildIpSecAlgorithmWithKey()
37 protected int getAlgorithmId() { in getAlgorithmId() method in IkeCrypto
76 throw new IllegalStateException("Invalid algorithm: " + getAlgorithmId()); in signBytes()