[DO NOT MERGE] Revert "Restructed reference root of trust (2/3 DRM Cert)"
This reverts commit f6f5099604.
Reason for revert: Feature missed deadline
Bug: 135283522
Change-Id: Ic86930ee3444c5a6aa1d78ae3a12a9030c29ef92
This commit is contained in:
@@ -993,6 +993,7 @@ bool RsaPrivateKey::InitFromBuffer(const uint8_t* buffer, size_t length) {
|
||||
}
|
||||
// Step 3: Verify field width.
|
||||
const int bits = RSA_bits(key.get());
|
||||
LOGD("Loaded RSA private key size: bits = %d", bits);
|
||||
field_size_ = RealBitSizeToFieldSize(bits);
|
||||
if (field_size_ == kRsaFieldUnknown) {
|
||||
LOGE("Unsupported RSA key size: bits = %d", bits);
|
||||
|
||||
Reference in New Issue
Block a user