Home
last modified time | relevance | path

Searched refs:getKeyLength (Results 1 – 8 of 8) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacIntegrity.java123 if (getKeyLength() != keyBytes.length) { in generateChecksum()
126 + getKeyLength() in generateChecksum()
145 if (key.length != getKeyLength()) { in buildIpSecAlgorithmWithKey()
148 + getKeyLength() in buildIpSecAlgorithmWithKey()
DIkeCipher.java140 if (key.length != getKeyLength()) { in validateKeyLenOrThrow()
143 + getKeyLength() in validateKeyLenOrThrow()
DIkeNormalModeCipher.java47 if (getKeyLength() != keyBytes.length) { in doCipherAction()
50 + getKeyLength() in doCipherAction()
DIkeCombinedModeCipher.java189 public int getKeyLength() { in getKeyLength() method in IkeCombinedModeCipher
190 return super.getKeyLength() + mSaltLen; in getKeyLength()
DIkeCrypto.java47 public int getKeyLength() { in getKeyLength() method in IkeCrypto
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java296 int skDLength = prf.getKeyLength(); in makeIkeSaRecord()
301 + 2 * prf.getKeyLength(); in makeIkeSaRecord()
310 byte[] skPi = new byte[prf.getKeyLength()]; in makeIkeSaRecord()
311 byte[] skPr = new byte[prf.getKeyLength()]; in makeIkeSaRecord()
391 int encryptionKeyLength = childSaRecordConfig.encryptionAlgo.getKeyLength(); in makeChildSaRecord()
394 ? childSaRecordConfig.integrityAlgo.getKeyLength() in makeChildSaRecord()
DIkeSessionStateMachine.java2745 mIkeIntegrity == null ? 0 : mIkeIntegrity.getKeyLength(), in handleResponseIkeMessage()
2746 mIkeCipher.getKeyLength(), in handleResponseIkeMessage()
3976 newIntegrity == null ? 0 : newIntegrity.getKeyLength(), in validateAndBuildIkeSa()
3977 newCipher.getKeyLength(), in validateAndBuildIkeSa()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1432 assertEquals(KEY_LEN_IKE_PRF, ikeSaRecordConfig.prf.getKeyLength()); in disableTestCreateIkeLocalIkeInit()