mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Relax HMAC computation check" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b6093dccf0
@@ -164,10 +164,10 @@ static void computeHmac(const Keymaster::KeymasterSet& keymasters,
|
||||
sharingCheck = curSharingCheck;
|
||||
firstKeymaster = false;
|
||||
}
|
||||
CHECK(curSharingCheck == sharingCheck)
|
||||
<< "HMAC computation failed for " << *keymaster //
|
||||
<< " Expected: " << sharingCheck //
|
||||
<< " got: " << curSharingCheck;
|
||||
if (curSharingCheck != sharingCheck)
|
||||
LOG(WARNING) << "HMAC computation failed for " << *keymaster //
|
||||
<< " Expected: " << sharingCheck //
|
||||
<< " got: " << curSharingCheck;
|
||||
});
|
||||
CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster
|
||||
<< " error: " << rc.description();
|
||||
|
||||
Reference in New Issue
Block a user