Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6093dcc authored by Janis Danisevskis's avatar Janis Danisevskis Committed by Android (Google) Code Review
Browse files

Merge "Relax HMAC computation check" into pi-dev

parents f053b3de a1c4e0ec
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -164,8 +164,8 @@ static void computeHmac(const Keymaster::KeymasterSet& keymasters,
                    sharingCheck = curSharingCheck;
                    firstKeymaster = false;
                }
                CHECK(curSharingCheck == sharingCheck)
                    << "HMAC computation failed for " << *keymaster  //
                if (curSharingCheck != sharingCheck)
                    LOG(WARNING) << "HMAC computation failed for " << *keymaster  //
                                 << " Expected: " << sharingCheck                 //
                                 << " got: " << curSharingCheck;
            });