Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.1/support/
DKeymaster.cpp167 hidl_vec<uint8_t> sharingCheck; in computeHmac() local
178 sharingCheck = curSharingCheck; in computeHmac()
181 if (curSharingCheck != sharingCheck) in computeHmac()
183 << " Expected: " << sharingCheck // in computeHmac()
/hardware/interfaces/security/sharedsecret/aidl/vts/functional/
DSharedSecretAidlTest.cpp71 std::vector<uint8_t> sharingCheck; in computeSharedSecret() local
72 auto error = GetReturnErrorCode(sharedSecret->computeSharedSecret(params, &sharingCheck)); in computeSharedSecret()
74 result.tie() = std::tie(error, sharingCheck); in computeSharedSecret()
/hardware/interfaces/keymaster/4.0/
DIKeymasterDevice.hal321 * @return sharingCheck A 32-byte value used to verify that all IKeymasterDevice instances have
322 * computed the same shared HMAC key. The sharingCheck value is computed as follows:
324 * sharingCheck = HMAC(H, "Keymaster HMAC Verification")
331 generates (ErrorCode error, vec<uint8_t> sharingCheck);