Remove keybox from OEMCrypto ref
Merge from Widevine repo of http://go/wvgerrit/56526 This CL removes the test keybox from OEMCrypto reference code. Test: unit tests Bug: 76393338 split mock into ref and testbed Change-Id: I4bf0eb777c6851191d0ac9ccf8e2b42c55c8f6b9
This commit is contained in:
@@ -98,8 +98,7 @@ OldUsageTable::OldUsageTable(CryptoEngine *ce) {
|
||||
|
||||
// This should be encrypted and signed with a device specific key.
|
||||
// For the reference implementation, I'm just going to use the keybox key.
|
||||
const bool override_to_real = true;
|
||||
const std::vector<uint8_t> &key = ce_->DeviceRootKey(override_to_real);
|
||||
const std::vector<uint8_t> &key = ce_->DeviceRootKey();
|
||||
|
||||
uint8_t computed_signature[SHA256_DIGEST_LENGTH];
|
||||
unsigned int sig_length = sizeof(computed_signature);
|
||||
|
||||
Reference in New Issue
Block a user