Searched refs:dataToAuthenticate (Results 1 – 3 of 3) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeEncryptedPayloadBody.java | 96 byte[] dataToAuthenticate = Arrays.copyOfRange(message, 0, encryptedBodyOffset); in IkeEncryptedPayloadBody() 102 dataToAuthenticate, in IkeEncryptedPayloadBody() 106 byte[] dataToAuthenticate = in IkeEncryptedPayloadBody() 110 dataToAuthenticate, integrityMac, integrityKey, mIntegrityChecksum); in IkeEncryptedPayloadBody() 246 byte[] dataToAuthenticate, in validateInboundChecksumOrThrow() argument 253 byte[] calculatedChecksum = integrityMac.generateChecksum(integrityKey, dataToAuthenticate); in validateInboundChecksumOrThrow() 326 byte[] dataToAuthenticate, in combinedModeDecrypt() argument 338 dataWithChecksumBuffer.array(), dataToAuthenticate, decryptionKey, iv); in combinedModeDecrypt()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacIntegrity.java | 163 public byte[] generateChecksum(byte[] keyBytes, byte[] dataToAuthenticate) { in generateChecksum() argument 172 byte[] signedBytes = signBytes(keyBytes, dataToAuthenticate); in generateChecksum()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeEncryptedPayloadBodyTest.java | 261 byte[] dataToAuthenticate = Arrays.copyOf(mDataToAuthenticate, mDataToAuthenticate.length); in testThrowForInvalidChecksum() 262 dataToAuthenticate[0]++; in testThrowForInvalidChecksum() 266 dataToAuthenticate, mHmacSha1IntegrityMac, mHmacSha1IntegrityKey, mChecksum); in testThrowForInvalidChecksum()
|