Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DEncryptedData.java29 private final byte[] mIv; field in EncryptedData
35 mIv = iv; in EncryptedData()
43 return mIv; in getIv()
51 && Arrays.equals(this.mIv, otherEncryptedData.mIv); in equals()
56 return Objects.hash(Arrays.hashCode(mEncryptedData), Arrays.hashCode(mIv)); in hashCode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeCombinedModeCipherTest.java70 private byte[] mIv; field in IkeCombinedModeCipherTest
92 mIv = TestUtils.hexStringToByteArray(IV); in setUp()
128 mUnencryptedPaddedData, mAdditionalAuthData, mAesGcmKey, mIv); in testAesGcmEncrypt()
137 mEncryptedPaddedDataWithChecksum, mAdditionalAuthData, mAesGcmKey, mIv); in testAesGcmDecrypt()
172 mUnencryptedPaddedData, mAdditionalAuthData, encryptionKey, mIv); in testEncryptWithWrongKeyLen()
186 mEncryptedPaddedDataWithChecksum, mAdditionalAuthData, encryptionKey, mIv); in testDecrypWithWrongKey()
DIkeNormalModeCipherTest.java76 private byte[] mIv; field in IkeNormalModeCipherTest
95 mIv = TestUtils.hexStringToByteArray(IKE_AUTH_INIT_REQUEST_IV); in setUp()
127 byte[] calculatedData = mAesCbcCipher.encrypt(mUnencryptedPaddedData, mAesCbcKey, mIv); in testEncryptWithAesCbc()
134 byte[] calculatedData = mAesCbcCipher.decrypt(mEncryptedPaddedData, mAesCbcKey, mIv); in testDecryptWithAesCbc()
157 mAesCbcCipher.encrypt(mEncryptedPaddedData, encryptionKey, mIv); in testEncryptWithWrongKey()
170 mAesCbcCipher.decrypt(dataToDecrypt, mAesCbcKey, mIv); in testDecryptWithNormalCipherWithBadPad()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeEncryptedPayloadBody.java63 private final byte[] mIv; field in IkeEncryptedPayloadBody
85 mIv = new byte[expectedIvLen]; in IkeEncryptedPayloadBody()
93 inputBuffer.get(mIv).get(mEncryptedAndPaddedData).get(mIntegrityChecksum); in IkeEncryptedPayloadBody()
104 mIv); in IkeEncryptedPayloadBody()
116 mIv); in IkeEncryptedPayloadBody()
161 mIv = iv; in IkeEncryptedPayloadBody()
381 return (mIv.length + mEncryptedAndPaddedData.length + mIntegrityChecksum.length); in getLength()
387 buffer.put(mIv).put(mEncryptedAndPaddedData).put(mIntegrityChecksum); in encode()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java506 protected byte[] mIv; field in PacketUtils.EspCipher
514 this.mIv = getIv(ivLen); in EspCipher()
518 this.mIv = iv; in updateIv()
587 ivParameterSpec = new IvParameterSpec(mIv); in getCipherText()
597 ByteBuffer.allocate(mIv.length + saltLen + AES_CTR_INITIAL_COUNTER.length); in getCipherText()
599 ivParameterBuffer.put(mIv); in getCipherText()
613 final ByteBuffer cipherText = ByteBuffer.allocate(mIv.length + encrypted.length); in getCipherText()
614 cipherText.put(mIv); in getCipherText()
640 final ByteBuffer ivParameterBuffer = ByteBuffer.allocate(saltLen + mIv.length); in getCipherText()
642 ivParameterBuffer.put(mIv); in getCipherText()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeEncryptedPayloadBodyTest.java178 private byte[] mIv; field in IkeEncryptedPayloadBodyTest
214 mIv = TestUtils.hexStringToByteArray(IKE_AUTH_INIT_REQUEST_IV); in setUp()
309 mDataToPadAndEncrypt, mAesCbcCipher, mAesCbcKey, mIv, mPadding); in testEncrypt()
318 mEncryptedPaddedData, mAesCbcCipher, mAesCbcKey, mIv); in testDecrypt()
337 mIv, in testBuildAndEncodeOutboundIkeEncryptedPayloadBody()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java895 private final byte[] mIv; field in CarServiceUtils.EncryptedData
899 mIv = iv; in EncryptedData()
907 return mIv; in getIv()
916 && Arrays.equals(mIv, data.mIv); in equals()
921 return Objects.hash(Arrays.hashCode(mEncryptedData), Arrays.hashCode(mIv)); in hashCode()
/packages/modules/HealthFitness/apk/
Dcom.android.healthconnect.controller.x509.pem32 I4bWiOaQPHlSqZp/NMRuIxyLSVvtxYItbkao7MuMnpGy5O0gswH+DNBNG+mIv/Tw