Home
last modified time | relevance | path

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

/packages/modules/ExtServices/java/src/android/ext/services/displayhash/
DHmacKeyManager.java41 byte[] imageHash) { in generateHmac() argument
48 hashAlgorithm, imageHash); in generateHmac()
59 int hashAlgorithm, byte[] imageHash, byte[] hmac) { in verifyHmac() argument
65 imageHash); in verifyHmac()
75 VerificationObject(long timestamp, Rect bounds, int hashAlgorithm, byte[] imageHash) { in VerificationObject() argument
79 mImageHash = imageHash; in VerificationObject()
DDisplayHashingServiceImpl.java85 byte[] imageHash = mImageHashManager.generateHash(buffer, hashAlgorithm); in onGenerateDisplayHash()
86 if (imageHash == null) { in onGenerateDisplayHash()
93 imageHash); in onGenerateDisplayHash()
95 new DisplayHash(timestamp, bounds, hashAlgorithm, imageHash, hmac)); in onGenerateDisplayHash()
/packages/modules/ExtServices/jni/
Dandroid_ext_services_displayhash_ImageHashManager.cpp87 std::array<uint8_t, 8> imageHash; in nativeGenerateHash() local
88 status = ImageHashManager::generateHash(hashAlgorithm, buf, bufferDesc, &imageHash); in nativeGenerateHash()
99 memcpy(bytes, imageHash.data(), 8); in nativeGenerateHash()