Remove hash algorithm from renewal requests
(Merged from http://go/wvgerrit/165859.) Since renewal requests are signed with the MAC keys and not an asymmetric key, it does not make sense to query OEMCrypto for the asymmetric key hash algorithm nor to include the result in the renewal request. Bug: 262427121 Test: opk_ta Change-Id: Ib309b63b79e553f4754c013718df242247ab9488
This commit is contained in:
committed by
John Bruce
parent
1625b15b31
commit
340810f77f
@@ -165,8 +165,7 @@ class CryptoSession {
|
||||
// Renewal request/responses
|
||||
virtual CdmResponseType PrepareAndSignRenewalRequest(
|
||||
const std::string& message, std::string* core_message,
|
||||
std::string* signature, bool& should_specify_algorithm,
|
||||
OEMCrypto_SignatureHashAlgorithm& algorithm);
|
||||
std::string* signature);
|
||||
// V16 licenses.
|
||||
virtual CdmResponseType LoadRenewal(const std::string& signed_message,
|
||||
const std::string& core_message,
|
||||
|
||||
Reference in New Issue
Block a user