Searched refs:generateChecksum (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacIntegrityTest.java | 111 mHmacSha1IntegrityMac.generateChecksum(mHmacSha1IntegrityKey, mDataToAuthenticate); in testGenerateChecksum() 123 mAesCmac96IntgerityMac.generateChecksum( in testGenerateChecksumAuthAesCmac96() 138 mHmacSha1IntegrityMac.generateChecksum(integrityKey, mDataToAuthenticate); in testGenerateChecksumWithDifferentKey() 150 mHmacSha1IntegrityMac.generateChecksum(integrityKey, mDataToAuthenticate); in testGenerateChecksumWithInvalidKey()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeEncryptedPayloadBody.java | 240 return integrityMac.generateChecksum(integrityKey, authenticatedSectionBuffer.array()); in generateOutboundChecksum() 253 byte[] calculatedChecksum = integrityMac.generateChecksum(integrityKey, dataToAuthenticate); in validateInboundChecksumOrThrow()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeMessageTest.java | 244 doReturn(expectedChecksum).when(mMockIntegrity).generateChecksum(any(), any()); in setUp() 416 doReturn(new byte[0]).when(mMockIntegrity).generateChecksum(any(), any()); in testDecodeEncryptedMessageWithWrongChecksum() 512 doReturn(checkSum).when(mMockIntegrity).generateChecksum(any(), any()); in testEncodeAndEncryptEmptyMsg()
|
D | IkeSkfPayloadTest.java | 93 doReturn(expectedChecksum).when(mSpyHmacSha256IntegrityMac).generateChecksum(any(), any()); in setUp()
|
/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() method in IkeMacIntegrity
|