Home
last modified time | relevance | path

Searched refs:verifyHmac (Results 1 – 3 of 3) sorted by relevance

/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/
DHmacKeyManagerTest.java50 assertTrue(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testGenerateAndVerifyHmac()
59 mHmacKeyManager.verifyHmac("fake salt".getBytes(), mTimestamp, mBounds, in testVerifyHmac_differentSalt()
67 assertFalse(mHmacKeyManager.verifyHmac(mSalt, 2000 /* timestamp */, mBounds, in testVerifyHmac_differentTimestamp()
76 mHmacKeyManager.verifyHmac(mSalt, mTimestamp, new Rect(10, 10, 110, 210), in testVerifyHmac_differentBounds()
84 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_differentHashAlgorithm()
92 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_differentImageHash()
98 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_differentHmac()
104 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_invalidHmac()
107 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_invalidHmac()
/packages/modules/ExtServices/java/src/android/ext/services/displayhash/
DHmacKeyManager.java58 boolean verifyHmac(byte[] salt, long timestamp, Rect bounds, in verifyHmac() method in HmacKeyManager
DDisplayHashingServiceImpl.java106 boolean verified = mHmacKeyManager.verifyHmac(salt, in onVerifyDisplayHash()