Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/keymaster/4.1/support/
H A 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()
/aosp12/system/core/trusty/keymaster/keymint/
H A DTrustySharedSecret.cpp36 const std::vector<SharedSecretParameters>& params, std::vector<uint8_t>* sharingCheck) { in computeSharedSecret() argument
50 if (response.error == KM_ERROR_OK) *sharingCheck = kmBlob2vector(response.sharing_check); in computeSharedSecret()
/aosp12/system/keymaster/ng/
H A DAndroidSharedSecret.cpp45 vector<uint8_t>* sharingCheck) { in computeSharedSecret() argument
58 if (response.error == KM_ERROR_OK) *sharingCheck = kmBlob2vector(response.sharing_check); in computeSharedSecret()
/aosp12/hardware/interfaces/security/sharedsecret/aidl/vts/functional/
H A 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()
/aosp12/system/core/trusty/keymaster/include/trusty_keymaster/
H A DTrustySharedSecret.h34 std::vector<uint8_t>* sharingCheck) override;
/aosp12/system/keymaster/ng/include/
H A DAndroidSharedSecret.h37 vector<uint8_t>* sharingCheck) override;
/aosp12/system/keymaster/km_openssl/
H A Dsoft_keymaster_enforcement.cpp148 KeymasterBlob* sharingCheck) { in ComputeSharedHmac() argument
175 return hmacSha256(hmac_key_, data_chunks, 1, sharingCheck); in ComputeSharedHmac()
/aosp12/system/keymaster/include/keymaster/km_openssl/
H A Dsoft_keymaster_enforcement.h44 KeymasterBlob* sharingCheck) override;
/aosp12/system/keymaster/include/keymaster/
H A Dkeymaster_enforcement.h170 KeymasterBlob* sharingCheck) = 0;
/aosp12/system/security/keystore2/src/km_compat/
H A Dkm_compat.cpp919 legacyParams, [&](V4_0_ErrorCode error, const hidl_vec<uint8_t>& sharingCheck) { in computeSharedSecret() argument
921 *_aidl_return = sharingCheck; in computeSharedSecret()
/aosp12/hardware/interfaces/keymaster/4.0/
H A 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);