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.java164 if (getKeyLength() != keyBytes.length) { in generateChecksum()
167 + getKeyLength() in generateChecksum()
197 if (key.length != getKeyLength()) { in buildIpSecAlgorithmWithKey()
200 + getKeyLength() in buildIpSecAlgorithmWithKey()
DIkeCipher.java198 if (key.length != getKeyLength()) { in validateKeyLenOrThrow()
201 + getKeyLength() in validateKeyLenOrThrow()
208 public int getKeyLength() { in getKeyLength() method in IkeCipher
209 return super.getKeyLength() + mSaltLen; in getKeyLength()
DIkeNormalModeCipher.java64 if (getKeyLength() != keyBytes.length) { in doCipherAction()
67 + getKeyLength() in doCipherAction()
DIkeCrypto.java50 public int getKeyLength() { in getKeyLength() method in IkeCrypto
DIkeMacPrf.java169 keyBuffer = ByteBuffer.allocate(getKeyLength()); in generateSKeySeed()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java298 int skDLength = prf.getKeyLength(); in makeIkeSaRecord()
303 + 2 * prf.getKeyLength(); in makeIkeSaRecord()
312 byte[] skPi = new byte[prf.getKeyLength()]; in makeIkeSaRecord()
313 byte[] skPr = new byte[prf.getKeyLength()]; in makeIkeSaRecord()
406 int encryptionKeyLength = childSaRecordConfig.encryptionAlgo.getKeyLength(); in makeChildSaRecord()
409 ? childSaRecordConfig.integrityAlgo.getKeyLength() in makeChildSaRecord()
DIkeSessionStateMachine.java3103 mIkeIntegrity == null ? 0 : mIkeIntegrity.getKeyLength(), in handleResponseIkeMessage()
3104 mIkeCipher.getKeyLength(), in handleResponseIkeMessage()
4522 newIntegrity == null ? 0 : newIntegrity.getKeyLength(), in validateAndBuildIkeSa()
4523 newCipher.getKeyLength(), in validateAndBuildIkeSa()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1864 assertEquals(KEY_LEN_IKE_PRF, ikeSaRecordConfig.prf.getKeyLength()); in verifyIkeSaNegotiationResult()