Home
last modified time | relevance | path

Searched refs:generateIv (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeNormalModeCipherTest.java94 assertEquals(AES_BLOCK_SIZE, mAesCbcCipher.generateIv().length); in testBuild()
99 assertFalse(Arrays.equals(mAesCbcCipher.generateIv(), mAesCbcCipher.generateIv())); in testGenerateRandomIv()
DIkeCombinedModeCipherTest.java83 assertEquals(AES_GCM_IV_LEN, mAesGcm16Cipher.generateIv().length); in testBuild()
88 assertFalse(Arrays.equals(mAesGcm16Cipher.generateIv(), mAesGcm16Cipher.generateIv())); in testGenerateRandomIv()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeCipher.java133 public byte[] generateIv() { in generateIv() method in IkeCipher
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java504 .generateIv(); in testEncodeAndEncryptEmptyMsg()
867 doReturn(iv).when(mMockCipher).generateIv(); in testEncodeAndEncryptFragments()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeEncryptedPayloadBody.java142 encryptCipher.generateIv(), in IkeEncryptedPayloadBody()